HomeSort by relevance Sort by last modified time
    Searched refs:sad (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
sad_halfpel_inline.h 34 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
37 if (tmp > 0) sad += tmp;
38 else sad -= tmp;
40 return sad;
43 __inline int32 INTERP2_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
46 if (tmp > 0) sad += tmp;
47 else sad -= tmp;
49 return sad;
54 __inline int32 INTERP1_SUB_SAD(int32 sad, int32 tmp, int32 tmp2)
60 add sad, sad, tmp local
72 add sad, sad, tmp ; local
    [all...]
sad.cpp 70 Purpose: Compute SAD 16x16 between blk and ref.
97 Purpose: Compute the SAD on a 16x16 block using
109 Int sad = 0; local
129 sad = SUB_SAD(sad, tmp, tmp2);
132 sad = SUB_SAD(sad, tmp, tmp2);
135 sad = SUB_SAD(sad, tmp, tmp2);
139 sad = SUB_SAD(sad, tmp, tmp2)
210 Int sad = 0; local
316 Int sad = 0; local
    [all...]
sad_halfpel.cpp 59 Purpose: Compute SAD 16x16 between blk and ref in halfpel
67 Int sad = 0; local
84 sad += PV_ABS(temp);
87 if (sad > dmin)
88 return sad;
92 return sad;
99 Int sad = 0; local
115 sad += PV_ABS(temp);
118 if (sad > dmin)
119 return sad;
141 Int sad = 0; local
173 Int sad = 0; local
224 Int sad = 0; local
265 Int sad = 0; local
301 Int sad = 0; local
338 Int sad = 0; local
417 Int sad = 0; local
495 Int sad = 0; local
572 Int sad = 0, tmp, tmp2; local
640 Int sad = 0, tmp, tmp2; local
706 Int sad = 0, tmp, tmp2; local
783 Int sad = 0; local
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
differ_block_sse2.cc 30 __m128i sad; local
36 sad = _mm_sad_epu8(v0, v1);
37 acc = _mm_adds_epu16(acc, sad);
40 sad = _mm_sad_epu8(v0, v1);
41 acc = _mm_adds_epu16(acc, sad);
44 sad = _mm_sad_epu8(v0, v1);
45 acc = _mm_adds_epu16(acc, sad);
48 sad = _mm_sad_epu8(v0, v1);
49 acc = _mm_adds_epu16(acc, sad);
51 // This essential means sad = acc >> 64. We only care about the lower 1
70 __m128i sad; local
    [all...]
  /external/libavc/encoder/arm/
ime_platform_macros.h 44 #define USADA8(src,est,sad) \
45 sad += ABS(src[0]-est[0]) + \
  /external/libavc/encoder/armv8/
ime_platform_macros.h 44 #define USADA8(src,est,sad) \
45 sad += ABS(src[0]-est[0]) + \
  /external/libavc/encoder/mips/
ime_platform_macros.h 45 #define USADA8(src,est,sad) \
46 sad += ABS(src[0]-est[0]) + \
  /external/libavc/encoder/x86/
ime_platform_macros.h 45 #define USADA8(src,est,sad) \
46 sad += ABS(src[0]-est[0]) + \
  /art/test/660-checker-simd-sad-short3/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
45 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi2>>,<<Load>>,<<Rep>>] loop:<<Loop>> outer_loop:none
48 int sad = 0; local
50 sad += Math.abs(s[i] - param);
52 return sad;
76 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi2>>,<<Rep>>,<<Load>>] loop:<<Loop>> outer_loop:none
79 int sad = 0; local
81 sad += Math.abs(param - s[i]);
83 return sad;
107 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi2>>,<<Load>>,<<Rep>>] loop:<<Loop>> outer_loop:non
110 int sad = 0; local
141 int sad = 0; local
172 int sad = 0; local
204 int sad = 0; local
239 int sad = 0; local
274 int sad = 0; local
    [all...]
  /art/test/660-checker-simd-sad-byte/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
