aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-04-02 08:53:34 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-04-02 08:53:34 +0000
commite103e6dbcfb25058bf704802a73295c769016f68 (patch)
tree32044c7529051aadab7f5d712f5019526ef61657
parentff4187356255e271473dc2b9c2b74fb568107685 (diff)
downloadffmpeg-e103e6dbcfb25058bf704802a73295c769016f68.tar.gz
Register VA API HW accelerators.
Pending bits from earlier approved patches: https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-March/066111.html https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-April/066918.html Originally committed as revision 18313 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/allcodecs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 17adff06dd..cbc648c99f 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -54,6 +54,9 @@ void avcodec_register_all(void)
initialized = 1;
/* hardware accelerators */
+ REGISTER_HWACCEL (H263_VAAPI, h263_vaapi);
+ REGISTER_HWACCEL (MPEG2_VAAPI, mpeg2_vaapi);
+ REGISTER_HWACCEL (MPEG4_VAAPI, mpeg4_vaapi);
/* video codecs */
REGISTER_DECODER (AASC, aasc);