/external/libyuv/files/unit_test/ |
D | scale_test.cc | 114 int abs_diff = Abs(dst_y_c[(i * dst_stride_y) + j] - in TestFilter() local 116 if (abs_diff > max_diff) { in TestFilter() 117 max_diff = abs_diff; in TestFilter() 124 int abs_diff = Abs(dst_u_c[(i * dst_stride_uv) + j] - in TestFilter() local 126 if (abs_diff > max_diff) { in TestFilter() 127 max_diff = abs_diff; in TestFilter() 129 abs_diff = Abs(dst_v_c[(i * dst_stride_uv) + j] - in TestFilter() 131 if (abs_diff > max_diff) { in TestFilter() 132 max_diff = abs_diff; in TestFilter() 242 int abs_diff = Abs(dst_y_8[(i * dst_stride_y) + j] - in TestFilter_16() local [all …]
|
D | convert_test.cc | 93 int abs_diff = abs(static_cast<int>(dst_y_c[i * kWidth + j]) - \ 95 if (abs_diff > max_diff) { \ 96 max_diff = abs_diff; \ 103 int abs_diff = abs( \ 107 if (abs_diff > max_diff) { \ 108 max_diff = abs_diff; \ 115 int abs_diff = abs( \ 119 if (abs_diff > max_diff) { \ 120 max_diff = abs_diff; \ 219 int abs_diff = abs(static_cast<int>(dst_y_c[i * kWidth + j]) - \ [all …]
|
D | scale_argb_test.cc | 102 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBTestFilter() local 104 if (abs_diff > max_diff) { in ARGBTestFilter() 105 max_diff = abs_diff; in ARGBTestFilter() 215 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBClipTestFilter() local 217 if (abs_diff > max_diff) { in ARGBClipTestFilter() 218 max_diff = abs_diff; in ARGBClipTestFilter() 414 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in YUVToARGBTestFilter() local 416 if (abs_diff > max_diff) { in YUVToARGBTestFilter() 417 printf("error %d at %d,%d c %d opt %d", abs_diff, j, i, in YUVToARGBTestFilter() 420 EXPECT_LE(abs_diff, 40); in YUVToARGBTestFilter() [all …]
|
D | planar_test.cc | 137 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestAttenuateI() local 139 if (abs_diff > max_diff) { in TestAttenuateI() 140 max_diff = abs_diff; in TestAttenuateI() 210 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestUnattenuateI() local 212 if (abs_diff > max_diff) { in TestUnattenuateI() 213 max_diff = abs_diff; in TestUnattenuateI() 1088 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestBlend() local 1090 if (abs_diff > max_diff) { in TestBlend() 1091 max_diff = abs_diff; in TestBlend() 1433 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestMultiply() local [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | loopfilter_sse2.c | 18 static INLINE __m128i abs_diff(__m128i a, __m128i b) { in abs_diff() function 26 __m128i flat = abs_diff(q1p1, q0p0); \ 28 const __m128i abs_p1q1p0q0 = abs_diff(p1p0, q1q0); \ 48 work = abs_diff(p3p2, p2p1); \ 51 work = abs_diff(q3q2, q2q1); \ 264 abs_p1p0 = abs_diff(q1p1, q0p0); in vpx_lpf_horizontal_16_sse2() 268 abs_p0q0 = abs_diff(q0p0, p0q0); in vpx_lpf_horizontal_16_sse2() 269 abs_p1q1 = abs_diff(q1p1, p1q1); in vpx_lpf_horizontal_16_sse2() 283 work = _mm_max_epu8(abs_diff(q2p2, q1p1), abs_diff(q3p3, q2p2)); in vpx_lpf_horizontal_16_sse2() 337 flat = _mm_max_epu8(abs_diff(q2p2, q0p0), abs_diff(q3p3, q0p0)); in vpx_lpf_horizontal_16_sse2() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | loopfilter_sse2.c | 21 static INLINE __m128i abs_diff(__m128i a, __m128i b) { in abs_diff() function 259 flat = abs_diff(q1p1, q0p0); in lpf_internal_4_sse2() 261 __m128i abs_p1q1p0q0 = abs_diff(p1p0, q1q0); in lpf_internal_4_sse2() 302 __m128i flat = abs_diff(q1p1, q0p0); in lpf_internal_4_dual_sse2() 304 const __m128i abs_p1q1p0q0 = abs_diff(p1p0, q1q0); in lpf_internal_4_dual_sse2() 411 abs_p1p0 = abs_diff(*q1p1, *q0p0); in lpf_internal_14_dual_sse2() 415 abs_p0q0 = abs_diff(p1p0, q1q0); in lpf_internal_14_dual_sse2() 434 work = _mm_max_epu8(abs_diff(*q2p2, *q1p1), abs_diff(*q3p3, *q2p2)); in lpf_internal_14_dual_sse2() 451 flat = _mm_max_epu8(abs_diff(*q2p2, *q0p0), abs_diff(*q3p3, *q0p0)); in lpf_internal_14_dual_sse2() 561 flat2 = _mm_max_epu8(abs_diff(*q4p4, *q0p0), abs_diff(*q5p5, *q0p0)); in lpf_internal_14_dual_sse2() [all …]
|
/external/webp/src/dsp/ |
D | enc_neon.c | 754 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in AccumulateSSE16_NEON() local 755 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in AccumulateSSE16_NEON() 756 vget_low_u8(abs_diff)); in AccumulateSSE16_NEON() 757 const uint16x8_t prod2 = vmull_u8(vget_high_u8(abs_diff), in AccumulateSSE16_NEON() 758 vget_high_u8(abs_diff)); in AccumulateSSE16_NEON() 796 const uint8x8_t abs_diff = vabd_u8(a0, b0); in SSE8x8_NEON() local 797 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); in SSE8x8_NEON() 806 const uint8x16_t abs_diff = vabdq_u8(a0, b0); in SSE4x4_NEON() local 807 const uint16x8_t prod1 = vmull_u8(vget_low_u8(abs_diff), in SSE4x4_NEON() 808 vget_low_u8(abs_diff)); in SSE4x4_NEON() [all …]
|
/external/eigen/test/ |
D | rvalue_types.cpp | 38 Scalar abs_diff = (m-n).array().abs().sum(); in rvalue_copyassign() local 39 VERIFY_IS_EQUAL(abs_diff, Scalar(0)); in rvalue_copyassign()
|
/external/libaom/libaom/aom_dsp/ |
D | intrapred.c | 45 static INLINE int abs_diff(int a, int b) { return (a > b) ? a - b : b - a; } in abs_diff() function 50 const int p_left = abs_diff(base, left); in paeth_predictor_single() 51 const int p_top = abs_diff(base, top); in paeth_predictor_single() 52 const int p_top_left = abs_diff(base, top_left); in paeth_predictor_single()
|
/external/clang/lib/Headers/ |
D | opencl-c.h | 10131 uchar __ovld __cnfn abs_diff(char x, char y); 10132 uchar __ovld __cnfn abs_diff(uchar x, uchar y); 10133 uchar2 __ovld __cnfn abs_diff(char2 x, char2 y); 10134 uchar2 __ovld __cnfn abs_diff(uchar2 x, uchar2 y); 10135 uchar3 __ovld __cnfn abs_diff(char3 x, char3 y); 10136 uchar3 __ovld __cnfn abs_diff(uchar3 x, uchar3 y); 10137 uchar4 __ovld __cnfn abs_diff(char4 x, char4 y); 10138 uchar4 __ovld __cnfn abs_diff(uchar4 x, uchar4 y); 10139 uchar8 __ovld __cnfn abs_diff(char8 x, char8 y); 10140 uchar8 __ovld __cnfn abs_diff(uchar8 x, uchar8 y); [all …]
|
/external/libxcam/cl_kernel/ |
D | kernel_gauss_lap_pyramid.cl | 352 uint8 diff = abs_diff (data0, data1);
|
/external/v8/src/arm/ |
D | simulator-arm.cc | 3699 double abs_diff = unsigned_integer in ConvertDoubleToInt() local 3703 inexact_vfp_flag_ = (abs_diff != 0); in ConvertDoubleToInt() 3711 if (abs_diff > 0.5) { in ConvertDoubleToInt() 3713 } else if (abs_diff == 0.5) { in ConvertDoubleToInt()
|