summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_if.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2014-02-14 15:55:49 -0800
committerYunqing Wang <yunqingwang@google.com>2014-02-18 14:35:16 -0800
commit360c80cfb95559b3a49fc4624a24dee01e1abb6a (patch)
tree434dcbbaa10e1c8a6c6017afe65d7d2bbb28fdbb /vp9/encoder/vp9_onyx_if.c
parent0000e3a8c7a100bd60cc41f28d553f4b6a2a9c88 (diff)
downloadlibvpx-360c80cfb95559b3a49fc4624a24dee01e1abb6a.tar
libvpx-360c80cfb95559b3a49fc4624a24dee01e1abb6a.tar.gz
libvpx-360c80cfb95559b3a49fc4624a24dee01e1abb6a.tar.bz2
libvpx-360c80cfb95559b3a49fc4624a24dee01e1abb6a.zip
Use fast HEX search in real time mode
In good quality mode motion search, the best matches are normally found after searching in a large area. In real time mode, to make encoding fast, a center-biased fast HEX search is used, which converges quickly most of the time. A 4-point diamond search is also carried out as the following refining search, which gives more precise results, and maintains good motion search quality. At speed 5, the borg test on rtc set showed an overall PSNR loss of 0.936%. The encoding speed gain is 4% - 5%. Change-Id: I42cd68bb56a09ca1b86293c99d5f7312225ca7ae
Diffstat (limited to 'vp9/encoder/vp9_onyx_if.c')
-rw-r--r--vp9/encoder/vp9_onyx_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c
index 84a0e6069..b83c1f98c 100644
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -861,6 +861,8 @@ static void set_rt_speed_feature(VP9_COMMON *cm,
}
sf->frame_parameter_update = 0;
sf->encode_breakout_thresh = 1000;
+
+ sf->search_method = FAST_HEX;
}
if (speed >= 6) {
sf->always_this_block_size = BLOCK_16X16;