You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
imgconvert: add planar RGB formats to pix_fmt_info
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -352,6 +352,40 @@ static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
|
|||||||
[PIX_FMT_RGBA] = {
|
[PIX_FMT_RGBA] = {
|
||||||
.color_type = FF_COLOR_RGB,
|
.color_type = FF_COLOR_RGB,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
[PIX_FMT_GBRP] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP9BE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP9LE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP10BE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP10LE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP12BE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP12LE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP14BE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP14LE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP16BE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
|
[PIX_FMT_GBRP16LE] = {
|
||||||
|
.color_type = FF_COLOR_RGB,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift)
|
void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *v_shift)
|
||||||
|
Reference in New Issue
Block a user