summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-01-13 14:25:58 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-14 22:08:33 +0100
commitad884d100259e55cb51a4239cd8a4fd5154c2073 (patch)
treeab6d8f0243c470113e8e2c33cae402394ade4a25 /libavutil/hwcontext.c
parent7bc780cd4413f688d3b834037b0f9ddfd6948140 (diff)
hwcontext: add a CUDA 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 2aa712e963..b6d05181c4 100644
--- a/libavutil/hwcontext.c
+++ b/libavutil/hwcontext.c
@@ -29,6 +29,9 @@
#include "pixfmt.h"
static const HWContextType *hw_table[] = {
+#if CONFIG_CUDA
+ &ff_hwcontext_type_cuda,
+#endif
#if CONFIG_VDPAU
&ff_hwcontext_type_vdpau,
#endif