Searched refs:maxLvlChroma (Results 1 – 2 of 2) sorted by relevance
619 uint8_t maxLvlChroma = colorRange == C2Color::RANGE_FULL ? 255 : 240; in ConvertRGBToPlanarYUV() local640 dstU[x >> 1] = CLIP3(zeroLvl, U, maxLvlChroma); in ConvertRGBToPlanarYUV()641 dstV[x >> 1] = CLIP3(zeroLvl, V, maxLvlChroma); in ConvertRGBToPlanarYUV()
484 uint16_t maxLvlChroma = colorRange == C2Color::RANGE_FULL ? 1023 : 960; in convertRGBA1010102ToYUV420Planar16() local507 dstU[x >> 1] = CLIP3(zeroLvl, i32U, maxLvlChroma); in convertRGBA1010102ToYUV420Planar16()508 dstV[x >> 1] = CLIP3(zeroLvl, i32V, maxLvlChroma); in convertRGBA1010102ToYUV420Planar16()