From: Hugues Fruchet <hugues.fruchet@st.com>
To: <linux-media@vger.kernel.org>, Hans Verkuil <hverkuil@xs4all.nl>
Cc: <kernel@stlinux.com>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
Hugues Fruchet <hugues.fruchet@st.com>,
Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Subject: [PATCH v1 0/3] Add a libv4l plugin for video bitstream parsing
Date: Tue, 7 Feb 2017 15:06:24 +0100 [thread overview]
Message-ID: <1486476387-8069-1-git-send-email-hugues.fruchet@st.com> (raw)
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
next reply other threads:[~2017-02-07 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-07 14:06 Hugues Fruchet [this message]
2017-02-07 14:06 ` [PATCH v1 1/3] v4l-utils: sync with kernel (parsed MPEG-2 support) Hugues Fruchet
2017-02-07 14:06 ` [PATCH v1 2/3] add libv4l-codecparsers plugin for video bitstream parsing Hugues Fruchet
2017-02-07 14:06 ` [PATCH v1 3/3] libv4l-codecparsers: add GStreamer mpeg2 parser Hugues Fruchet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486476387-8069-1-git-send-email-hugues.fruchet@st.com \
--to=hugues.fruchet@st.com \
--cc=benjamin.gaignard@linaro.org \
--cc=hverkuil@xs4all.nl \
--cc=jean-christophe.trotin@st.com \
--cc=kernel@stlinux.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).