diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-03-06 17:07:42 +0400 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-05-11 16:59:59 +0400 |
commit | 66e6c8a7b4e3ac926302529606bd3e323c28b20f (patch) | |
tree | 0a35720b89e6dd5765be2484cf0bf7110cc3a794 /libavutil/pixdesc.c | |
parent | dd2d3b766b20196d0b65a82e3d897ccecbf7adb8 (diff) |
lavu: Add a pixel format for new VDA hwaccel
The current hwaccel is broken and cannot be fixed in a compatible
way. It will be deprecated and replaced with a new one.
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 80c97b0096..ced3e46634 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1494,6 +1494,10 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { }, .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE, }, + [AV_PIX_FMT_VDA] = { + .name = "vda", + .flags = AV_PIX_FMT_FLAG_HWACCEL, + }, }; FF_DISABLE_DEPRECATION_WARNINGS |