Home
last modified time | relevance | path

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

/third_party/openh264/test/encoder/
DEncUT_MotionCompensation.cpp32 static inline uint8_t Clip255 (int32_t x) { in Clip255() function
49 pDstH[x] = Clip255 ((FILTER6TAP (pSrc, x, 1) + 16) >> 5); in MCHalfPelFilterAnchor()
53 pDstV[x] = Clip255 ((v + 16) >> 5); in MCHalfPelFilterAnchor()
57 pDstHV[x] = Clip255 ((FILTER6TAP (pBuf + 2, x, 1) + 512) >> 10); in MCHalfPelFilterAnchor()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless.c42 static WEBP_INLINE uint32_t Clip255(uint32_t a) { in Clip255() function
52 return Clip255(a + b - c); in AddSubtractComponentFull()
69 return Clip255(a + (a - b) / 2); in AddSubtractComponentHalf()