From 6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Tue, 25 Mar 2014 14:27:45 -0700 Subject: Added a speed feature "allow_skip_recode" This commit added a speed feature to make the logic of calculating skip_recode on a block level more explicit. This also enable the feature to be enabled at speed 5 where the previous logic is too conservative, help gain back the lost speed for --rt(-5). Change-Id: Ieb37ca3e85c2e7bda343486edf13d5f5395f2233 --- vp9/encoder/vp9_onyx_int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vp9/encoder/vp9_onyx_int.h') diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h index 022a63f91..6d8235c01 100644 --- a/vp9/encoder/vp9_onyx_int.h +++ b/vp9/encoder/vp9_onyx_int.h @@ -284,6 +284,9 @@ typedef struct { // blocks and the q is less than a threshold. int skip_encode_sb; int skip_encode_frame; + // Speed feature to allow or disallow skipping of recode at block + // level within a frame. + int allow_skip_recode; // This variable allows us to reuse the last frames partition choices // (64x64 v 32x32 etc) for this frame. It can be set to only use the last -- cgit v1.2.3