Adjust coefficient optimization and tx_domain rd speed features.
authorpaulwilkins <paulwilkins@google.com>
Thu, 18 Aug 2016 13:15:25 +0000 (14:15 +0100)
committerpaulwilkins <paulwilkins@google.com>
Thu, 25 Aug 2016 14:36:16 +0000 (15:36 +0100)
commit635ae8bdc1f5f1fe9e94c2f14144ad4c8750b627
tree61a85fa03e9b4d8e4e39e8ad10a35598a56747c4
parentbf7a02a4cf0ed7f34c92fc3f974d94487cf44c02
Adjust  coefficient optimization  and tx_domain rd speed features.

Previously Tx domain rd was used in all cases above speed 0.
Coefficient optimization was only enabled for best and speed 0.

This patch selectively sets these features at other speed settings
based on block complexity.

For the Netflix and HD sets in particular the quality gains are
large compared to the speed hit. At speed 1 the average psnr
gain in the NF set  is > 2.5% with one clip coming in at 18%
and some points almost 30%.  Average gains for the lower
resolution test sets are around 1%.

The gains are biggest at low Q so some further optimization
may be possible.

Change-Id: I340376c7b2a78e5389a34b7ebdc41072808d0576
vp9/encoder/vp9_block.h
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h