mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavu/pixfmt: add AV_PIX_FMT_RGB96
This commit is contained in:
parent
281bba1d26
commit
4f387a1c4e
4 changed files with 41 additions and 0 deletions
|
|
@ -2800,6 +2800,30 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
|
|||
},
|
||||
.flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,
|
||||
},
|
||||
[AV_PIX_FMT_RGB96BE] = {
|
||||
.name = "rgb96be",
|
||||
.nb_components = 3,
|
||||
.log2_chroma_w = 0,
|
||||
.log2_chroma_h = 0,
|
||||
.comp = {
|
||||
{ 0, 12, 0, 0, 32 }, /* R */
|
||||
{ 0, 12, 4, 0, 32 }, /* G */
|
||||
{ 0, 12, 8, 0, 32 }, /* B */
|
||||
},
|
||||
.flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
|
||||
},
|
||||
[AV_PIX_FMT_RGB96LE] = {
|
||||
.name = "rgb96le",
|
||||
.nb_components = 3,
|
||||
.log2_chroma_w = 0,
|
||||
.log2_chroma_h = 0,
|
||||
.comp = {
|
||||
{ 0, 12, 0, 0, 32 }, /* R */
|
||||
{ 0, 12, 4, 0, 32 }, /* G */
|
||||
{ 0, 12, 8, 0, 32 }, /* B */
|
||||
},
|
||||
.flags = AV_PIX_FMT_FLAG_RGB,
|
||||
},
|
||||
[AV_PIX_FMT_RGBAF32BE] = {
|
||||
.name = "rgbaf32be",
|
||||
.nb_components = 4,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue