summaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2017-11-16 07:35:17 -0800
committerPhilip Langdale <philipl@overt.org>2017-11-18 08:13:50 -0800
commit7c9f739d864c0ed8f1b433d6a7d9f674edda9cf5 (patch)
tree46a05dceb3641504c0a31cdd3ab687415bcbb1d8 /libavcodec/allcodecs.c
parent5a0f6b099f3e8fcb95a80e3ffe52b3bf369efe24 (diff)
downloadffmpeg-streaming-7c9f739d864c0ed8f1b433d6a7d9f674edda9cf5.zip
ffmpeg-streaming-7c9f739d864c0ed8f1b433d6a7d9f674edda9cf5.tar.gz
avcodec: Implement mpeg2 nvdec hwaccel
This is mostly straight-forward. The weird part is that it should just work for mpeg1, but I see corruption in my test cases, so I'm going to try and fix that separately.
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 e213f37..e0adb71 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -96,6 +96,7 @@ static void register_all(void)
REGISTER_HWACCEL(MPEG2_D3D11VA2, mpeg2_d3d11va2);
REGISTER_HWACCEL(MPEG2_DXVA2, mpeg2_dxva2);
REGISTER_HWACCEL(MPEG2_MMAL, mpeg2_mmal);
+ REGISTER_HWACCEL(MPEG2_NVDEC, mpeg2_nvdec);
REGISTER_HWACCEL(MPEG2_QSV, mpeg2_qsv);
REGISTER_HWACCEL(MPEG2_VAAPI, mpeg2_vaapi);
REGISTER_HWACCEL(MPEG2_VDPAU, mpeg2_vdpau);
OpenPOWER on IntegriCloud