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

Xidorn Quan quanxunzhen at gmail.com
Tue Aug 21 03:48:45 CEST 2012


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
  vda: implement h264_vda decoder

 configure                 |   1 +
 libavcodec/Makefile       |   1 +
 libavcodec/allcodecs.c    |   1 +
 libavcodec/vda.h          |   7 +-
 libavcodec/vda_h264.c     |  33 ++--
 libavcodec/vda_h264_dec.c | 450 ++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 475 insertions(+), 18 deletions(-)
 create mode 100644 libavcodec/vda_h264_dec.c

-- 
1.7.11.4



More information about the ffmpeg-devel mailing list