diff options
author | NVIDIA Corporation <> | 2009-01-16 02:14:07 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-16 02:14:07 +0000 |
commit | d37edddc09527fbeba3099d8af123a2af879e112 (patch) | |
tree | 5c27a764447b09e82bb2eea8a6f0bdef99bcef22 /libavcodec/imgconvert.c | |
parent | 3700d8002809defe16f555490007fa69c3ddcfc9 (diff) | |
download | ffmpeg-d37edddc09527fbeba3099d8af123a2af879e112.tar.gz |
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 94ea967d1d..ac76b78d7f 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -267,6 +267,12 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = { [PIX_FMT_XVMC_MPEG2_IDCT] = { .name = "xvmcidct", }, + [PIX_FMT_VDPAU_MPEG1] = { + .name = "vdpau_mpeg1", + }, + [PIX_FMT_VDPAU_MPEG2] = { + .name = "vdpau_mpeg2", + }, [PIX_FMT_VDPAU_H264] = { .name = "vdpau_h264", }, |