[FFmpeg-devel] [PATCH]VDPAU patch for MPEG1/2 decoding, round 3

Ivan Kalvachev ikalvachev
Fri Jan 9 02:25:43 CET 2009

On 1/8/09, Carl Eugen Hoyos <cehoyos at rainbow.studorg.tuwien.ac.at> wrote:
> Hi!
> Attached is an updated version of the VDPAU patch to allow hardware
> decoding of MPEG1/2 streams.
> Please comment, Carl Eugen

Just few random bits.

Stop using capabilities to detect vdpau. Set xvmc_acceleration to some
value (4) and use it. You don't have to rename the variable and make it enum
in order to use it.

Make ff_er_frame_end() check the xvmc_acceleration with the vdpau value and
quit early. It would save a lot of manual patching along the different codecs.

More information about the ffmpeg-devel mailing list