diff --git a/drivers/video/v4l2_cap.c b/drivers/video/v4l2_cap.c index 0c62684274..2e24d0ecaf 100644 --- a/drivers/video/v4l2_cap.c +++ b/drivers/video/v4l2_cap.c @@ -74,6 +74,15 @@ enum capture_waitend_cause_e WAITEND_CAUSE_STILLSTOP = 2, }; +struct video_format_s +{ + uint16_t width; + uint16_t height; + uint32_t pixelformat; +}; + +typedef struct video_format_s video_format_t; + struct capture_wait_capture_s { sem_t dqbuf_wait_flg; diff --git a/include/nuttx/video/video.h b/include/nuttx/video/video.h index 5619f714ad..44aa821fdc 100644 --- a/include/nuttx/video/video.h +++ b/include/nuttx/video/video.h @@ -60,15 +60,6 @@ extern "C" * Public Types *****************************************************************************/ -struct video_format_s -{ - uint16_t width; - uint16_t height; - uint32_t pixelformat; -}; - -typedef struct video_format_s video_format_t; - struct v4l2_s { FAR const struct v4l2_ops_s *vops;