Added (but disabled at compilation time) VA-API support to our avcodec wrapper.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 1 Jun 2009 09:49:05 +0000 (11:49 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 1 Jun 2009 10:44:20 +0000 (12:44 +0200)
commit91482c322525eed1b4fd6610dddb41244a9af5e4
treed92039b6755ad28428b2bd7cd1df0fe76eb738a3
parentf2f61bf1c7c58e79dcb22cada3eea53f596355cc
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.
modules/codec/avcodec/Modules.am
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.h
modules/codec/avcodec/vaapi.c [new file with mode: 0644]
modules/codec/avcodec/vaapi.h [new file with mode: 0644]
modules/codec/avcodec/video.c