From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx07-00178001.pphosted.com ([62.209.51.94]:32074 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754124AbdBGOGo (ORCPT ); Tue, 7 Feb 2017 09:06:44 -0500 From: Hugues Fruchet To: , Hans Verkuil CC: , Benjamin Gaignard , Hugues Fruchet , Jean-Christophe Trotin Subject: [PATCH v1 0/3] Add a libv4l plugin for video bitstream parsing Date: Tue, 7 Feb 2017 15:06:24 +0100 Message-ID: <1486476387-8069-1-git-send-email-hugues.fruchet@st.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-media-owner@vger.kernel.org List-ID: 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