From: chiyotsai Date: Fri, 18 Jan 2019 23:27:34 +0000 (-0800) Subject: Enable SSE4 version of apply temporal filter X-Git-Tag: v1.8.1~291^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f3cd48bfe4541ca64883db51f57c1376c6d8a73;p=libvpx 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 --- diff --git a/vp9/encoder/vp9_temporal_filter.c b/vp9/encoder/vp9_temporal_filter.c index bc8619bbe..04b589ac3 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_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 @@ void vp9_temporal_filter_iterate_row_c(VP9_COMP *cpi, ThreadData *td, } #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),