From ccba289f8d1760a45b972685a64eb829529b70ab Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Thu, 29 May 2014 18:14:17 -0700 Subject: Fast computation path for forward transform and quantization This commit enables a fast path computational flow for forward transformation. It checks the sse and variance of prediction residuals and decides if the quantized coefficients are all zero, dc only, or more. It then selects the corresponding coding path in the forward transformation and quantization stage. It is currently enabled in rtc coding mode. Will do it for rd coding mode next. In speed -6, the runtime for pedestrian_area 1080p at 1000 kbps goes down from 14234 ms to 13704 ms, i.e., about 4% speed-up. Overall coding performance for rtc set is changed by -0.18%. Change-Id: I0452da1786d59bc8bcbe0a35fdae9f623d1d44e1 --- vp9/encoder/vp9_context_tree.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vp9/encoder/vp9_context_tree.h') diff --git a/vp9/encoder/vp9_context_tree.h b/vp9/encoder/vp9_context_tree.h index bb384aacd..872223b75 100644 --- a/vp9/encoder/vp9_context_tree.h +++ b/vp9/encoder/vp9_context_tree.h @@ -33,6 +33,7 @@ typedef struct { int is_coded; int num_4x4_blk; int skip; + int skip_txfm; int best_mode_index; int hybrid_pred_diff; int comp_pred_diff; -- cgit v1.2.3