shithub: libvpx

Download patch

ref: 9c3557e6d525e44ff5aa8d1f4d631f0782e48b30
parent: a4d2f59b691ac57698d299430495b398a8bb682c
author: Chi Yo Tsai <chiyotsai@google.com>
date: Tue Jan 29 15:24:29 EST 2019

Reland "Enable SSE4 version of apply temporal filter"

This reverts commit a4d2f59b691ac57698d299430495b398a8bb682c.

Reason for revert: Re-enables SSE4_1 version of apply temporal filter now that the mismatch is fixed in fa540837aa23ae8cdd926961ddbef71998a2a525,

Original change's description:
> Revert "Enable SSE4 version of apply temporal filter"
> 
> This reverts commit 4f3cd48bfe4541ca64883db51f57c1376c6d8a73.
> 
> Reason for revert: Found a mismatch with c version
> 
> Original change's description:
> > Enable SSE4 version of apply temporal filter
> > 
> > Evaluating on 5 midres clips with 4 bitrates over 30 frames on speed 1
> > auto_alt_ref=1, there is a speed up of 1.660%.
> > 
> > BUG=webm:1591
> > 
> > Change-Id: Idbda58548679e6f7b8fc0d7f6144f7be057ef690
> 
> TBR=yunqingwang@google.com,builds@webmproject.org,chiyotsai@google.com
> 
> Change-Id: Ibca973576d72d6db4b647a08aef23389d5d6605a
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: webm:1591

TBR=yunqingwang@google.com,builds@webmproject.org,chiyotsai@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: webm:1591
Change-Id: I26effdbaf4d52e4650c263b6ed9d3d80e505f5cb

--- a/vp9/encoder/vp9_temporal_filter.c
+++ b/vp9/encoder/vp9_temporal_filter.c
@@ -776,7 +776,7 @@
               count + (BLK_PELS << 1));
         } else {
           // Apply the filter (YUV)
-          vp9_apply_temporal_filter_c(
+          vp9_apply_temporal_filter(
               f->y_buffer + mb_y_offset, f->y_stride, predictor, BW,
               f->u_buffer + mb_uv_offset, f->v_buffer + mb_uv_offset,
               f->uv_stride, predictor + BLK_PELS, predictor + (BLK_PELS << 1),
@@ -787,7 +787,7 @@
         }
 #else
         // Apply the filter (YUV)
-        vp9_apply_temporal_filter_c(
+        vp9_apply_temporal_filter(
             f->y_buffer + mb_y_offset, f->y_stride, predictor, BW,
             f->u_buffer + mb_uv_offset, f->v_buffer + mb_uv_offset,
             f->uv_stride, predictor + BLK_PELS, predictor + (BLK_PELS << 1),