Stateless video decoders require explicit codec specific metadata derived from video bitstream parsing. This plugin aims to silently convert the user provided video bitstream to a parsed video bitstream, ie the video bitstream itself + additional parsing metadata which are given to the driver through the V4L2 extended control framework. This plugin can support several codec dependent parser backends, enabling of the right parser is done by intercepting the pixel format information negotiated between user and driver (enum_fmt/try_fmt/get_fmt/s_fmt). This patchset provides a MPEG-2 parser backend using GStreamer codecparsers library. It has been tested with STMicroelectronics st-delta kernel driver. Hugues Fruchet (3): v4l-utils: sync with kernel (parsed MPEG-2 support) add libv4l-codecparsers plugin for video bitstream parsing libv4l-codecparsers: add GStreamer mpeg2 parser configure.ac | 23 ++ include/linux/v4l2-controls.h | 86 ++++ include/linux/videodev2.h | 8 + lib/Makefile.am | 3 +- lib/libv4l-codecparsers/Makefile.am | 21 + lib/libv4l-codecparsers/libv4l-codecparsers.pc.in | 12 + lib/libv4l-codecparsers/libv4l-cparsers-mpeg2.c | 375 +++++++++++++++++ lib/libv4l-codecparsers/libv4l-cparsers.c | 465 ++++++++++++++++++++++ lib/libv4l-codecparsers/libv4l-cparsers.h | 101 +++++ 9 files changed, 1093 insertions(+), 1 deletion(-) create mode 100644 lib/libv4l-codecparsers/Makefile.am create mode 100644 lib/libv4l-codecparsers/libv4l-codecparsers.pc.in create mode 100644 lib/libv4l-codecparsers/libv4l-cparsers-mpeg2.c create mode 100644 lib/libv4l-codecparsers/libv4l-cparsers.c create mode 100644 lib/libv4l-codecparsers/libv4l-cparsers.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html