Home
last modified time | relevance | path

Searched refs:src_a (Results 1 – 25 of 29) sorted by relevance

12

/external/libyuv/files/unit_test/
Dcompare_test.cc36 align_buffer_page_end(src_a, kMaxTest); in TEST_F()
47 src_a[i] = (fastrand() & 0xff); in TEST_F()
51 uint32 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
56 memcpy(src_a + kMaxTest / 2, src_b + kMaxTest / 2, kMaxTest / 2); in TEST_F()
57 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
62 memcpy(src_a + kMaxTest / 2, src_a, kMaxTest / 2); in TEST_F()
64 memcpy(src_a, src_b, kMaxTest / 2); in TEST_F()
65 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
70 memcpy(src_a, src_b, kMaxTest); in TEST_F()
71 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F()
[all …]
Dconvert_test.cc532 align_buffer_page_end(src_a, kWidth * kHeight + OFF); \
537 src_a[i + OFF] = (fastrand() & 0xff); \
549 src_a + OFF, kWidth, \
557 src_a + OFF, kWidth, \
574 free_aligned_buffer_page_end(src_a); \
1797 align_buffer_page_end(src_a, kWidth * kHeight + OFF); \
1801 src_a[i + OFF] = (fastrand() & 0xff); \
1812 src_a + OFF, kWidth, \
1826 src_a + OFF, kWidth, \
1839 free_aligned_buffer_page_end(src_a); \
Dplanar_test.cc1253 align_buffer_page_end(src_a, width * height + off); in TestI420Blend()
1267 MemRandomize(src_a, width * height + off); in TestI420Blend()
1282 src_a + off, width, in TestI420Blend()
1295 src_a + off, width, in TestI420Blend()
1314 free_aligned_buffer_page_end(src_a); in TestI420Blend()
/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()
183 src_a += count & ~(kBlockSize - 1); in ComputeSumSquareError()
186 sse += SumSquareError(src_a, src_b, remainder); in ComputeSumSquareError()
187 src_a += remainder; in ComputeSumSquareError()
[all …]
Dcompare_neon64.cc21 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
49 : "+r"(src_a), in SumSquareError_NEON()
Dcompare_neon.cc22 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
51 : "+r"(src_a), 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
52 : "+r"(src_a), // %0 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.cc41 static uint32 SumSquareError_NEON(const uint8* src_a, in SumSquareError_NEON() argument
68 : "+r"(src_a), in SumSquareError_NEON()
78 static uint32 SumSquareError_NEON(const uint8* src_a, in SumSquareError_NEON() argument
104 : "+r"(src_a), in SumSquareError_NEON()
153 static uint32 SumSquareError_SSE2(const uint8* src_a, in SumSquareError_SSE2() argument
185 : "+r"(src_a), // %0 in SumSquareError_SSE2()
231 static uint32 SumSquareError_C(const uint8* src_a, in SumSquareError_C() argument
235 int diff = src_a[x] - src_b[x]; in SumSquareError_C()
241 double ComputeSumSquareError(const uint8* src_a, in ComputeSumSquareError() argument
243 uint32 (*SumSquareError)(const uint8* src_a, 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()
150 src_a += count & ~(kBlockSize - 1); in ComputeSumSquareError()
153 sse += SumSquareError(src_a, src_b, remainder); in ComputeSumSquareError()
154 src_a += remainder; in ComputeSumSquareError()
159 sse += SumSquareError_C(src_a, src_b, remainder); in ComputeSumSquareError()
165 uint64 ComputeSumSquareErrorPlane(const uint8* src_a, int stride_a, in ComputeSumSquareErrorPlane() argument
178 sse += ComputeSumSquareError(src_a, src_b, width); in ComputeSumSquareErrorPlane()
179 src_a += stride_a; in ComputeSumSquareErrorPlane()
[all …]
Dcompare_neon64.cc23 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
50 : "+r"(src_a), in SumSquareError_NEON()
Dcompare_neon.cc24 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument
52 : "+r"(src_a), 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
56 : "+r"(src_a), // %0 in SumSquareError_SSE2()
Dconvert_argb.cc563 const uint8* src_a, int src_stride_a, in I420AlphaToARGBMatrix() argument
646 I422AlphaToARGBRow(src_y, src_u, src_v, src_a, dst_argb, yuvconstants, in I420AlphaToARGBMatrix()
652 src_a += src_stride_a; in I420AlphaToARGBMatrix()
667 const uint8* src_a, int src_stride_a, in I420AlphaToARGB() argument
673 src_a, src_stride_a, in I420AlphaToARGB()
684 const uint8* src_a, int src_stride_a, in I420AlphaToABGR() argument
690 src_a, src_stride_a, in I420AlphaToABGR()
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.h32 uint64 ComputeSumSquareError(const uint8* src_a,
36 uint64 ComputeSumSquareErrorPlane(const uint8* src_a, int stride_a,
46 double CalcFramePsnr(const uint8* src_a, int stride_a,
60 double CalcFrameSsim(const uint8* src_a, int stride_a,
Dconvert_argb.h90 const uint8* src_a, int src_stride_a,
99 const uint8* src_a, int src_stride_a,
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dcompare.h32 uint64 ComputeSumSquareError(const uint8* src_a,
36 uint64 ComputeSumSquareErrorPlane(const uint8* src_a, int stride_a,
46 double CalcFramePsnr(const uint8* src_a, int stride_a,
60 double CalcFrameSsim(const uint8* src_a, int stride_a,
/external/webp/src/demux/
Danim_decode.c193 static uint8_t BlendChannelNonPremult(uint32_t src, uint8_t src_a, in BlendChannelNonPremult() argument
198 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()
205 const uint8_t src_a = (src >> 24) & 0xff; in BlendPixelNonPremult() local
207 if (src_a == 0) { in BlendPixelNonPremult()
213 const uint8_t dst_factor_a = (dst_a * (256 - src_a)) >> 8; in BlendPixelNonPremult()
214 const uint8_t blend_a = src_a + dst_factor_a; in BlendPixelNonPremult()
218 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 0); in BlendPixelNonPremult()
220 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 8); in BlendPixelNonPremult()
222 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 16); in BlendPixelNonPremult()
223 assert(src_a + dst_factor_a < 256); in BlendPixelNonPremult()
[all …]
/external/libgdx/gdx/jni/gdx2d/
Dgdx2d.c173 int32_t src_a = (src & 0xff); in blend() local
180 dst_r = dst_r + src_a * (src_r - dst_r) / 255; in blend()
181 dst_g = dst_g + src_a * (src_g - dst_g) / 255; in blend()
182 dst_b = dst_b + src_a * (src_b - dst_b) / 255; in blend()
183 dst_a = (int32_t)((1.0f - (1.0f - src_a / 255.0f) * (1.0f - dst_a / 255.0f)) * 255); in blend()
/external/libchrome/base/strings/
Dstring_util_unittest.cc536 const char* src_a; in TEST() member
545 EXPECT_TRUE(LowerCaseEqualsASCII(ASCIIToUTF16(lowercase_cases[i].src_a), in TEST()
547 EXPECT_TRUE(LowerCaseEqualsASCII(lowercase_cases[i].src_a, in TEST()
/external/webp/src/dec/
Dio.c275 const uint8_t* src_a = buf->a + p->last_y * buf->a_stride; in EmitRescaledAlphaYUV() local
280 WebPMultRows(dst_y, buf->y_stride, src_a, buf->a_stride, in EmitRescaledAlphaYUV()

12