From a8d8c0f633cac1784091f85b9b098ec45bffead6 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Tue, 2 Dec 2014 18:26:03 -0800 Subject: [PATCH] Remove unused ONE_LOOP entry from speed feature Change-Id: I56ead0ebc2491144c4e79e5859b05e126176702c --- vp9/encoder/vp9_bitstream.c | 1 - vp9/encoder/vp9_speed_features.h | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index 2520a4514..4d88fb5a5 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -613,7 +613,6 @@ static void update_coef_probs_common(vp9_writer* const bc, VP9_COMP *cpi, return; } - case ONE_LOOP: case ONE_LOOP_REDUCED: { int updates = 0; int noupdates_before_first = 0; diff --git a/vp9/encoder/vp9_speed_features.h b/vp9/encoder/vp9_speed_features.h index 26bd68330..c2cfd62da 100644 --- a/vp9/encoder/vp9_speed_features.h +++ b/vp9/encoder/vp9_speed_features.h @@ -163,12 +163,9 @@ typedef enum { // before the final run. TWO_LOOP = 0, - // No dry run conducted. - ONE_LOOP = 1, - // No dry run, also only half the coef contexts and bands are updated. // The rest are not updated at all. - ONE_LOOP_REDUCED = 2 + ONE_LOOP_REDUCED = 1 } FAST_COEFF_UPDATE; typedef struct MV_SPEED_FEATURES { -- 2.40.0