Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-07-03 13:57:58 +0300
committerPaul B Mahol <onemda@gmail.com>2015-07-24 06:40:36 +0300
commitf0489a35c034a2c898c917e66176dc7c5c420357 (patch)
tree283b9b0851cf14382357dabf33a9e68ad0a48e2e /libavutil/pixdesc.c
parent44fb00866f9bf19ad1ff3d8b5755f4b9849b175a (diff)
avutil: add ayuv64le and ayuv64be packed pixel format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavutil/pixdesc.c')
-rw-r--r--libavutil/pixdesc.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
index 32dc4b80ab..1699646093 100644
--- a/libavutil/pixdesc.c
+++ b/libavutil/pixdesc.c
@@ -1965,6 +1965,32 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
.name = "mmal",
.flags = AV_PIX_FMT_FLAG_HWACCEL,
},
+ [AV_PIX_FMT_AYUV64LE] = {
+ .name = "ayuv64le",
+ .nb_components = 4,
+ .log2_chroma_w = 0,
+ .log2_chroma_h = 0,
+ .comp = {
+ { 0, 7, 3, 0, 15 }, /* Y */
+ { 0, 7, 5, 0, 15 }, /* U */
+ { 0, 7, 7, 0, 15 }, /* V */
+ { 0, 7, 1, 0, 15 }, /* A */
+ },
+ .flags = AV_PIX_FMT_FLAG_ALPHA,
+ },
+ [AV_PIX_FMT_AYUV64BE] = {
+ .name = "ayuv64be",
+ .nb_components = 4,
+ .log2_chroma_w = 0,
+ .log2_chroma_h = 0,
+ .comp = {
+ { 0, 7, 3, 0, 15 }, /* Y */
+ { 0, 7, 5, 0, 15 }, /* U */
+ { 0, 7, 7, 0, 15 }, /* V */
+ { 0, 7, 1, 0, 15 }, /* A */
+ },
+ .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_ALPHA,
+ },
};
static const char *color_range_names[AVCOL_RANGE_NB] = {