Add static-threshold skipping in non-rd mode
authorYunqing Wang <yunqingwang@google.com>
Wed, 7 May 2014 17:39:00 +0000 (10:39 -0700)
committerYunqing Wang <yunqingwang@google.com>
Mon, 19 May 2014 18:47:13 +0000 (11:47 -0700)
commitb91b146d1df46a3f3bbd544548839643cae662c1
treede35758dbd4c07730916d45c159c0e04aea96294
parentf80bd43bf8f4b647cd5a02c3b3a9fb17fb41369e
Add static-threshold skipping in non-rd mode

Added a skipping test in non-rd inter-mode. After interpolation
prediction step, the residuals are tested to see if they will be
quantized to 0 based on modeling between spatial domain and
frequency domain.

Set static-thresh to 800 for >=720p and 300 for <720p, rtc set
tests showed
1. Speed 5, psnr: -0.514%; ssim: -1.748%;
   speedup on related clips: 5% -11%
2. Speed 6, psbr: -0.628%; ssim: -1.637%;
   speedup on related clips: 4% - 9%

Change-Id: I62fbf26bc043ecd2b584f255f1a4ee5ab52bfcf3
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_speed_features.c
vp9/encoder/vp9_speed_features.h