diff options
author | Yunqing Wang <yunqingwang@google.com> | 2013-04-04 09:56:02 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2013-04-16 08:52:40 -0700 |
commit | 148eb803bbb3de3a8548445fe50c120ea872a882 (patch) | |
tree | 6e5fdcab8fda42c1c4fef48884cc429b6837c91d /test/tile_independence_test.cc | |
parent | b800ec1772b7d84c9c8272f4dab4661c9a696ded (diff) | |
download | libvpx-148eb803bbb3de3a8548445fe50c120ea872a882.tar libvpx-148eb803bbb3de3a8548445fe50c120ea872a882.tar.gz libvpx-148eb803bbb3de3a8548445fe50c120ea872a882.tar.bz2 libvpx-148eb803bbb3de3a8548445fe50c120ea872a882.zip |
Optimize the scaling calculation
In decoder, the scaling calculation, such as (mv * x_num / x_den),
is fairly time-consuming. In this patch, we check if the scaling
happens or not at frame level, and then decide which function to
call to skip scaling calculation when no scaling is needed. Tests
showed a 3% decoder performance gain.
Change-Id: I270901dd0331048e50368cfd51ce273dd82b8733
Diffstat (limited to 'test/tile_independence_test.cc')
0 files changed, 0 insertions, 0 deletions