Make the partition search early termination feature to be frame size dependent
authorYunqing Wang <yunqingwang@google.com>
Wed, 8 Mar 2017 20:24:15 +0000 (12:24 -0800)
committerYunqing Wang <yunqingwang@google.com>
Wed, 8 Mar 2017 20:56:41 +0000 (12:56 -0800)
commit099e9bf1ff823ca3720c7ba24791a1482c1e7d16
treed8ea82e85ffd8216a7e65b962225cd78d278616b
parent2fa710aa6db08aabd00f139274780e9300e815f1
Make the partition search early termination feature to be frame size dependent

The 2 thresholds(i.e. partition_search_breakout_dist_thr and
partition_search_breakout_rate_thr) are used as the partition search
early termination speed feature. This refactoring patch made this
feature to be frame size dependent consistently throughout the code.

Change-Id: Idaa0bd8400badaa0f8e2091e3f41ed2544e71be9
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h