mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
v4l2codecs: Update videodev2.h with V4L2_FMTDESC_FLAG_ENUM_ALL flag
Add V4L2_FMTDESC_FLAG_ENUM_ALL flag to support discovering all possible pixel formats. Add V4L2_FMT_FLAG_META_LINE_BASED to not create a hole in flag definition. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7686>
This commit is contained in:
parent
45b01f9456
commit
3a52cbcc67
1 changed files with 4 additions and 0 deletions
|
@ -842,6 +842,10 @@ struct v4l2_fmtdesc {
|
|||
#define V4L2_FMT_FLAG_CSC_YCBCR_ENC 0x0080
|
||||
#define V4L2_FMT_FLAG_CSC_HSV_ENC V4L2_FMT_FLAG_CSC_YCBCR_ENC
|
||||
#define V4L2_FMT_FLAG_CSC_QUANTIZATION 0x0100
|
||||
#define V4L2_FMT_FLAG_META_LINE_BASED 0x0200
|
||||
|
||||
/* Format description flag, to be ORed with the index */
|
||||
#define V4L2_FMTDESC_FLAG_ENUM_ALL 0x80000000
|
||||
|
||||
/* Frame Size and frame rate enumeration */
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue