From 998754a7342373d871bc9d831e603ad909c87513 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Fri, 15 Jul 2011 14:57:07 -0700 Subject: [PATCH] remove unused nb_i4_ and nb_i16_ fields. Change-Id: Idf361e5528bddb3b25f3bc12502fdfd5c4cf9149 --- src/enc/frame.c | 2 -- src/enc/vp8enci.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/enc/frame.c b/src/enc/frame.c index 5bc0731c..d0270d7b 100644 --- a/src/enc/frame.c +++ b/src/enc/frame.c @@ -58,8 +58,6 @@ static void ResetStats(VP8Encoder* const enc, int precalc_cost) { VP8Proba* const proba = &enc->proba_; if (precalc_cost) VP8CalculateLevelCosts(proba); proba->nb_skip_ = 0; - proba->nb_i4_ = 0; - proba->nb_i16_ = 0; } //----------------------------------------------------------------------------- diff --git a/src/enc/vp8enci.h b/src/enc/vp8enci.h index e7194ad3..dbab162b 100644 --- a/src/enc/vp8enci.h +++ b/src/enc/vp8enci.h @@ -187,7 +187,7 @@ typedef struct { StatsArray stats_[NUM_TYPES][NUM_BANDS]; // 7.4k CostArray level_cost_[NUM_TYPES][NUM_BANDS]; // 11.4k int use_skip_proba_; // Note: we always use skip_proba for now. - int nb_skip_, nb_i4_, nb_i16_; // block type counters + int nb_skip_; // number of skipped blocks } VP8Proba; // Filter parameters. Not actually used in the code (we don't perform