History

media: videodev2.h: add V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM

Add an enum_fmt format flag to specifically tag coded formats where full bytestream parsing is supported by the device. Some stateful decoders are capable of fully parsing a bytestream, but others require that userspace pre-parses the bytestream into frames or fields (see the corresponding pixelformat descriptions for details). If this flag is set, then this pre-parsing step is not required (but still possible, of course).

Hans Verkuil committed 7 years ago

Commit 2b770be1 parent 76032793 files · +12 −2Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/videodev2.h+3−2
@@ -774,8 +774,9 @@ struct v4l2_fmtdesc { · 773 unmodified lines
774774 __u32 reserved[4];
775775 };
776776
777−#define V4L2_FMT_FLAG_COMPRESSED 0x0001
778−#define V4L2_FMT_FLAG_EMULATED 0x0002
777+#define V4L2_FMT_FLAG_COMPRESSED 0x0001
778+#define V4L2_FMT_FLAG_EMULATED 0x0002
779+#define V4L2_FMT_FLAG_CONTINUOUS_BYTESTREAM 0x0004
779780
780781 /* Frame Size and frame rate enumeration */
781782 /*