vp9_rd_pick_inter_mode_sb() reorganization
authorAlex Converse <aconverse@google.com>
Thu, 20 Feb 2014 17:43:32 +0000 (09:43 -0800)
committerAlex Converse <aconverse@google.com>
Fri, 21 Feb 2014 02:06:25 +0000 (18:06 -0800)
commit463ba70581dab6620d51d9f7916a8756618ed183
tree9edfc5a008f9faa0125f2dca962efe2c913fac93
parentcd510ea828450279cefc0a0bcd40b9974372c8d7
vp9_rd_pick_inter_mode_sb() reorganization

* Reduce the number of short cirtcuit checks by pre-computing and combining like checks.
* Postpone non-trivial initializations until after the shortcircuits are evaluated.
* Add some consts and const pointers.

No change to the actual results of the call or output of the encoder.

Change-Id: Ie44c4702aec6e08cfe0b8b0ba3cd6b57206478d1
vp9/encoder/vp9_block.h
vp9/encoder/vp9_rdopt.c