aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorLaurent Aimar <fenrir@videolan.org>2010-06-18 20:07:43 +0000
committerLaurent Aimar <fenrir@videolan.org>2010-06-18 20:07:43 +0000
commit164aab02a0cd3112880900f4a292b382c5c73bc5 (patch)
tree78ebe7650778b94270408ced214abf4f2d2c18b6 /libavcodec/allcodecs.c
parentd3f84dfc0e65201983e88c99b7544d5a60d0165e (diff)
downloadffmpeg-164aab02a0cd3112880900f4a292b382c5c73bc5.tar.gz
MPEG-2 DXVA2 implementation
It allows VLD MPEG-2 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. Originally committed as revision 23644 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 4b9dbf6f89..de5507e44a 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -57,6 +57,7 @@ void avcodec_register_all(void)
REGISTER_HWACCEL (H263_VAAPI, h263_vaapi);
REGISTER_HWACCEL (H264_DXVA2, h264_dxva2);
REGISTER_HWACCEL (H264_VAAPI, h264_vaapi);
+ REGISTER_HWACCEL (MPEG2_DXVA2, mpeg2_dxva2);
REGISTER_HWACCEL (MPEG2_VAAPI, mpeg2_vaapi);
REGISTER_HWACCEL (MPEG4_VAAPI, mpeg4_vaapi);
REGISTER_HWACCEL (VC1_DXVA2, vc1_dxva2);