Home
last modified time | relevance | path

Searched refs:clamp255 (Results 1 – 3 of 3) 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.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));
234 uint8 b0 = clamp255(src_argb[0] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
235 uint8 g0 = clamp255(src_argb[1] + dither0) >> 2; in ARGBToRGB565DitherRow_C()
236 uint8 r0 = clamp255(src_argb[2] + dither0) >> 3; in ARGBToRGB565DitherRow_C()
237 uint8 b1 = clamp255(src_argb[4] + dither1) >> 3; in ARGBToRGB565DitherRow_C()
238 uint8 g1 = clamp255(src_argb[5] + dither1) >> 2; in ARGBToRGB565DitherRow_C()
239 uint8 r1 = clamp255(src_argb[6] + dither1) >> 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 …]