Modify block transform skipping check
authorYunqing Wang <yunqingwang@google.com>
Wed, 1 Oct 2014 18:31:34 +0000 (11:31 -0700)
committerYunqing Wang <yunqingwang@google.com>
Wed, 1 Oct 2014 19:58:09 +0000 (12:58 -0700)
commite4aac6bb61cba7ab387a959c82b292ead6eba758
treee7eed6cd51b72b03a4c4cc7f1d5f1b83be856a5b
parentb1b6fd85db40601485d17d5f7991d2273d8d7f05
Modify block transform skipping check

Block transform skipping was implemented based on DCT's energy
conservation property. Modified the thresholds using zero bin
parameters. AC and DC coefficients were checked separately to
allow better identifying of skippable blocks.

Borg test at speed 3 showed:
stdhd set: psnr gain: 0.153%, ssim gain: 0.051%;
derf set: psnr gain: 0.023%, ssim gain: 0.036%

For most test clips, the encoding speedup is 1% - 2%.
parkrun(720p): 7.5% speedup, park_joy(1080p): 3.5% speedup.

Change-Id: If28eb81113a077414f5ca7b021c14f9069b373bb
vp9/encoder/vp9_quantize.c
vp9/encoder/vp9_rdopt.c