diff options
author | NVIDIA Corporation <> | 2009-01-16 02:14:25 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-01-16 02:14:25 +0000 |
commit | 4e2b48760b8b7416ca513c18678f8e228b910067 (patch) | |
tree | d9809466df7eb2cd0dbfa6e9c60ce24a1588042e /libswscale | |
parent | d37edddc09527fbeba3099d8af123a2af879e112 (diff) | |
download | ffmpeg-4e2b48760b8b7416ca513c18678f8e228b910067.tar.gz |
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which will
be used by MPlayer.
Original patch by NVIDIA corporation.
Originally committed as revision 28322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 8ee363fafc..52b709aaa0 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -454,6 +454,10 @@ const char *sws_format_name(enum PixelFormat format) return "yuv440p"; case PIX_FMT_VDPAU_H264: return "vdpau_h264"; + case PIX_FMT_VDPAU_MPEG1: + return "vdpau_mpeg1"; + case PIX_FMT_VDPAU_MPEG2: + return "vdpau_mpeg2"; default: return "Unknown format"; } |