/external/libyuv/files/unit_test/ |
D | compare_test.cc | 36 align_buffer_page_end(src_a, kMaxTest); in TEST_F() 48 src_a[i] = (fastrand() & 0xff); in TEST_F() 52 uint32 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F() 57 memcpy(src_a + kMaxTest / 2, src_b + kMaxTest / 2, kMaxTest / 2); in TEST_F() 58 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F() 63 memcpy(src_a + kMaxTest / 2, src_a, kMaxTest / 2); in TEST_F() 65 memcpy(src_a, src_b, kMaxTest / 2); in TEST_F() 66 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F() 71 memcpy(src_a, src_b, kMaxTest); in TEST_F() 72 h1 = HashDjb2(src_a, kMaxTest, 5381); in TEST_F() [all …]
|
/external/libyuv/files/source/ |
D | compare.cc | 115 uint64 ComputeSumSquareError(const uint8* src_a, 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, in ComputeSumSquareErrorPlane() argument 180 sse += ComputeSumSquareError(src_a, src_b, width); in ComputeSumSquareErrorPlane() 181 src_a += stride_a; in ComputeSumSquareErrorPlane() [all …]
|
D | compare_neon64.cc | 23 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument 50 : "+r"(src_a), in SumSquareError_NEON()
|
D | compare_neon.cc | 24 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument 52 : "+r"(src_a), in SumSquareError_NEON()
|
D | compare_common.cc | 20 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()
|
D | compare_gcc.cc | 25 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()
|
D | convert_argb.cc | 575 const uint8* src_a, in I420AlphaToARGBMatrix() argument 675 I422AlphaToARGBRow(src_y, src_u, src_v, src_a, dst_argb, yuvconstants, in I420AlphaToARGBMatrix() 681 src_a += src_stride_a; in I420AlphaToARGBMatrix() 699 const uint8* src_a, in I420AlphaToARGB() argument 707 src_stride_v, src_a, src_stride_a, dst_argb, in I420AlphaToARGB() 720 const uint8* src_a, in I420AlphaToABGR() argument 729 src_u, src_stride_u, src_a, src_stride_a, dst_abgr, dst_stride_abgr, in I420AlphaToABGR()
|
D | compare_win.cc | 25 SumSquareError_SSE2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_SSE2() argument 66 SumSquareError_AVX2(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_AVX2() argument
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | compare.cc | 116 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 …]
|
D | compare_neon64.cc | 23 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument 50 : "+r"(src_a), in SumSquareError_NEON()
|
D | compare_neon.cc | 24 uint32 SumSquareError_NEON(const uint8* src_a, const uint8* src_b, int count) { in SumSquareError_NEON() argument 52 : "+r"(src_a), in SumSquareError_NEON()
|
D | compare_common.cc | 20 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()
|
D | compare_gcc.cc | 25 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()
|
D | convert_argb.cc | 563 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()
|
D | compare_win.cc | 25 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/util/ |
D | psnr.cc | 41 static uint32 SumSquareError_NEON(const uint8* src_a, in SumSquareError_NEON() argument 69 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON() 76 static uint32 SumSquareError_NEON(const uint8* src_a, in SumSquareError_NEON() argument 103 : "+r"(src_a), "+r"(src_b), "+r"(count), "=r"(sse) in SumSquareError_NEON() 149 static uint32 SumSquareError_SSE2(const uint8* src_a, in SumSquareError_SSE2() argument 182 : "+r"(src_a), // %0 in SumSquareError_SSE2() 231 static uint32 SumSquareError_C(const uint8* src_a, in SumSquareError_C() argument 236 int diff = src_a[x] - src_b[x]; in SumSquareError_C() 242 double ComputeSumSquareError(const uint8* src_a, in ComputeSumSquareError() argument 245 uint32 (*SumSquareError)(const uint8* src_a, const uint8* src_b, int count) = in ComputeSumSquareError() [all …]
|
/external/webp/src/demux/ |
D | anim_decode.c | 197 static uint8_t BlendChannelNonPremult(uint32_t src, uint8_t src_a, in BlendChannelNonPremult() argument 202 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult() 209 const uint8_t src_a = (src >> 24) & 0xff; in BlendPixelNonPremult() local 211 if (src_a == 0) { in BlendPixelNonPremult() 217 const uint8_t dst_factor_a = (dst_a * (256 - src_a)) >> 8; in BlendPixelNonPremult() 218 const uint8_t blend_a = src_a + dst_factor_a; in BlendPixelNonPremult() 222 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 0); in BlendPixelNonPremult() 224 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 8); in BlendPixelNonPremult() 226 BlendChannelNonPremult(src, src_a, dst, dst_factor_a, scale, 16); in BlendPixelNonPremult() 227 assert(src_a + dst_factor_a < 256); in BlendPixelNonPremult() [all …]
|
/external/libyuv/files/include/libyuv/ |
D | compare_row.h | 70 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);
|
D | compare.h | 32 uint64 ComputeSumSquareError(const uint8* src_a, const uint8* src_b, int count); 35 uint64 ComputeSumSquareErrorPlane(const uint8* src_a, 48 double CalcFramePsnr(const uint8* src_a, 72 double CalcFrameSsim(const uint8* src_a,
|
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
D | compare.h | 32 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,
|
D | convert_argb.h | 98 const uint8* src_a, int src_stride_a, 107 const uint8* src_a, int src_stride_a,
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 181 nir_ssa_def *src_a, in vc4_blend_channel_i() argument 192 return src_a; in vc4_blend_channel_i() 200 src_a, in vc4_blend_channel_i() 213 return nir_inot(b, src_a); in vc4_blend_channel_i() 343 nir_ssa_def *src_a = nir_pack_unorm_4x8(b, src_float_a); in vc4_do_blending_i() local 360 src_a, dst_a, in vc4_do_blending_i() 365 src_a, dst_a, in vc4_do_blending_i() 374 src_a, dst_a, in vc4_do_blending_i() 386 src_a, dst_a, in vc4_do_blending_i()
|
/external/deqp/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedBase.cpp | 256 glw::GLenum dst_rgb, glw::GLenum src_a, in SetBlendFuncSeparatei() argument 259 gl.blendFuncSeparatei(idx, src_rgb, dst_rgb, src_a, dst_a); in SetBlendFuncSeparatei() 261 state[idx].func_src_a = src_a; in SetBlendFuncSeparatei() 336 glw::GLenum src_a, glw::GLenum dst_a) in SetBlendFuncSeparate() argument 339 gl.blendFuncSeparate(src_rgb, dst_rgb, src_a, dst_a); in SetBlendFuncSeparate() 343 state[i].func_src_a = src_a; in SetBlendFuncSeparate()
|
D | esextcDrawBuffersIndexedBase.hpp | 105 void SetBlendFuncSeparatei(int idx, glw::GLenum src_rgb, glw::GLenum dst_rgb, glw::GLenum src_a, 113 …void SetBlendFuncSeparate(glw::GLenum src_rgb, glw::GLenum dst_rgb, glw::GLenum src_a, glw::GLenum…
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | variance_avx2.c | 292 const __m256i src_a = _mm256_loadu_si256((__m256i const *)src); in spv32_x4_y4() local 294 __m256i prev_src_avg = _mm256_avg_epu8(src_a, src_b); in spv32_x4_y4() 384 const __m256i src_a = _mm256_loadu_si256((__m256i const *)src); in spv32_x4_yb() local 386 __m256i prev_src_avg = _mm256_avg_epu8(src_a, src_b); in spv32_x4_yb() 423 const __m256i src_a = _mm256_loadu_si256((__m256i const *)src); in spv32_xb_y4() local 428 exp_src_lo = _mm256_unpacklo_epi8(src_a, src_b); in spv32_xb_y4() 429 exp_src_hi = _mm256_unpackhi_epi8(src_a, src_b); in spv32_xb_y4() 476 const __m256i src_a = _mm256_loadu_si256((__m256i const *)src); in spv32_xb_yb() local 481 exp_src_lo = _mm256_unpacklo_epi8(src_a, src_b); in spv32_xb_yb() 482 exp_src_hi = _mm256_unpackhi_epi8(src_a, src_b); in spv32_xb_yb()
|