ref: 3275ad701a5c37041ab90b743cc6fec6a8340f80
parent: 31c97c2bdfdbfff1188f6eaf51df2ee9d7eb1de7
author: Jingning Han <jingning@google.com>
date: Wed Aug 14 12:50:45 EDT 2013
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