summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_if.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2011-05-27 13:31:15 -0400
committerYunqing Wang <yunqingwang@google.com>2011-05-27 14:05:02 -0400
commit4d052bdd916bac550a2500b0b5ab4693b5a7ab6a (patch)
treeff120572653ce983ffaf9718d0262ce3665e0946 /vp8/encoder/onyx_if.c
parent5a8cbb895550983774247a7d9e80092ee82f5122 (diff)
downloadlibvpx-4d052bdd916bac550a2500b0b5ab4693b5a7ab6a.tar
libvpx-4d052bdd916bac550a2500b0b5ab4693b5a7ab6a.tar.gz
libvpx-4d052bdd916bac550a2500b0b5ab4693b5a7ab6a.tar.bz2
libvpx-4d052bdd916bac550a2500b0b5ab4693b5a7ab6a.zip
Use hex search for realtime mode speed>4
Test showed using hex search in realtime mode largely speed up encoding process, and still achieves similar quality like the diamond search we have. Therefore, removed the diamond search option. Change-Id: I975767d0ec0539f9f6ed7fdfc09506e39761b66c
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r--vp8/encoder/onyx_if.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index ae3aa0b04..35ba28b7f 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -980,11 +980,9 @@ void vp8_set_speed_features(VP8_COMP *cpi)
{
sf->auto_filter = 0; // Faster selection of loop filter
-#if CONFIG_REALTIME_ONLY
sf->search_method = HEX;
-#else
- sf->search_method = DIAMOND;
-#endif
+ //sf->search_method = DIAMOND;
+
sf->iterative_sub_pixel = 0;
cpi->mode_check_freq[THR_V_PRED] = 4;