]> granicus.if.org Git - libvpx/commit
Refactor block_yrd function for RTC coding mode
authorJingning Han <jingning@google.com>
Wed, 1 Apr 2015 00:46:41 +0000 (17:46 -0700)
committerJingning Han <jingning@google.com>
Wed, 1 Apr 2015 19:00:43 +0000 (12:00 -0700)
commit1470529f62729b99d623e3c2f36a588ceb85ddb7
tree368dee487c2230013d1301f5bb1f241e8653fed1
parent502ac7223328614cfd3af88764bcb866dbdba9da
Refactor block_yrd function for RTC coding mode

This commit separates Hadamard transform/quantization operations
from rate and distortion computation in block_yrd. This allows one
to skip SATD computation when all transform blocks are quantized
to zero. It also uses a new block error function that skips
repeated computation of sum of squared residuals. It reduces the
CPU cycles spent on block error calculation in block_yrd by 40%.

Change-Id: I726acb2454b44af1c3bd95385abecac209959b10
vp9/common/vp9_rtcd_defs.pl
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/x86/vp9_error_sse2.asm