diff options
author | Philip Langdale <philipl@overt.org> | 2017-11-19 08:42:39 -0800 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2017-11-26 14:55:01 -0800 |
commit | 1da9851e3470a019a35793c913a1de07f75dc3fc (patch) | |
tree | 8dee772ddc3cd2367d7f4b013a8639c58d068609 /libavcodec/vp8.c | |
parent | f69e9365f6e0c43ac78bc0b2358591c54f0448b3 (diff) | |
download | ffmpeg-1da9851e3470a019a35793c913a1de07f75dc3fc.tar.gz |
avcodec/nvdec: Implement vp8 hwaccel
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r-- | libavcodec/vp8.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 2b1cd155e2..471c0bb89e 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -2602,6 +2602,9 @@ int vp78_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, #if CONFIG_VP8_VAAPI_HWACCEL AV_PIX_FMT_VAAPI, #endif +#if CONFIG_VP8_NVDEC_HWACCEL + AV_PIX_FMT_CUDA, +#endif AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE, }; @@ -2950,6 +2953,9 @@ AVCodec ff_vp8_decoder = { #if CONFIG_VP8_VAAPI_HWACCEL HWACCEL_VAAPI(vp8), #endif +#if CONFIG_VP8_NVDEC_HWACCEL + HWACCEL_NVDEC(vp8), +#endif NULL }, }; |