[vlc-devel] commit: Added (but disabled at compilation time) VA-API support to our avcodec wrapper. (Laurent Aimar )

git version control git at videolan.org
Mon Jun 1 12:46:52 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun  1 11:49:05 2009 +0200| [91482c322525eed1b4fd6610dddb41244a9af5e4] | committer: Laurent Aimar 

Added (but disabled at compilation time) VA-API support to our avcodec wrapper.

 I choosed to extract the decoded frame back to memory instead of developping
a new specific vaapi vout. It was easier, allows transcoding and does not break
our current OSD.

 Becarefull, you probably have to applied a pending patch on ffmpeg for h264
decoding.

 You still have to manually uncomment the HAVE_AVCODEC_VAAPI define in
avcodec.h and to fix the build system to test it.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91482c322525eed1b4fd6610dddb41244a9af5e4
---

 modules/codec/avcodec/Modules.am |    1 +
 modules/codec/avcodec/avcodec.c  |    3 +
 modules/codec/avcodec/avcodec.h  |    6 +
 modules/codec/avcodec/vaapi.c    |  487 ++++++++++++++++++++++++++++++++++++++
 modules/codec/avcodec/vaapi.h    |   43 ++++
 modules/codec/avcodec/video.c    |  153 +++++++++++--
 6 files changed, 673 insertions(+), 20 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=91482c322525eed1b4fd6610dddb41244a9af5e4



More information about the vlc-devel mailing list