public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Sebastien LEDUC <sebastien.leduc@st.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: V4L2 encoder APIs
Date: Wed, 13 Jan 2016 10:48:41 -0500	[thread overview]
Message-ID: <1452700121.3605.18.camel@collabora.com> (raw)
In-Reply-To: <DF597D17D2F66F40A76F27D4E5D6E1A48B0F53E0@SAFEX1MAIL1.st.com>

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

Le mercredi 13 janvier 2016 à 16:04 +0100, Sebastien LEDUC a écrit :
> Hi all
> I have seen on the linuxTV web site that there were some on-going
> discussions related to the Codec API.
> 
> In our SoCs, it is the HW encoder that is outputting both the slice
> data and the headers/metadata, but it does it using separate buffers.
> 
> So we are looking at how to expose that using V4L2 APIs.
> 
> We were thinking that we could use the MPLANE apis to achieve that,
> where one plane would contain  the header/metadata and another one
> for the slice data.
> 
> Any opinion on this ? 

Discussion I had regarding this kind of integration, whether it was
about non-parsing decoder or slice encoder, is that two planes shall be
used (mplane API will allow seperate allocation of those planes). About
slice encoder, a lot of specification work is needed. I believe the
hardest part and what no one could agree on, is the data structure
standard that would be used to represent the required metadata and
headers. In the end, libv4l should probably have some new feature to
transform slice encoded data into byte-stream so existing software can
use those encoder without porting.

cheers,
Nicolas

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2016-01-13 15:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-13 15:04 V4L2 encoder APIs Sebastien LEDUC
2016-01-13 15:48 ` Nicolas Dufresne [this message]
2016-01-13 16:46   ` Sebastien LEDUC
2016-01-13 19:51     ` Nicolas Dufresne
2016-01-13 21:09 ` Guennadi Liakhovetski
2016-01-15 17:33   ` Sebastien LEDUC

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=1452700121.3605.18.camel@collabora.com \
    --to=nicolas.dufresne@collabora.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sebastien.leduc@st.com \
    /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