Home
last modified time | relevance | path

Searched refs:src_b (Results 1 – 25 of 39) sorted by relevance

12

/external/libyuv/files/unit_test/
Dcompare_test.cc37 align_buffer_page_end(src_b, kMaxTest); in TEST_F()
49 src_b[i] = (fastrand() & 0xff); in TEST_F()
53 uint32 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
57 memcpy(src_a + kMaxTest / 2, src_b + kMaxTest / 2, kMaxTest / 2); in TEST_F()
59 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
64 memcpy(src_b + kMaxTest / 2, src_b, kMaxTest / 2); in TEST_F()
65 memcpy(src_a, src_b, kMaxTest / 2); in TEST_F()
67 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
71 memcpy(src_a, src_b, kMaxTest); in TEST_F()
73 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
[all …]
/external/libvpx/libvpx/third_party/libyuv/source/
Dcompare.cc122 const uint8_t* src_b, in ComputeHammingDistance() argument
130 uint32_t (*HammingDistance)(const uint8_t* src_a, const uint8_t* src_b, in ComputeHammingDistance()
161 diff += HammingDistance(src_a + i, src_b + i, kBlockSize); in ComputeHammingDistance()
164 src_b += count & ~(kBlockSize - 1); in ComputeHammingDistance()
166 diff += HammingDistance(src_a, src_b, remainder); in ComputeHammingDistance()
168 src_b += remainder; in ComputeHammingDistance()
172 diff += HammingDistance_C(src_a, src_b, remainder); in ComputeHammingDistance()
180 const uint8_t* src_b, in ComputeSumSquareError() argument
189 uint32_t (*SumSquareError)(const uint8_t* src_a, const uint8_t* src_b, in ComputeSumSquareError()
217 sse += SumSquareError(src_a + i, src_b + i, kBlockSize); in ComputeSumSquareError()
[all …]
Dcompare_gcc.cc27 const uint8_t* src_b, in HammingDistance_SSE42() argument
65 "+r"(src_b), // %1 in HammingDistance_SSE42()
75 const uint8_t* src_b,
104 "+r"(src_b), // %1
119 const uint8_t* src_b, in HammingDistance_SSSE3() argument
165 "+r"(src_b), // %1 in HammingDistance_SSSE3()
178 const uint8_t* src_b, in HammingDistance_AVX2() argument
221 "+r"(src_b), // %1 in HammingDistance_AVX2()
233 const uint8_t* src_b, in SumSquareError_SSE2() argument
267 "+r"(src_b), // %1 in SumSquareError_SSE2()
Dcompare_common.cc22 const uint8_t* src_b, in HammingDistance_C1() argument
28 int x = src_a[i] ^ src_b[i]; in HammingDistance_C1()
52 const uint8_t* src_b, in HammingDistance_C() argument
58 uint32_t x = *((const uint32_t*)src_a) ^ *((const uint32_t*)src_b); in HammingDistance_C()
63 src_b += 4; in HammingDistance_C()
67 uint32_t x = *src_a ^ *src_b; in HammingDistance_C()
72 src_b += 1; in HammingDistance_C()
79 const uint8_t* src_b, in SumSquareError_C() argument
84 int diff = src_a[i] - src_b[i]; in SumSquareError_C()
Dcompare_msa.cc26 const uint8_t* src_b, in HammingDistance_MSA() argument
36 src2 = (v16u8)__msa_ld_b((v16i8*)src_b, 0); in HammingDistance_MSA()
37 src3 = (v16u8)__msa_ld_b((v16i8*)src_b, 16); in HammingDistance_MSA()
43 src_b += 32; in HammingDistance_MSA()
53 const uint8_t* src_b, in SumSquareError_MSA() argument
65 src2 = (v16u8)__msa_ld_b((v16i8*)src_b, 0); in SumSquareError_MSA()
66 src3 = (v16u8)__msa_ld_b((v16i8*)src_b, 16); in SumSquareError_MSA()
80 src_b += 32; in SumSquareError_MSA()
Dcompare_neon64.cc26 const uint8_t* src_b, in HammingDistance_NEON() argument
46 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(diff) in HammingDistance_NEON()
53 const uint8_t* src_b, in SumSquareError_NEON() argument
79 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON()
Dcompare_neon.cc27 const uint8_t* src_b, in HammingDistance_NEON() argument
51 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(diff) in HammingDistance_NEON()
58 const uint8_t* src_b, in SumSquareError_NEON() argument
85 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON()
Dcompare_win.cc29 const uint8_t* src_b, in HammingDistance_SSE42() argument
35 uint32_t x = *((uint32_t*)src_a) ^ *((uint32_t*)src_b); // NOLINT in HammingDistance_SSE42()
37 src_b += 4; in HammingDistance_SSE42()
44 SumSquareError_SSE2(const uint8_t* src_a, const uint8_t* src_b, int count) { in SumSquareError_SSE2() argument
85 SumSquareError_AVX2(const uint8_t* src_a, const uint8_t* src_b, int count) { in SumSquareError_AVX2() argument
/external/libaom/libaom/third_party/libyuv/source/
Dcompare.cc130 uint32 SumSquareError_C(const uint8* src_a, const uint8* src_b, int count);
134 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count);
139 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count);
144 uint32 SumSquareError_AVX2(const uint8* src_a, const uint8* src_b, int count);
149 uint64 ComputeSumSquareError(const uint8* src_a, const uint8* src_b, in ComputeSumSquareError() argument
158 uint32 (*SumSquareError)(const uint8* src_a, const uint8* src_b, int count) = in ComputeSumSquareError()
181 sse += SumSquareError(src_a + i, src_b + i, kBlockSize); in ComputeSumSquareError()
184 src_b += count & ~(kBlockSize - 1); in ComputeSumSquareError()
186 sse += SumSquareError(src_a, src_b, remainder); in ComputeSumSquareError()
188 src_b += remainder; in ComputeSumSquareError()
[all …]
Dcompare_neon64.cc21 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
50 "+r"(src_b), in SumSquareError_NEON()
Dcompare_neon.cc22 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
52 "+r"(src_b), in SumSquareError_NEON()
Dcompare_common.cc18 uint32 SumSquareError_C(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_C() argument
22 int diff = src_a[i] - src_b[i]; in SumSquareError_C()
Dcompare_gcc.cc21 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_SSE2() argument
53 "+r"(src_b), // %1 in SumSquareError_SSE2()
/external/libyuv/files/source/
Dcompare.cc116 const uint8* src_b, in ComputeSumSquareError() argument
125 uint32 (*SumSquareError)(const uint8* src_a, const uint8* src_b, int count) = in ComputeSumSquareError()
148 sse += SumSquareError(src_a + i, src_b + i, kBlockSize); in ComputeSumSquareError()
151 src_b += count & ~(kBlockSize - 1); in ComputeSumSquareError()
153 sse += SumSquareError(src_a, src_b, remainder); in ComputeSumSquareError()
155 src_b += remainder; in ComputeSumSquareError()
159 sse += SumSquareError_C(src_a, src_b, remainder); in ComputeSumSquareError()
167 const uint8* src_b, in ComputeSumSquareErrorPlane() argument
180 sse += ComputeSumSquareError(src_a, src_b, width); in ComputeSumSquareErrorPlane()
182 src_b += stride_b; in ComputeSumSquareErrorPlane()
[all …]
Dcompare_neon64.cc23 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
51 "+r"(src_b), in SumSquareError_NEON()
Dcompare_neon.cc24 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
53 "+r"(src_b), in SumSquareError_NEON()
Dcompare_common.cc20 uint32 SumSquareError_C(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_C() argument
24 int diff = src_a[i] - src_b[i]; in SumSquareError_C()
Dcompare_gcc.cc25 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_SSE2() argument
57 "+r"(src_b), // %1 in SumSquareError_SSE2()
/external/libyuv/files/util/
Dpsnr.cc42 const uint8* src_b, in SumSquareError_NEON() argument
69 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON()
77 const uint8* src_b, in SumSquareError_NEON() argument
103 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON()
150 const uint8* src_b, in SumSquareError_SSE2() argument
183 "+r"(src_b), // %1 in SumSquareError_SSE2()
232 const uint8* src_b, in SumSquareError_C() argument
236 int diff = src_a[x] - src_b[x]; in SumSquareError_C()
243 const uint8* src_b, in ComputeSumSquareError() argument
245 uint32 (*SumSquareError)(const uint8* src_a, const uint8* src_b, int count) = in ComputeSumSquareError()
[all …]
/external/pdfium/core/fxge/dib/
Dcfx_scanlinecompositor.cpp1210 int src_b = FXARGB_B(argb); in CompositeRow_8bppRgb2Rgb_NoBlend() local
1219 *dest_scan++ = src_b; in CompositeRow_8bppRgb2Rgb_NoBlend()
1229 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, src_alpha); in CompositeRow_8bppRgb2Rgb_NoBlend()
1243 int src_b = FXARGB_B(argb); in CompositeRow_8bppRgb2Rgb_NoBlend() local
1245 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, clip_scan[col]); in CompositeRow_8bppRgb2Rgb_NoBlend()
1252 *dest_scan++ = src_b; in CompositeRow_8bppRgb2Rgb_NoBlend()
1280 int src_r, src_g, src_b; in CompositeRow_1bppRgb2Rgb_NoBlend() local
1284 src_b = set_b; in CompositeRow_1bppRgb2Rgb_NoBlend()
1288 src_b = reset_b; in CompositeRow_1bppRgb2Rgb_NoBlend()
1291 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, clip_scan[col]); in CompositeRow_1bppRgb2Rgb_NoBlend()
[all …]
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dcompare.h28 const uint8_t* src_b,
42 const uint8_t* src_b,
48 const uint8_t* src_b,
61 const uint8_t* src_b,
85 const uint8_t* src_b,
/external/libyuv/files/include/libyuv/
Dcompare_row.h70 uint32 SumSquareError_C(const uint8* src_a, const uint8* src_b, int count);
71 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count);
72 uint32 SumSquareError_AVX2(const uint8* src_a, const uint8* src_b, int count);
73 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count);
Dcompare.h32 uint64 ComputeSumSquareError(const uint8* src_a, const uint8* src_b, int count);
37 const uint8* src_b,
50 const uint8* src_b,
74 const uint8* src_b,
/external/libaom/libaom/third_party/libyuv/include/libyuv/
Dcompare.h34 const uint8* src_b, int count);
38 const uint8* src_b, int stride_b,
48 const uint8* src_b, int stride_b,
62 const uint8* src_b, int stride_b,
/external/libhevc/encoder/arm/
Dihevce_subpel_neon.c120 uint8x16_t src_b = load_unaligned_u8q(pu1_src_b, src_b_strd); in hme_4x4_qpel_interp_avg_neon() local
121 uint8x16_t dst = vrhaddq_u8(src_a, src_b); in hme_4x4_qpel_interp_avg_neon()
140 uint8x8_t src_b = vld1_u8(pu1_src_b); in hme_8xn_qpel_interp_avg_neon() local
141 uint8x8_t dst = vrhadd_u8(src_a, src_b); in hme_8xn_qpel_interp_avg_neon()
164 uint8x16_t src_b = vld1q_u8(pu1_src_b); in hme_16xn_qpel_interp_avg_neon() local
165 uint8x16_t dst = vrhaddq_u8(src_a, src_b); in hme_16xn_qpel_interp_avg_neon()

12