[FFmpeg-devel] [RFC] Pixel format descriptors and hw-accelerated pixel formats

Michael Niedermayer michaelni
Thu Nov 5 23:36:12 CET 2009


On Thu, Nov 05, 2009 at 12:13:00AM +0100, Stefano Sabatini wrote:
> On date Monday 2009-10-26 21:29:55 +0100, Stefano Sabatini encoded:
> > On date Sunday 2009-10-25 19:18:49 +0100, Michael Niedermayer encoded:
> > > On Sun, Oct 25, 2009 at 06:41:42PM +0100, Stefano Sabatini wrote:
> > [...]
> > > > So my question is:
> > > > 1) does it makes sense to fill the pixdesc plane, step, chroma_w/h,
> > > > and components of an AVPixFmtDescriptor of an HW accelerated pixfmt?
> > > 
> > > i guess it doesnt hurt to fill in what is semantically meaningfull.
> > 
> > Now I'm trying to wrap my head around all this HW acceleration stuff,
> > if someone wants in the meaningwhile gives some advice / tips I'll be
> > grateful and it would speed-up things.
> > 
> > > > I see in imgconvert the x/y chroma are used at least for VAAPI
> > > > formats.
> 
> x/y chroma values (used for both VDPAU and VAAPI pixel formats) are
> currently never used, and there is the possibility (see Gwenole patch)
> that they will be dropped in the future, also I have not so many great
> ideas about how the components should be filled for these formats.
> 
> So my idea is to commit this patch, which completes the
> av_pix_fmt_descriptors list, thus enabling their use in applications.
> 
> The test program may be eventually committed in another patch.
> 
> [...]
> 
> Regards.
> -- 
> FFmpeg = Foolish & Forgiving Moronic Puritan Extravagant Guide

>  pixdesc.c |   86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 86 insertions(+)
> e88a9eb41d57c70793533cf35d5c86762be0728c  add-hw-accel-pixdesc.patch

patch should be ok


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091105/21def32d/attachment.pgp>



More information about the ffmpeg-devel mailing list