[FFmpeg-devel] [PATCH] Port VDPAU to AVHWAccel infrastructure

Michael Niedermayer michaelni
Sat Jan 23 19:44:26 CET 2010

On Sat, Jan 23, 2010 at 05:37:00PM +0000, Joakim Plate wrote:
> > Before that is done: is this new pixfmt scheme actually used anywhere
> > and proven to work?
> > Because I only know the MPlayer patch and that uses the codec id to
> > generate the "old" scheme.
> > If we get rid of codec-specific pixfmts just so that every single
> > application actually using them has to add their own hacks to get back
> > to the old API again that would just be really idiotic.
> > 
> I've started using it for dxva, and it does seem to work there. One rather 
> annoying but thou..
> If ffmpeg is compiled without dxva/vdpau support. get_format will currently 
> still ask for the dxva/vdpau pixformat's, fooling the app that those can be 
> used.
> Fixing it is not entirely straight forward as for example vaapi supports 
> multiple codecs, which can be disabled separate. And currently all of those 
> formats use a single list for which pix_fmt's the have 
> (ff_hwaccel_pixfmt_list_420). 

> So one would have to split that list into separate for each codec to be able 
> to ifdef out what has been enabled.

yes, patch welcome

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- 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/20100123/fc53e726/attachment.pgp>

More information about the ffmpeg-devel mailing list