diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-13 14:17:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-14 22:08:22 +0100 |
commit | 7bc780cd4413f688d3b834037b0f9ddfd6948140 (patch) | |
tree | 8dd8b0f19b9e568a646e401f8544524625102791 /libavutil/pixdesc.c | |
parent | c51b2c79a7ba084253e892c56dd49ee97115c7de (diff) | |
download | ffmpeg-7bc780cd4413f688d3b834037b0f9ddfd6948140.tar.gz |
pixfmt: add a CUDA hwaccelled format
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r-- | libavutil/pixdesc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 059bd62441..9b948ed2fd 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1577,6 +1577,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { .name = "mmal", .flags = AV_PIX_FMT_FLAG_HWACCEL, }, + [AV_PIX_FMT_CUDA] = { + .name = "cuda", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; #if FF_API_PLUS1_MINUS1 FF_ENABLE_DEPRECATION_WARNINGS |