nuttx-apps/examples/camera
wangjianyu3 52b36deb13 examples/camera: use MMAP with USERPTR fallback and fix NX stride
Use MMAP buffer allocation by default so the driver can manage
DMA-capable memory with proper alignment and cache attributes.
Fall back to USERPTR if the driver does not support MMAP.

Also fix NX framebuffer stride calculation to use the actual
display width instead of hardcoded values.

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-09 10:34:06 -03:00
..
camera_bkgd.c examples/camera: use MMAP with USERPTR fallback and fix NX stride 2026-04-09 10:34:06 -03:00
camera_bkgd.h examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
camera_fileutil.c examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
camera_fileutil.h examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
camera_main.c examples/camera: use MMAP with USERPTR fallback and fix NX stride 2026-04-09 10:34:06 -03:00
CMakeLists.txt examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Kconfig examples: Add depends on 2025-01-03 21:28:20 +08:00
Make.defs examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile examples: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00