From a4d2f59b691ac57698d299430495b398a8bb682c Mon Sep 17 00:00:00 2001 From: Chi Yo Tsai Date: Sat, 26 Jan 2019 01:30:20 +0000 Subject: [PATCH] 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 --- vp9/encoder/vp9_temporal_filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vp9/encoder/vp9_temporal_filter.c b/vp9/encoder/vp9_temporal_filter.c index 04b589ac3..bc8619bbe 100644 --- a/vp9/encoder/vp9_temporal_filter.c +++ b/vp9/encoder/vp9_temporal_filter.c @@ -776,7 +776,7 @@ void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td, count + (BLK_PELS << 1)); } else { // Apply the filter (YUV) - vp9_apply_temporal_filter( + vp9_apply_temporal_filter_c( 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 @@ void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td, } #else // Apply the filter (YUV) - vp9_apply_temporal_filter( + vp9_apply_temporal_filter_c( 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), -- 2.40.0