Lines Matching refs:orig
2376 static uint64_t calc_plane_error(unsigned char *orig, int orig_stride,
2391 VARIANCE_INVOKE(rtcd, mse16x16)(orig + col, orig_stride,
2401 unsigned char *border_orig = orig;
2417 orig += orig_stride * 16;
2426 diff = orig[col] - recon[col];
2430 orig += orig_stride;
2440 YV12_BUFFER_CONFIG *orig = cpi->Source;
2449 sse = calc_plane_error(orig->y_buffer, orig->y_stride,
2461 sse = calc_plane_error(orig->u_buffer, orig->uv_stride,
2470 sse = calc_plane_error(orig->v_buffer, orig->uv_stride,
5117 YV12_BUFFER_CONFIG *orig = cpi->Source;
5120 int y_samples = orig->y_height * orig->y_width ;
5121 int uv_samples = orig->uv_height * orig->uv_width ;
5125 ye = calc_plane_error(orig->y_buffer, orig->y_stride,
5126 recon->y_buffer, recon->y_stride, orig->y_width, orig->y_height,
5129 ue = calc_plane_error(orig->u_buffer, orig->uv_stride,
5130 recon->u_buffer, recon->uv_stride, orig->uv_width, orig->uv_height,
5133 ve = calc_plane_error(orig->v_buffer, orig->uv_stride,
5134 recon->v_buffer, recon->uv_stride, orig->uv_width, orig->uv_height,
5153 ye = calc_plane_error(orig->y_buffer, orig->y_stride,
5154 pp->y_buffer, pp->y_stride, orig->y_width, orig->y_height,
5157 ue = calc_plane_error(orig->u_buffer, orig->uv_stride,
5158 pp->u_buffer, pp->uv_stride, orig->uv_width, orig->uv_height,
5161 ve = calc_plane_error(orig->v_buffer, orig->uv_stride,
5162 pp->v_buffer, pp->uv_stride, orig->uv_width, orig->uv_height,