[FFmpeg-devel] [PATCH] Add VDA support to ffmpeg

Hendrik Leppkes h.leppkes at gmail.com
Thu Jul 19 07:47:51 CEST 2012

On Thu, Jul 19, 2012 at 1:08 AM, Xunzhen Quan <quanxunzhen at gmail.com> wrote:

> I think that HWAccels are just used to do some complex mathematical
> computing acceleration, but VDA is an all-in-one hardware acceleration
> api, which supply only four functions: create decoder, destroy decoder,
> decode and flush. So I think that it should be wrapped as a Decoder
> rather than a HWAccel. And if you think it makes code bload, I suggest
> to just remove the corresponding HWAccel sinceno one seems to be
> using it.
I'm sorry, but this is just totally wrong.
First of all, the HWAccels are working just fine. I know first-hand that
the DXVA and VAAPI HWAccels work perfectly for decoding H264 (and other
codecs), and i've also been told that the VDA HWAccel does also work fine.
All of these you can see in use in for example VLC (including VDA,
according to j-b). They are also not doing "complex mathematical
computing", but high-level bitstream decoding. The codec feeds it full
frames, and not only some math tasks to do.

If mplayer does not support using the HWAccel infrastructure, thats
something you should address with the mplayer developers. Adding a codec
wrapper just to accommodate players which do not care to implement proper
HWAccel support is just pure bloat.

More information about the ffmpeg-devel mailing list