Stop partition checking when distortion is small
authorYunqing Wang <yunqingwang@google.com>
Fri, 6 Sep 2013 23:59:55 +0000 (16:59 -0700)
committerYunqing Wang <yunqingwang@google.com>
Tue, 10 Sep 2013 17:13:24 +0000 (10:13 -0700)
commit0607abc3dd26e6782ad9577765f9aeef311b0de9
tree55992bc655d2327e0859dc2416b51965913e5758
parentf6bc783d630cd191567259279be1b578a4825244
Stop partition checking when distortion is small

If the current obtained distortion is very small, which happens
for static image case, we pick the current partition type without
further split checking.

This won't affect regular videos. For static videos, we got 10%~12%
encoding speed gain. PSNR was better for some clips, and worse for
others. Overall it was even.

Change-Id: If787a57bedf46fc595ca4f5ded2b0c0a69e9fdef
vp9/encoder/vp9_encodeframe.c