Improve skip_txfm thresholds in the non-rd mode selection
authorYunqing Wang <yunqingwang@google.com>
Thu, 19 Feb 2015 00:38:08 +0000 (16:38 -0800)
committerYunqing Wang <yunqingwang@google.com>
Thu, 19 Feb 2015 22:30:46 +0000 (14:30 -0800)
commit81fc5bf81c4199883a891791a0a5539e029e8077
tree7a13d607cf51e3f1496367b58d0ca5e1a1f5b2e5
parentd93fe856b90de5ec9ab559d0852d47a22b78fd81
Improve skip_txfm thresholds in the non-rd mode selection

Modified the thresholds of deciding whether or not to skip
the transforms in model_rd_for_sb_y(). Used zbin[] instead
of dequant[] to be more precise. Also, modified the checking
coditions.

Rtc set borg test results (at speed 6) showed:
average PSNR gain: 0.138%, overall PSNR gain: 0.158%,
and SSIM gain: 0.177%.

The data rate test was modified slightly as suggested by
Marco.

Change-Id: Ieaf633ab77f4838cb3c45cf69065b29d55f8ae6c
test/datarate_test.cc
vp9/encoder/vp9_pickmode.c