Home
last modified time | relevance | path

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

/external/libyuv/files/unit_test/
Dcompare_test.cc37 align_buffer_page_end(src_b, kMaxTest); in TEST_F()
48 src_b[i] = (fastrand() & 0xff); in TEST_F()
52 uint32 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
56 memcpy(src_a + kMaxTest / 2, src_b + kMaxTest / 2, kMaxTest / 2); in TEST_F()
58 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
63 memcpy(src_b + kMaxTest / 2, src_b, kMaxTest / 2); in TEST_F()
64 memcpy(src_a, src_b, kMaxTest / 2); in TEST_F()
66 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
70 memcpy(src_a, src_b, kMaxTest); in TEST_F()
72 h2 = HashDjb2(src_b, kMaxTest, 5381); in TEST_F()
[all …]
/external/libvpx/libvpx/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()
Dcompare_win.cc24 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_SSE2() argument
65 uint32 SumSquareError_AVX2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_AVX2() argument
/external/libyuv/files/util/
Dpsnr.cc42 const uint8* src_b, int count) { in SumSquareError_NEON() argument
69 "+r"(src_b), in SumSquareError_NEON()
79 const uint8* src_b, int count) { in SumSquareError_NEON() argument
105 "+r"(src_b), in SumSquareError_NEON()
154 const uint8* src_b, int count) { in SumSquareError_SSE2() argument
186 "+r"(src_b), // %1 in SumSquareError_SSE2()
232 const uint8* src_b, int count) { in SumSquareError_C() argument
235 int diff = src_a[x] - src_b[x]; in SumSquareError_C()
242 const uint8* src_b, int count) { in ComputeSumSquareError() argument
244 const uint8* src_b, int count) = SumSquareError_C; in ComputeSumSquareError()
[all …]
/external/libyuv/files/source/
Dcompare.cc116 uint64 ComputeSumSquareError(const uint8* src_a, 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()
166 const uint8* src_b, int stride_b, in ComputeSumSquareErrorPlane() argument
178 sse += ComputeSumSquareError(src_a, src_b, width); in ComputeSumSquareErrorPlane()
180 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()
Dcompare_win.cc25 uint32 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_SSE2() argument
66 uint32 SumSquareError_AVX2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_AVX2() argument
/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.h33 const uint8* src_b, int count);
37 const uint8* src_b, int stride_b,
47 const uint8* src_b, int stride_b,
61 const uint8* src_b, int stride_b,
/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp2188 int src_b = FXARGB_B(argb); in _CompositeRow_8bppRgb2Rgb_NoBlend() local
2197 *dest_scan++ = src_b; in _CompositeRow_8bppRgb2Rgb_NoBlend()
2207 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, src_alpha); in _CompositeRow_8bppRgb2Rgb_NoBlend()
2221 int src_b = FXARGB_B(argb); in _CompositeRow_8bppRgb2Rgb_NoBlend() local
2223 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, clip_scan[col]); in _CompositeRow_8bppRgb2Rgb_NoBlend()
2230 *dest_scan++ = src_b; in _CompositeRow_8bppRgb2Rgb_NoBlend()
2257 int src_r, src_g, src_b; in _CompositeRow_1bppRgb2Rgb_NoBlend() local
2261 src_b = set_b; in _CompositeRow_1bppRgb2Rgb_NoBlend()
2265 src_b = reset_b; in _CompositeRow_1bppRgb2Rgb_NoBlend()
2268 *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.h33 const uint8* src_b, int count);
37 const uint8* src_b, int stride_b,
47 const uint8* src_b, int stride_b,
61 const uint8* src_b, int stride_b,
/external/pdfium/core/src/fxge/agg/src/
Dfx_agg_driver.cpp1316 int src_r = FXARGB_R(argb), src_g = FXARGB_G(argb), src_b = FXARGB_B(argb); in RgbByteOrderCompositeRect() local
1334 *dest_scan++ = src_b; in RgbByteOrderCompositeRect()
1342 src_b = FX_GAMMA(src_b); in RgbByteOrderCompositeRect()
1350 FXARGB_MAKE(src_alpha, src_r, src_g, src_b)); in RgbByteOrderCompositeRect()
1362 *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, src_b, alpha_ratio); in RgbByteOrderCompositeRect()
1374 FXDIB_ALPHA_MERGE(FX_GAMMA(*dest_scan), src_b, src_alpha)); in RgbByteOrderCompositeRect()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp1541 uint8_t src_b = 0, src_g = 0, src_r = 0; in ReSampleScanline() local
1544 src_g, src_b); in ReSampleScanline()
1545 des_b += pixel_weight * src_b; in ReSampleScanline()
1638 uint8_t src_b = 0, src_g = 0, src_r = 0; in ReSampleScanline() local
1641 src_g, src_b); in ReSampleScanline()
1642 des_b += pixel_weight * src_b; in ReSampleScanline()
/external/libgdx/gdx/jni/gdx2d/
Dgdx2d.c172 int32_t src_b = (src & 0xff00) >> 8; in blend() local
182 dst_b = dst_b + src_a * (src_b - dst_b) / 255; in blend()