aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/hwcontext.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-31 13:12:41 +0200
committerAnton Khirnov <anton@khirnov.net>2016-05-17 09:11:25 +0200
commitc46db38cde8e8fd8ecb1c6602f10ec0e002f29a8 (patch)
treef3385c96ea57cec2e63bd4574f9a469303c6fb87 /libavutil/hwcontext.c
parentd338abb664febbc2c7266af7818aab1f12dbc161 (diff)
downloadffmpeg-c46db38cde8e8fd8ecb1c6602f10ec0e002f29a8.tar.gz
hwcontext: add a dxva2 implementation
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r--libavutil/hwcontext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c
index 9ffc7189ce..2ddae90f10 100644
--- a/libavutil/hwcontext.c
+++ b/libavutil/hwcontext.c
@@ -32,6 +32,9 @@ static const HWContextType *hw_table[] = {
#if CONFIG_CUDA
&ff_hwcontext_type_cuda,
#endif
+#if CONFIG_DXVA2
+ &ff_hwcontext_type_dxva2,
+#endif
#if CONFIG_VAAPI
&ff_hwcontext_type_vaapi,
#endif