[FFmpeg-devel] [PATCH] H264 DXVA2 implementation

elupus elupus
Tue Jan 19 03:55:56 CET 2010


A feature enhancement if i may. The likely consumer of the dxva2 output is
the dxva2 processor (even if you didn't use that in vlc).

It would be nice if the surface that is output, also had a accompanying
DXVA2_VideoDesc structure filled in from ffmpeg's flags or a helper
function that fills such a structure.

As you can see on lines 1731 -> 1802 of the xbmc diff
http://xbmc.pastebin.com/d5d07d563, it ends up quite alot of code just to
remap the ffmpeg flags into dxva2 counterparts, and this would probably be
duplicated in any player wanting ot use it.

Thinking some more about it, a helper function would probably make most
sence since, it would be outputing redundant info otherwise.


More information about the ffmpeg-devel mailing list