summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-02-11 16:49:34 +0100
committerAnton Khirnov <anton@khirnov.net>2017-07-26 23:24:34 +0200
commitb9129ec4668c511e0a79e25c6f25d748cee172c9 (patch)
treef3ace45abdc775d65ed2361958e26966d33c47ca /libavcodec/allcodecs.c
parent704311b2946d74a80f65906961cd9baaa18683a3 (diff)
h264dec: add a CUVID hwaccel
Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org>
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 3fcea5be0d..ea3a6b9702 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -68,6 +68,7 @@ void avcodec_register_all(void)
/* hardware accelerators */
REGISTER_HWACCEL(H263_VAAPI, h263_vaapi);
+ REGISTER_HWACCEL(H264_CUVID, h264_cuvid);
REGISTER_HWACCEL(H264_D3D11VA, h264_d3d11va);
REGISTER_HWACCEL(H264_D3D11VA2, h264_d3d11va2);
REGISTER_HWACCEL(H264_DXVA2, h264_dxva2);