diff options
author | Philip Langdale <philipl@overt.org> | 2018-02-18 15:53:33 -0800 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2018-02-21 23:38:42 +0000 |
commit | cd98f20b4abac8241ef7f922eb85ba6fe3fe230b (patch) | |
tree | f3812aa760f21602dd3f8b9bd9405566da10cd4a /libavcodec/nvdec.c | |
parent | 63c690ad154509dcda78d3d3537bd1af9c406241 (diff) | |
download | ffmpeg-cd98f20b4abac8241ef7f922eb85ba6fe3fe230b.tar.gz |
avcodec/nvdec: Implement mjpeg nvdec hwaccel
Diffstat (limited to 'libavcodec/nvdec.c')
-rw-r--r-- | libavcodec/nvdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c index e9e6ea0f8b..ab3cb88b27 100644 --- a/libavcodec/nvdec.c +++ b/libavcodec/nvdec.c @@ -54,6 +54,7 @@ static int map_avcodec_id(enum AVCodecID id) switch (id) { case AV_CODEC_ID_H264: return cudaVideoCodec_H264; case AV_CODEC_ID_HEVC: return cudaVideoCodec_HEVC; + case AV_CODEC_ID_MJPEG: return cudaVideoCodec_JPEG; case AV_CODEC_ID_MPEG1VIDEO: return cudaVideoCodec_MPEG1; case AV_CODEC_ID_MPEG2VIDEO: return cudaVideoCodec_MPEG2; case AV_CODEC_ID_MPEG4: return cudaVideoCodec_MPEG4; |