26 byte sad = 0;
28 sad += Math.abs(b1[i] - b2[i]);
30 return sad;
35 byte sad = 0;
39 sad += s >= p ? s - p : p - s;
41 return sad;
46 byte sad = 0;
52 sad += x;
54 return sad;
59 short sad = 0; local
68 short sad = 0; local
79 short sad = 0; local
114 int sad = 0; local
145 int sad = 0; local
178 int sad = 0; local
217 long sad = 0; local
254 long sad = 1; \/\/ starts at 1 local
    [all...]
  /art/test/660-checker-simd-sad-short/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
30 short sad = 0; local
32 sad += Math.abs(s1[i] - s2[i]);
34 return sad;
39 short sad = 0; local
43 sad += s >= p ? s - p : p - s;
45 return sad;
50 short sad = 0; local
56 sad += x;
58 return sad;
85 int sad = 0; local
116 int sad = 0; local
149 int sad = 0; local
185 int sad = 0; local
217 int sad = 0; local
249 int sad = 0; local
284 long sad = 0; local
321 long sad = 1; \/\/ starts at 1 local
    [all...]
  /external/libaom/libaom/aom_dsp/x86/
jnt_sad_ssse3.c 28 __m128i sad = _mm_setzero_si128(); local
49 sad = _mm_add_epi32(sad, sad4x4);
57 _mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8));
68 __m128i sad = _mm_setzero_si128(); local
81 sad = _mm_add_epi32(sad, sad8x2);
88 _mm_cvtsi128_si32(sad) + _mm_cvtsi128_si32(_mm_srli_si128(sad, 8))
99 __m128i sad = _mm_setzero_si128(); local
123 __m128i sad = _mm_setzero_si128(); local
149 __m128i sad = _mm_setzero_si128(); local
175 __m128i sad = _mm_setzero_si128(); local
    [all...]
  /external/libavc/encoder/
ime_statistics.h 44 * @brief While computing sad, if we want to do a early exit, how often we
45 * should check if the sad computed till now has exceeded min sad param is
54 * @brief print sad early exit stats
76 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level) debug_sad_histogram_add(sad, level)
81 #define DEBUG_SAD_HISTOGRAM_ADD(sad, level)
  /external/libvpx/libvpx/test/
bench.cc 32 int sad = 0; local
34 sad += abs(times_[t] - med);
37 sad / (VPX_BENCH_ROBUST_ITER * 1000.0));
  /external/libmpeg2/common/
icv_sad.c 26 * This file contains the functions to compute SAD
59 * Compute 8x4 SAD
83 * SAD
96 WORD32 sad; local
105 sad = 0;
117 sad += ABS_DIF(src, ref);
123 return sad;
  /art/test/660-checker-simd-sad-char/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
24 // TODO: consider unsigned SAD too, b/64091002
28 char sad = 0; local
30 sad += Math.abs(s1[i] - s2[i]);
32 return sad;
37 char sad = 0; local
41 sad += s >= p ? s - p : p - s;
43 return sad;
48 char sad = 0; local
54 sad += x
75 int sad = 0; local
98 int sad = 0; local
123 int sad = 0; local
153 long sad = 0; local
181 long sad = 1; \/\/ starts at 1 local
    [all...]
  /art/test/660-checker-simd-sad-short2/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
28 short sad = 0; local
30 sad += Math.abs(((short) s1[i]) - ((short) s2[i]));
32 return sad;
37 short sad = 0; local
41 sad += s >= p ? s - p : p - s;
43 return sad;
48 short sad = 0; local
54 sad += x;
56 return sad;
99 int sad = 0; local
147 int sad = 0; local
197 int sad = 0; local
255 long sad = 0; local
311 long sad = 1; \/\/ starts at 1 local
    [all...]
  /art/test/660-checker-simd-sad-int/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
40 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi>>,<<Ld1>>,<<Ld2>>] loop:<<Loop>> outer_loop:none
44 int sad = 0; local
46 sad += Math.abs(x[i] - y[i]);
48 return sad;
64 // No ABS? No SAD!
70 int sad = 0; local
74 sad += s >= p ? s - p : p - s;
76 return sad;
97 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi>>,<<Ld1>>,<<Ld2>>] loop:<<Loop>> outer_loop:non
101 int sad = 0; local
140 long sad = 0; local
177 long sad = 1; \/\/ starts at 1 local
    [all...]
  /art/test/660-checker-simd-sad-long/src/
