summaryrefslogtreecommitdiff
path: root/libavcodec/nvdec.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2017-11-19 08:42:39 -0800
committerPhilip Langdale <philipl@overt.org>2017-11-26 14:55:01 -0800
commit1da9851e3470a019a35793c913a1de07f75dc3fc (patch)
tree8dee772ddc3cd2367d7f4b013a8639c58d068609 /libavcodec/nvdec.c
parentf69e9365f6e0c43ac78bc0b2358591c54f0448b3 (diff)
downloadffmpeg-1da9851e3470a019a35793c913a1de07f75dc3fc.tar.gz
avcodec/nvdec: Implement vp8 hwaccel
Diffstat (limited to 'libavcodec/nvdec.c')
-rw-r--r--libavcodec/nvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvdec.c b/libavcodec/nvdec.c
index da4451a739..c7a02ff40f 100644
--- a/libavcodec/nvdec.c
+++ b/libavcodec/nvdec.c
@@ -58,6 +58,7 @@ static int map_avcodec_id(enum AVCodecID id)
case AV_CODEC_ID_MPEG2VIDEO: return cudaVideoCodec_MPEG2;
case AV_CODEC_ID_MPEG4: return cudaVideoCodec_MPEG4;
case AV_CODEC_ID_VC1: return cudaVideoCodec_VC1;
+ case AV_CODEC_ID_VP8: return cudaVideoCodec_VP8;
case AV_CODEC_ID_VP9: return cudaVideoCodec_VP9;
case AV_CODEC_ID_WMV3: return cudaVideoCodec_VC1;
}