add a new interp filter search strategy.
authorYaowu Xu <yaowu@google.com>
Wed, 20 Aug 2014 18:17:05 +0000 (11:17 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 26 Aug 2014 16:05:04 +0000 (09:05 -0700)
commit1144fee3d509aa4cb6dffba04ea0abcc0f9cf909
tree2ee686244a8489e131910f99d64a7b9bb220cdaf
parentdccddfdfbc1b12bf4df508db36f80a422c225247
add a new interp filter search strategy.

This commit addes a new strategy to reduce the search for optimal
interpolation filter type. The encoder counts and store how many each
filter type is selected and used for each of the reference frames.
A filter type that is rarely used for all three reference frames is
masked out to avoid computation.

The impact on compression is neglectible:
-0.02% on derf
+0.02% on stdhd

Encoding time is seen to reduce by 2~3%.

Change-Id: Ibafa92291b51185de40da513716222db4b230383
vp9/encoder/vp9_bitstream.c
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h