mirror of
https://github.com/apache/nuttx.git
synced 2026-09-15 07:01:05 +00:00
Implement imgdata_ops alloc/free callbacks so the V4L2 framework can use MMAP mode to allocate frame buffers with proper GDMA alignment. This lets applications avoid hardcoding platform- specific alignment values. - Add esp32s3_cam_alloc() using kmm_memalign with the alignment derived from the GDMA external memory block size setting. - Add esp32s3_cam_free() wrapper around kmm_free. - Introduce ESP32S3_CAM_EXT_MEMBLK / ESP32S3_CAM_DMA_ALIGN macros so the block size enum and byte alignment are defined in one place and stay in sync automatically. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| dummy | ||
| hc | ||
| mips | ||
| misoc | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| CMakeLists.txt | ||
| Kconfig | ||