Lines Matching refs:source
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
8 * be found in the AUTHORS file in the root of the source tree.
22 extern int vp8_calc_ss_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, const vp8_variance_rtcd_vtable_t *rtcd);
65 static int vp8_calc_partial_ssl_err(YV12_BUFFER_CONFIG *source, YV12_BUFFER_CONFIG *dest, int Fraction, const vp8_variance_rtcd_vtable_t *rtcd)
70 unsigned char *src = source->y_buffer;
73 int linestocopy = (source->y_height >> (Fraction + 4));
82 srcoffset = source->y_stride * (dest->y_height >> 5) * 16;
91 for (j = 0; j < source->y_width; j += 16)
94 Total += VARIANCE_INVOKE(rtcd, mse16x16)(src + j, source->y_stride, dst + j, dest->y_stride, &sse);
97 src += 16 * source->y_stride;