Commit a615c404 authored by Attila Nagy's avatar Attila Nagy
Browse files

Use var8x8 instead of get8x8var in VP8_UVSSE

  'sum' returned by get8x8var is not used and var8x8 has optimizations
  for more platforms.

Change-Id: I4a907fb1a05f285669fb0b95dc71d42182c980f6
parent d75eb736
...@@ -464,11 +464,10 @@ int VP8_UVSSE(MACROBLOCK *x, const vp8_variance_rtcd_vtable_t *rtcd) ...@@ -464,11 +464,10 @@ int VP8_UVSSE(MACROBLOCK *x, const vp8_variance_rtcd_vtable_t *rtcd)
} }
else else
{ {
int sum2, sum1; VARIANCE_INVOKE(rtcd, var8x8)(uptr, pre_stride,
VARIANCE_INVOKE(rtcd, get8x8var)(uptr, pre_stride, upred_ptr, uv_stride, &sse2);
upred_ptr, uv_stride, &sse2, &sum2); VARIANCE_INVOKE(rtcd, var8x8)(vptr, pre_stride,
VARIANCE_INVOKE(rtcd, get8x8var)(vptr, pre_stride, vpred_ptr, uv_stride, &sse1);
vpred_ptr, uv_stride, &sse1, &sum1);
sse2 += sse1; sse2 += sse1;
} }
return sse2; return sse2;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment