nuttx-apps/examples/uvc_cam
wangjianyu3 073df9d1de examples/uvc_cam: add UVC camera streaming app
Usage: uvc_cam [nframes] [video_dev] [uvc_dev]

V4L2 capture -> write UVC gadget device.
Uses boardctl to initialize/deinitialize UVC gadget.
Queries sensor pixel format, resolution and frame rate via V4L2.
Uses poll() to wait for USB host streaming state.
Supports optional device path arguments (default /dev/video0, /dev/uvc0).
Supports configurable frame count (0=infinite).

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-03-30 14:52:06 +08:00
..
CMakeLists.txt examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00
Kconfig examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00
Make.defs examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00
Makefile examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00
uvc_cam_main.c examples/uvc_cam: add UVC camera streaming app 2026-03-30 14:52:06 +08:00