aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/pixdesc.c
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2013-01-11 23:27:58 +0200
committerDiego Biurrun <diego@biurrun.de>2013-01-12 12:00:49 +0100
commit169fb94f0f65dcb18549f6f25fb29ea58d7eaf92 (patch)
treea9783d1c8b6ff9236ffa2f242f5a34af115dde66 /libavutil/pixdesc.c
parentf61272f0efd80da437570aad2c40e00f9d3f4fe6 (diff)
downloadffmpeg-169fb94f0f65dcb18549f6f25fb29ea58d7eaf92.tar.gz
pixfmt: add picture format for VDPAU
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 06d5defdba..df906ac15a 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -1359,6 +1359,12 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
},
.flags = PIX_FMT_BE | PIX_FMT_PLANAR | PIX_FMT_RGB,
},
+ [AV_PIX_FMT_VDPAU] = {
+ .name = "vdpau",
+ .log2_chroma_w = 1,
+ .log2_chroma_h = 1,
+ .flags = PIX_FMT_HWACCEL,
+ },
};
static enum AVPixelFormat get_pix_fmt_internal(const char *name)