Nonrd-pickmode: avoid duplicate computation of UV predictor.
authorMarco <marpan@google.com>
Thu, 30 Nov 2017 20:08:00 +0000 (12:08 -0800)
committerMarco <marpan@google.com>
Thu, 30 Nov 2017 20:41:58 +0000 (12:41 -0800)
commit2e701f7c29eb56a67af3c79833146290bc21b412
tree3a3462238924ef0e70984f2bd7053c670e1b588f
parent392e0188f68b024c6e7f99f1fdc54aa70f755aaa
Nonrd-pickmode: avoid duplicate computation of UV predictor.

Avoids duplicate computation of UV predictor.

Bit-exact when static_threshold is zero.
Small/neutral difference on RTC set with nonzero static_threshold
(since UV predictor won't be skipped with this change).

Small speed gain, ~1-2%, at speed 8.

Change-Id: Iba8d22a307768b391e29d63c9826aac5a4d9c285
vp9/encoder/vp9_pickmode.c