[FFmpeg-devel] [PATCH 0/2] VDA decoder for ffmpeg

Sebastien Zwickert dilaroga at gmail.com
Tue Aug 21 23:48:01 CEST 2012

On Aug 21, 2012, at 3:48 AM, Xidorn Quan wrote:

> This patchset attempts to implement a VDA decoder for H.264 video.
> Though this decoder reuses functions in VDA HWAccel to work with VDA,
> they are different. Providing a decoder enables downstream players to
> use VDA directly without much change. FFmpeg itself may benefit from
> this decoder as well. And since VDA can output raw yuy2 pictures, 
> there will be no performance loss to use this decoder instead of
> origin H.264 decoder with VDA HWAccel (even faster because there is
> no memory copying inside the decoder.)
> The first patch is to expose one function needed by the decoder.
> I've sent the patch to the maintainer of VDA HWAccel but he havn't
> reply me yet, so I send it to this mailing-list directly.
> Xidorn Quan (2):
>  vda: export vda_sync_decode

No objection for me to export the decode function but that could break compatibility
with libav implementation if this function is publicly exported from one side but
not in the other. Maybe you could submit a similar patch for libav ?
Also, it could be exported internally.

>  vda: implement h264_vda decoder

Is there a way to let the user choose the cv_pix_fmt_type ? The one you did choose is
only available since 10.7 according to the Apple doc and VDADecoder framework
came public with 10.6.3.

Best regards,

Sebastien Zwickert

More information about the ffmpeg-devel mailing list