]> granicus.if.org Git - libvpx/commit
Specialize 4 to 3 scaling in vp9_scale_and_extend_frame_c()
authorLinfeng Zhang <linfengz@google.com>
Tue, 12 Sep 2017 18:37:04 +0000 (11:37 -0700)
committerLinfeng Zhang <linfengz@google.com>
Tue, 12 Sep 2017 19:05:16 +0000 (12:05 -0700)
commitafee58f2c4159172f5340f2c7d3e8041cfa0eb91
tree45495b84267d1744b6a0a6fa52080a69c6701765
parentc39cd9235ece2e55f0cc84fb0f9f5e698146ee9c
Specialize 4 to 3 scaling in vp9_scale_and_extend_frame_c()

Scale 3x3 block instead of 16x16 block in each loop.

Benefits:
1. Reduced number of different phase_scaler from 16 to 3. Optimization code
   will be smaller and faster.
2. The maximum phase_scaler drifting will be reduced from 5/16 to 1/24.
   (The drifting is 1/(3*16) in each step.)

BUG=webm:1419

Change-Id: Ibb9242a629ddb03e1ff93b859bece738255e698c
vp9/encoder/vp9_frame_scale.c