Home
last modified time | relevance | path

Searched refs:maxLvlChroma (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp619 uint8_t maxLvlChroma = colorRange == C2Color::RANGE_FULL ? 255 : 240; in ConvertRGBToPlanarYUV() local
640 dstU[x >> 1] = CLIP3(zeroLvl, U, maxLvlChroma); in ConvertRGBToPlanarYUV()
641 dstV[x >> 1] = CLIP3(zeroLvl, V, maxLvlChroma); in ConvertRGBToPlanarYUV()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp484 uint16_t maxLvlChroma = colorRange == C2Color::RANGE_FULL ? 1023 : 960; in convertRGBA1010102ToYUV420Planar16() local
507 dstU[x >> 1] = CLIP3(zeroLvl, i32U, maxLvlChroma); in convertRGBA1010102ToYUV420Planar16()
508 dstV[x >> 1] = CLIP3(zeroLvl, i32V, maxLvlChroma); in convertRGBA1010102ToYUV420Planar16()