[FFmpeg-devel] [PATCH]lavc/hevc: Support GBR encoding and decoding
Moritz Barsnick
barsnick at gmx.net
Sat Mar 12 14:50:56 CET 2016
On Sat, Mar 12, 2016 at 13:44:13 +0100, Carl Eugen Hoyos wrote:
> break;
> + case AV_PIX_FMT_GBRP:
> + case AV_PIX_FMT_GBRP10:
> + case AV_PIX_FMT_GBRP12:
> + ctx->params->vui.matrixCoeffs = AVCOL_SPC_RGB;
> + ctx->params->vui.bEnableVideoSignalTypePresentFlag = 1;
> + ctx->params->vui.bEnableColorDescriptionPresentFlag = 1;
> case AV_PIX_FMT_YUV444P:
> case AV_PIX_FMT_YUV444P10:
> case AV_PIX_FMT_YUV444P12:
Fallthrough intended? Might be worth documenting then, because reading
such switch/cases can become confusing.
Moritz
More information about the ffmpeg-devel
mailing list