video: Move video_format_s from video.h to v4l2_cap.c

since it is only used in v4l2_cap.c.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2024-04-13 01:11:24 +08:00 committed by Alan Carvalho de Assis
parent f41f0324a5
commit 81c8f902b6
2 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;