Calculate rd cost per transformed block
authorJingning Han <jingning@google.com>
Mon, 1 Jul 2013 23:50:58 +0000 (16:50 -0700)
committerJingning Han <jingning@google.com>
Tue, 2 Jul 2013 16:58:46 +0000 (09:58 -0700)
commitb91a1586a31886b96f06bc9bd82b3f62091cf1ef
treefcbe6dd5268cc068f75fcc39e5b815c867528142
parent9df24b41ca16353acb123acae7c70813cfffafdd
Calculate rd cost per transformed block

Compute the rate-distortion cost per transformed block, and cumulate
the cost through all blocks inside a partition. This allows encoder
to detect if the cumulative rd cost is already above the best rd cost,
thereby enabling early termination in the rate-distortion optimization
search.

Change-Id: I0a856367a9a7b6dd0b466e7b767f54d5018d09ac
vp9/encoder/vp9_encodeintra.h
vp9/encoder/vp9_encodemb.c
vp9/encoder/vp9_encodemb.h
vp9/encoder/vp9_rdopt.c