Home
last modified time | relevance | path

Searched refs:clamp255 (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/third_party/libyuv/source/
Drow_common.cc30 static __inline int32 clamp255(int32 v) { in clamp255() function
36 return (uint32)(clamp255(v)); in Clamp()
48 static __inline int32 clamp255(int32 v) {
54 return (uint32)(clamp255(v));
216 uint8 b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
217 uint8 g0 = clamp255(src_argb[1] + dither0) >> 2; in ARGBToRGB565DitherRow_C()
218 uint8 r0 = clamp255(src_argb[2] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
219 uint8 b1 = clamp255(src_argb[4] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
220 uint8 g1 = clamp255(src_argb[5] + dither1) >> 2; in ARGBToRGB565DitherRow_C()
221 uint8 r1 = clamp255(src_argb[6] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
[all …]
/external/libyuv/files/source/
Drow_common.cc31 static __inline int32_t clamp255(int32_t v) { in clamp255() function
48 static __inline int32_t clamp255(int32_t v) {
62 return (uint32_t)(clamp255(v)); in Clamp()
288 uint8_t b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
289 uint8_t g0 = clamp255(src_argb[1] + dither0) >> 2; in ARGBToRGB565DitherRow_C()
290 uint8_t r0 = clamp255(src_argb[2] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
291 uint8_t b1 = clamp255(src_argb[4] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
292 uint8_t g1 = clamp255(src_argb[5] + dither1) >> 2; in ARGBToRGB565DitherRow_C()
293 uint8_t r1 = clamp255(src_argb[6] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
301 uint8_t b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Drow_common.cc31 static __inline int32_t clamp255(int32_t v) { in clamp255() function
48 static __inline int32_t clamp255(int32_t v) {
62 return (uint32_t)(clamp255(v)); in Clamp()
288 uint8_t b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
289 uint8_t g0 = clamp255(src_argb[1] + dither0) >> 2; in ARGBToRGB565DitherRow_C()
290 uint8_t r0 = clamp255(src_argb[2] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
291 uint8_t b1 = clamp255(src_argb[4] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
292 uint8_t g1 = clamp255(src_argb[5] + dither1) >> 2; in ARGBToRGB565DitherRow_C()
293 uint8_t r1 = clamp255(src_argb[6] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
301 uint8_t b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dsub-ashr-or-to-icmp-select.ll5 ; E.g., clamp255 implemented in a shifty way, could be optimized as v > 255 ? 255 : v, where sub ha…
6 ; int32 clamp255(int32 v) {