/external/libyuv/files/unit_test/ |
D | scale_test.cc | 128 int abs_diff = abs(dst_y_c[(i * dst_stride_y) + j] - in TestFilter() local 130 if (abs_diff > max_diff) { in TestFilter() 131 max_diff = abs_diff; in TestFilter() 138 int abs_diff = abs(dst_u_c[(i * dst_stride_uv) + j] - in TestFilter() local 140 if (abs_diff > max_diff) { in TestFilter() 141 max_diff = abs_diff; in TestFilter() 143 abs_diff = abs(dst_v_c[(i * dst_stride_uv) + j] - in TestFilter() 145 if (abs_diff > max_diff) { in TestFilter() 146 max_diff = abs_diff; in TestFilter()
|
D | planar_test.cc | 67 int abs_diff = \ 70 if (abs_diff > max_diff) { \ 71 max_diff = abs_diff; \ 144 int abs_diff = \ 147 if (abs_diff > max_diff) { \ 148 max_diff = abs_diff; \ 201 int abs_diff = \ 204 if (abs_diff > max_diff) { \ 205 max_diff = abs_diff; \ 212 int abs_diff = \ [all …]
|
D | rotate_argb_test.cc | 86 int abs_diff = abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBTestRotate() local 88 if (abs_diff > max_diff) in ARGBTestRotate() 89 max_diff = abs_diff; in ARGBTestRotate()
|
D | scale_argb_test.cc | 90 int abs_diff = abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBTestFilter() local 92 if (abs_diff > max_diff) { in ARGBTestFilter() 93 max_diff = abs_diff; in ARGBTestFilter()
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 17 static INLINE __m128i abs_diff(__m128i a, __m128i b) { in abs_diff() function 55 abs_p1p0 = abs_diff(q1p1, q0p0); in mb_lpf_horizontal_edge_w_sse2_8() 59 abs_p0q0 = abs_diff(q0p0, p0q0); in mb_lpf_horizontal_edge_w_sse2_8() 60 abs_p1q1 = abs_diff(q1p1, p1q1); in mb_lpf_horizontal_edge_w_sse2_8() 74 work = _mm_max_epu8(abs_diff(q2p2, q1p1), in mb_lpf_horizontal_edge_w_sse2_8() 75 abs_diff(q3p3, q2p2)); in mb_lpf_horizontal_edge_w_sse2_8() 129 flat = _mm_max_epu8(abs_diff(q2p2, q0p0), abs_diff(q3p3, q0p0)); in mb_lpf_horizontal_edge_w_sse2_8() 143 flat2 = _mm_max_epu8(abs_diff(q4p4, q0p0), abs_diff(q5p5, q0p0)); in mb_lpf_horizontal_edge_w_sse2_8() 148 work = _mm_max_epu8(abs_diff(q6p6, q0p0), abs_diff(q7p7, q0p0)); in mb_lpf_horizontal_edge_w_sse2_8() 423 const __m128i abs_p1p0 = abs_diff(p1, p0); in mb_lpf_horizontal_edge_w_sse2_16() [all …]
|
/external/webp/src/dsp/ |
D | enc_neon.c | 918 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in AccumulateSSE16() local 919 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); in AccumulateSSE16() 920 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff)); in AccumulateSSE16() 955 const uint8x8_t abs_diff = vabd_u8(a0, b0); in SSE8x8() local 956 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); in SSE8x8() 965 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in SSE4x4() local 966 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); in SSE4x4() 967 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff)); in SSE4x4()
|
/external/skia/src/utils/ |
D | SkTextureCompressor_LATC.cpp | 72 template <typename T> inline T abs_diff(const T &a, const T &b) { in abs_diff() function 148 uint8_t bestError = abs_diff(pixels[i], palette[0]); in compress_latc_block_bb() 151 uint8_t error = abs_diff(pixels[i], palette[j]); in compress_latc_block_bb() 204 uint8_t bestError = abs_diff(pixels[i], palette[0]); in compress_latc_block_bb_ignore_extremal() 206 uint8_t error = abs_diff(pixels[i], palette[j]); in compress_latc_block_bb_ignore_extremal()
|
D | SkTextureCompressor_R11EAC.cpp | 129 abs_diff(pixel, compute_r11eac_pixel(center, palette[0], multiplier)); in compress_heterogeneous_r11eac_block() 133 const uint16_t perror = abs_diff(pixel, p); in compress_heterogeneous_r11eac_block()
|
/external/skia/tests/ |
D | BlendTest.cpp | 22 static uint8_t abs_diff(uint8_t a, uint8_t b) { in abs_diff() function 31 if (abs_diff(blend, golden) > maxDiff) { in test() 34 ASSERT(abs_diff(blend, golden) <= maxDiff); in test()
|
/external/opencv/cv/src/ |
D | cvapprox.cpp | 65 static const int abs_diff[] = { 1, 2, 3, 4, 3, 2, 1, 0, 1, 2, 3, 4, 3, 2, 1 }; in icvApproximateChainTC89() local 128 s = abs_diff[reader.code - prev_code + 7]; in icvApproximateChainTC89()
|
/external/valgrind/coregrind/ |
D | m_stacktrace.c | 853 static Addr abs_diff ( Addr a1, Addr a2 ) { in abs_diff() function 1023 if (abs_diff(cand, ips[i-1]) > 1) { in VG_() 1040 if (abs_diff(cand, ips[i-1]) > 1) { in VG_()
|
/external/v8/src/arm/ |
D | simulator-arm.cc | 3267 double abs_diff = in DecodeVCVTBetweenFloatingPointAndInteger() local 3271 inexact_vfp_flag_ = (abs_diff != 0); in DecodeVCVTBetweenFloatingPointAndInteger() 3279 if (abs_diff > 0.5) { in DecodeVCVTBetweenFloatingPointAndInteger() 3281 } else if (abs_diff == 0.5) { in DecodeVCVTBetweenFloatingPointAndInteger()
|