• Yunqing Wang's avatar
    Make allow_exhaustive_searches feature no longer adaptive · bca45646
    Yunqing Wang authored
    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
    bca45646