summaryrefslogtreecommitdiff
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-18 18:16:27 +0100
committerMark Thompson <sw@jkqxz.net>2017-09-13 22:03:27 +0100
commit9cb23cd9fe58e262273ce606b6febfef0509e316 (patch)
tree9f6120e707a7c644e7ac26bd1ed095a8a8b57942 /libavutil/pixdesc.c
parent7bae17e37ab63d1cfcea22c68c455f859db3663c (diff)
lavu: Add DRM hwcontext
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index d45eae5772..33aa2d705f 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -2237,6 +2237,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA |
AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,
},
+ [AV_PIX_FMT_DRM_PRIME] = {
+ .name = "drm_prime",
+ .flags = AV_PIX_FMT_FLAG_HWACCEL,
+ },
};
#if FF_API_PLUS1_MINUS1
FF_ENABLE_DEPRECATION_WARNINGS