mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avutil/pixfmt: add VYU444 pixel format
This maps to the 444YpCbCr8 pixel format as defined by Apple, which is ordered Cr Y' Cb. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@ -2119,6 +2119,17 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
|
||||
.name = "cuda",
|
||||
.flags = AV_PIX_FMT_FLAG_HWACCEL,
|
||||
},
|
||||
[AV_PIX_FMT_VYU444] = {
|
||||
.name = "vyu444",
|
||||
.nb_components = 3,
|
||||
.log2_chroma_w = 0,
|
||||
.log2_chroma_h = 0,
|
||||
.comp = {
|
||||
{ 0, 3, 1, 0, 8 }, /* Y */
|
||||
{ 0, 3, 2, 0, 8 }, /* U */
|
||||
{ 0, 3, 0, 0, 8 }, /* V */
|
||||
},
|
||||
},
|
||||
[AV_PIX_FMT_UYVA] = {
|
||||
.name = "uyva",
|
||||
.nb_components = 4,
|
||||
|
Reference in New Issue
Block a user