diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-03-04 23:57:46 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-22 23:01:29 +0000 |
commit | a050f56c0903c718d8ef0b14dc09195785fdf564 (patch) | |
tree | b0f4376bc4838af8291d6d03b8a63cc011ce4f75 /libavutil/pixdesc.c | |
parent | 152902f3799f24d0d392880f33a11c6920a30cf1 (diff) |
lavu: Add OpenCL hardware pixfmt
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 3d21e67a78..e77d5f44b9 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -2181,6 +2181,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { .name = "drm_prime", .flags = AV_PIX_FMT_FLAG_HWACCEL, }, + [AV_PIX_FMT_OPENCL] = { + .name = "opencl", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; #if FF_API_PLUS1_MINUS1 FF_ENABLE_DEPRECATION_WARNINGS |