Add VDPAU hardware accelerated decoding for H264 which can be used by

video players.

Original patch by NVIDIA corporation.

Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
NVIDIA Corporation
2009-01-04 23:55:27 +00:00
committed by Carl Eugen Hoyos
parent bc1d2afb37
commit 369122dd77
12 changed files with 353 additions and 4 deletions

View File

@@ -161,7 +161,8 @@ static void close(AVCodecParserContext *s)
AVCodecParser h264_parser = {
{ CODEC_ID_H264 },
{ CODEC_ID_H264,
CODEC_ID_H264_VDPAU },
sizeof(H264Context),
NULL,
h264_parse,