]> granicus.if.org Git - libvpx/commit
Enable early termination in uv rd loop
authorJingning Han <jingning@google.com>
Wed, 14 Aug 2013 23:50:45 +0000 (16:50 -0700)
committerJingning Han <jingning@google.com>
Mon, 19 Aug 2013 23:31:19 +0000 (16:31 -0700)
commit3275ad701a5c37041ab90b743cc6fec6a8340f80
tree46219d0c5dcb4a133f51ac1d841667225051119c
parent31c97c2bdfdbfff1188f6eaf51df2ee9d7eb1de7
Enable early termination in uv rd loop

This commit enables early termination in the rate-distortion
optimization search loop for chroma components. When the cumulative
rd cost is above the current best value, skip the rest per-block
transform/quantization/coeff_cost and continue to the next
prediction mode.

For bus_cif at 2000 kbps, the average run-time goes down from
168546ms -> 164678ms, (2% speed-up) at speed 0
 36197ms ->  34465ms, (4% speed-up) at speed 1

Change-Id: I9d3043864126e62bd0166250d66b3170d520b3c0
vp9/encoder/vp9_rdopt.c