Lines Matching refs:src_a
121 uint64_t ComputeHammingDistance(const uint8_t* src_a,
130 uint32_t (*HammingDistance)(const uint8_t* src_a, const uint8_t* src_b,
161 diff += HammingDistance(src_a + i, src_b + i, kBlockSize);
163 src_a += count & ~(kBlockSize - 1);
166 diff += HammingDistance(src_a, src_b, remainder);
167 src_a += remainder;
172 diff += HammingDistance_C(src_a, src_b, remainder);
179 uint64_t ComputeSumSquareError(const uint8_t* src_a,
189 uint32_t (*SumSquareError)(const uint8_t* src_a, const uint8_t* src_b,
217 sse += SumSquareError(src_a + i, src_b + i, kBlockSize);
219 src_a += count & ~(kBlockSize - 1);
222 sse += SumSquareError(src_a, src_b, remainder);
223 src_a += remainder;
228 sse += SumSquareError_C(src_a, src_b, remainder);
234 uint64_t ComputeSumSquareErrorPlane(const uint8_t* src_a,
249 sse += ComputeSumSquareError(src_a, src_b, width);
250 src_a += stride_a;
274 double CalcFramePsnr(const uint8_t* src_a,
281 const uint64_t sse = ComputeSumSquareErrorPlane(src_a, stride_a, src_b,
318 static double Ssim8x8_C(const uint8_t* src_a,
332 sum_a += src_a[j];
334 sum_sq_a += src_a[j] * src_a[j];
336 sum_axb += src_a[j] * src_b[j];
339 src_a += stride_a;
372 double CalcFrameSsim(const uint8_t* src_a,
380 double (*Ssim8x8)(const uint8_t* src_a, int stride_a, const uint8_t* src_b,
388 ssim_total += Ssim8x8(src_a + j, stride_a, src_b + j, stride_b);
392 src_a += stride_a * 4;