Main.java 18 * Tests for SAD (sum of absolute differences).
44 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi2>>,<<Load1>>,<<Load2>>] loop:<<Loop>> outer_loop:none
48 long sad = 0; local
50 sad += Math.abs(x[i] - y[i]);
52 return sad;
69 // No ABS? No SAD!
75 long sad = 0; local
79 sad += s >= p ? s - p : p - s;
81 return sad;
106 /// CHECK-DAG: <<SAD:d\d+>> VecSADAccumulate [<<Phi2>>,<<Load1>>,<<Load2>>] loop:<<Loop>> outer_loop:non
110 long sad = 0; local
147 long sad = 1; \/\/ starts at 1 local
    [all...]
  /external/libhevc/encoder/arm/
ihevce_sad_compute_neon.c 26 * Contains definitions of functions to compute sad
78 uint32x2_t sad; local
94 sad = vadd_u32(
96 return vget_lane_u32(sad, 0);
106 uint32x2_t sad; local
124 sad = vadd_u32(
126 return vget_lane_u32(sad, 0);
136 uint32x2_t sad; local
158 sad = vadd_u32(
160 return vget_lane_u32(sad, 0)
170 uint32x2_t sad; local
213 WORD32 sad = 0; local
    [all...]
  /external/libaom/libaom/aom_dsp/
sad_av1.c 27 unsigned int sad = 0; local
31 sad += abs(pred - src[x]);
38 sad = (sad + 31) >> 6;
39 return sad;
88 unsigned int sad = 0; local
96 sad += abs(pred - src[x]);
104 sad = (sad + 31) >> 6;
106 return sad;
152 unsigned int sad = 0; local
203 unsigned int sad = 0; local
    [all...]
sad.c 22 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, function
25 unsigned int sad = 0; local
29 sad += abs(a[x] - b[x]);
35 return sad;
42 return sad(a, a_stride, b, b_stride, width, height); \
48 return sad(src, src_stride, ref, ref_stride, m, n); \
55 return sad(src, src_stride, comp_pred, m, m, n); \
63 return sad(src, src_stride, comp_pred, m, m, n); \
66 // Calculate sad against 4 reference locations and store each in sad_array
166 unsigned int sad = 0 local
184 unsigned int sad = 0; local
    [all...]
  /external/libvpx/libvpx/vpx_dsp/mips/
sad_mmi.c 363 unsigned int sad; local
379 "mfc1 %[sad], %[ftmp5] \n\t"
382 [src]"+&r"(src), [ref]"+&r"(ref), [sad]"=&r"(sad)
387 return sad;
405 unsigned int sad; local
423 "mfc1 %[sad], %[ftmp5] \n\t"
428 [sad]"=&r"(sad)
433 return sad;
449 unsigned int sad; local
493 unsigned int sad; local
538 unsigned int sad; local
586 unsigned int sad; local
631 unsigned int sad; local
679 unsigned int sad; local
723 unsigned int sad; local
767 unsigned int sad; local
    [all...]
  /external/libvpx/libvpx/vpx_dsp/ppc/
sad_vsx.c 177 unsigned int sad[4]; \
189 vec_vsx_st((uint32x4_t)v_sad, 0, sad); \
190 sad_array[i] += (sad[3] + sad[2] + sad[1] + sad[0]); \
201 unsigned int sad[4]; \
216 vec_vsx_st((uint32x4_t)v_sad, 0, sad); \
217 sad_array[i] += (sad[3] + sad[2] + sad[1] + sad[0]);
    [all...]
  /external/libmpeg2/common/x86/
icv_sad_ssse3.c 26 * This file contains the functions to compute SAD
60 * Compute 8x4 SAD
84 * SAD
97 WORD32 sad; local
134 /* Compute SAD for each row */
138 /* Accumulate SAD */
142 sad = _mm_cvtsi128_si32(res_r0);
144 return sad;

Completed in 1135 milliseconds

1 2 3 4