]> granicus.if.org Git - libvpx/commit
Make allow_exhaustive_searches feature no longer adaptive
authorYunqing Wang <yunqingwang@google.com>
Thu, 20 Apr 2017 00:00:08 +0000 (17:00 -0700)
committerYunqing Wang <yunqingwang@google.com>
Fri, 21 Apr 2017 18:14:02 +0000 (11:14 -0700)
commitbca4564683a35c795973ce2a318cc4f1391f9bbb
treec8e636c353ec937e59722a884c09fb216f26b88d
parent30ef50b522c7b568921ca3e37bcc71ca7cd52972
Make allow_exhaustive_searches feature no longer adaptive

A previous patch turned on allow_exhaustive_searches feature only for
FC_GRAPHICS_ANIMATION content. This patch further modified the feature
by removing the exhaustive search limit, and made it no longer adaptive.
As a result, the 2 counts that recorded the number of motion searches
were removed, which helped achieve the determinism in the row based
multi-threading encoding. Tests showed that this patch didn't cause
the encoder much slower.

Used exhaustive_searches_thresh for this speed feature, and removed
allow_exhaustive_searches. Also, refactored the speed feature code
to follow the general speed feature setting style.

Change-Id: Ib96b182c4c8dfff4c1ab91d2497cc42bb9e5a4aa
vp9/encoder/vp9_block.h
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_ethread.c
vp9/encoder/vp9_mcomp.c
vp9/encoder/vp9_multi_thread.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h