diff options
author | Yunqing Wang <yunqingwang@google.com> | 2011-07-13 14:51:02 -0400 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2011-07-13 14:51:02 -0400 |
commit | 0e9a6ed72a06dd367049d33ec656f7e3bf2211a2 (patch) | |
tree | 7be9d2753dac5f0b0da4397a149807aec86d0678 | |
parent | 84c3cd79d1f551f18fb74db7405f5df1f3260129 (diff) | |
download | libvpx-0e9a6ed72a06dd367049d33ec656f7e3bf2211a2.tar libvpx-0e9a6ed72a06dd367049d33ec656f7e3bf2211a2.tar.gz libvpx-0e9a6ed72a06dd367049d33ec656f7e3bf2211a2.tar.bz2 libvpx-0e9a6ed72a06dd367049d33ec656f7e3bf2211a2.zip |
Add improvements made in good-quality mode to real-time mode
Several improvements we made in good-quality mode can be added
into real-time mode to speed up encoding in speed 1, 2, and 3
with small quality loss. Tests using tulip clip showed:
--rt --cpu-used=-1
(before change)
PSNR: 38.028
time: 1m33.195s
(after change)
PSNR: 38.014
time: 1m20.851s
--rt --cpu-used=-2
(before change)
PSNR: 37.773
time: 0m57.650s
(after change)
PSNR: 37.759
time: 0m54.594s
--rt --cpu-used=-3
(before change)
PSNR: 37.392
time: 0m42.865s
(after change)
PSNR: 37.375
time: 0m41.949s
Change-Id: I76ab2a38d72bc5efc91f6fe20d332c472f6510c9
-rw-r--r-- | vp8/encoder/onyx_if.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index d2b0bf36a..85d63563a 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -898,6 +898,10 @@ void vp8_set_speed_features(VP8_COMP *cpi) sf->improved_quant = 0; sf->improved_dct = 0; + + sf->use_fastquant_for_pick = 1; + sf->no_skip_block4x4_search = 0; + sf->first_step = 1; } if (Speed > 1) |