Lines Matching refs:src_a
115 uint64 ComputeSumSquareError(const uint8* src_a,
125 uint32 (*SumSquareError)(const uint8* src_a, const uint8* src_b, int count) =
148 sse += SumSquareError(src_a + i, src_b + i, kBlockSize);
150 src_a += count & ~(kBlockSize - 1);
153 sse += SumSquareError(src_a, src_b, remainder);
154 src_a += remainder;
159 sse += SumSquareError_C(src_a, src_b, remainder);
165 uint64 ComputeSumSquareErrorPlane(const uint8* src_a,
180 sse += ComputeSumSquareError(src_a, src_b, width);
181 src_a += stride_a;
204 double CalcFramePsnr(const uint8* src_a,
211 const uint64 sse = ComputeSumSquareErrorPlane(src_a, stride_a, src_b,
247 static double Ssim8x8_C(const uint8* src_a,
261 sum_a += src_a[j];
263 sum_sq_a += src_a[j] * src_a[j];
265 sum_axb += src_a[j] * src_b[j];
268 src_a += stride_a;
301 double CalcFrameSsim(const uint8* src_a,
309 double (*Ssim8x8)(const uint8* src_a, int stride_a, const uint8* src_b,
317 ssim_total += Ssim8x8(src_a + j, stride_a, src_b + j, stride_b);
321 src_a += stride_a * 4;