diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-13 14:25:58 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-14 22:08:33 +0100 |
commit | ad884d100259e55cb51a4239cd8a4fd5154c2073 (patch) | |
tree | ab6d8f0243c470113e8e2c33cae402394ade4a25 /libavutil/hwcontext.c | |
parent | 7bc780cd4413f688d3b834037b0f9ddfd6948140 (diff) | |
download | ffmpeg-ad884d100259e55cb51a4239cd8a4fd5154c2073.tar.gz |
hwcontext: add a CUDA implementation
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r-- | libavutil/hwcontext.c | 3 |
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 |