]> granicus.if.org Git - libvpx/commit
Enable all-zero coeff block index for sub8x8 blk
authorJingning Han <jingning@google.com>
Wed, 30 Oct 2013 20:52:55 +0000 (13:52 -0700)
committerJingning Han <jingning@google.com>
Wed, 30 Oct 2013 21:01:06 +0000 (14:01 -0700)
commit8c8381d5439b0caedec42261d32724612cef7f3e
tree50e294a8b0feff528d1de41a087ce08b6b54da7a
parent50c4026e93e0826194ec7e3bd62019a3ff6fe0ef
Enable all-zero coeff block index for sub8x8 blk

This commit makes zcoeff_blk cache the case where the entire block
is quantized to be zero (without applying zero-forcing) in the rate-
distortion optimization loop, and skip the forward DCT, quantization,
inverse DCT, and reconstruction process in the encode_block stage.

It now works for all the block sizes, including sub8x8 blocks.

Change-Id: I5ae60a9c436ba3637d11666733554bec4580ef98
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_rdopt.c