Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp237 #define CLIP3(min, v, max) (((v) < (min)) ? (min) : (((max) > (v)) ? (v) : (max))) macro
291 b = CLIP3(0, b, 1023); in convertYUV420Planar16ToRGBA1010102()
292 g = CLIP3(0, g, 1023); in convertYUV420Planar16ToRGBA1010102()
293 r = CLIP3(0, r, 1023); in convertYUV420Planar16ToRGBA1010102()
300 b = CLIP3(0, b, 1023); in convertYUV420Planar16ToRGBA1010102()
301 g = CLIP3(0, g, 1023); in convertYUV420Planar16ToRGBA1010102()
302 r = CLIP3(0, r, 1023); in convertYUV420Planar16ToRGBA1010102()
309 b = CLIP3(0, b, 1023); in convertYUV420Planar16ToRGBA1010102()
310 g = CLIP3(0, g, 1023); in convertYUV420Planar16ToRGBA1010102()
311 r = CLIP3(0, r, 1023); in convertYUV420Planar16ToRGBA1010102()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp583 #define CLIP3(min,v,max) (((v) < (min)) ? (min) : (((max) > (v)) ? (v) : (max))) in ConvertRGBToPlanarYUV() macro
593 dstY[x] = CLIP3(zeroLvl, luma, maxLvlLuma); in ConvertRGBToPlanarYUV()
602 dstU[x >> 1] = CLIP3(zeroLvl, U, maxLvlChroma); in ConvertRGBToPlanarYUV()
603 dstV[x >> 1] = CLIP3(zeroLvl, V, maxLvlChroma); in ConvertRGBToPlanarYUV()