Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_deblocking.c687 data[-2] = (u8)(p1 + CLIP3(-tc,tc, in FilterVerLumaEdge()
694 data[1] = (u8)(q1 + CLIP3(-tc,tc, in FilterVerLumaEdge()
699 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) + in FilterVerLumaEdge()
794 data[-imageWidth*2] = (u8)(p1 + CLIP3(-tc,tc, in FilterHorLumaEdge()
803 data[imageWidth] = (u8)(q1 + CLIP3(-tc,tc, in FilterHorLumaEdge()
808 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) + in FilterHorLumaEdge()
866 data[-imageWidth*2] = (u8)(p1 + CLIP3(-tc,tc, in FilterHorLuma()
875 data[imageWidth] = (u8)(q1 + CLIP3(-tc,tc, in FilterHorLuma()
880 delta = CLIP3(-tmp, tmp, ((((q0 - p0) << 2) + in FilterHorLuma()
970 delta = CLIP3(-tc, tc, ((((q0 - p0) << 2) + in FilterVerChromaEdge()
[all …]
Dh264bsd_util.h136 #define CLIP3(x,y,z) (((z) < (x)) ? (x) : (((z) > (y)) ? (y) : (z))) macro
Dh264bsd_macroblock_layer.c1156 h264bsdQpC[CLIP3(0, 51, (i32)pMb->qpY + pMb->chromaQpIndexOffset)]; in ProcessChromaResidual()
1401 h264bsdQpC[CLIP3(0, 51, (i32)pMb->qpY + pMb->chromaQpIndexOffset)]; in ProcessResidual()