diff options
author | NVIDIA Corporation <> | 2009-11-10 18:52:39 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-11-10 18:52:39 +0000 |
commit | 70e0c871eb2546355063b455b2db4c8247c94a5d (patch) | |
tree | 9cb96ce213fcdb919aaa1859a4b1c2f11730f07e /libavcodec/imgconvert.c | |
parent | 00962abaa03a4ac6acb3501ec2ef89ac746b2473 (diff) | |
download | ffmpeg-70e0c871eb2546355063b455b2db4c8247c94a5d.tar.gz |
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 9826a6a358..a5fcb53fac 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -376,6 +376,11 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { .is_hwaccel = 1, .x_chroma_shift = 1, .y_chroma_shift = 1, }, + [PIX_FMT_VDPAU_MPEG4] = { + .name = "vdpau_mpeg4", + .is_hwaccel = 1, + .x_chroma_shift = 1, .y_chroma_shift = 1, + }, [PIX_FMT_UYYVYY411] = { .name = "uyyvyy411", .nb_channels = 1, |