summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-05-30 16:40:13 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-05-31 15:17:22 +0200
commitb08caa87c35a768ec0abb16b1e99c3a85f1df28e (patch)
tree25e7b1c73401c7c076ebfc4e96adacc996f74f47 /libavcodec/allcodecs.c
parent522d971c7f5921bebcea2fc50e67056afdabb951 (diff)
nvenc: H264 and HEVC encoders
Partially based on the work of Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index a8b5b5388a..e2013c3050 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -478,7 +478,9 @@ void avcodec_register_all(void)
/* external libraries, that shouldn't be used by default if one of the
* above is available */
REGISTER_ENCODER(LIBOPENH264, libopenh264);
+ REGISTER_ENCODER(H264_NVENC, h264_nvenc);
REGISTER_ENCODER(H264_QSV, h264_qsv);
+ REGISTER_ENCODER(HEVC_NVENC, hevc_nvenc);
/* parsers */
REGISTER_PARSER(AAC, aac);