[FFmpeg-devel] About xvmc_acceleration

Reimar Döffinger Reimar.Doeffinger
Fri Feb 13 15:10:19 CET 2009

On Fri, Feb 13, 2009 at 02:27:25PM +0100, Gwenole Beauchesne wrote:
> And, if possible, I would like to avoid using pix_fmt that have a mixture 
> of CODEC and PIX_FMT in the name. i.e. IMHO, pix_fmt is really not a good 
> place to hold anything that is not actually a pixel format specification.
> It seems we all forgot that VDPAU_MPEG2 et al. are not pixel formats in the 
> first place. ;-) But of course, trying to fix that would complicate 
> matters.

AVFrame should be self-contained, i.e. contain all the information to
interpret it. If you remove the codec from the PIX_FMT at least with the
current struct vdpau_render_state that is no longer the case.

More information about the ffmpeg-devel mailing list