remove unused nb_i4_ and nb_i16_ fields.

Change-Id: Idf361e5528bddb3b25f3bc12502fdfd5c4cf9149
This commit is contained in:
Pascal Massimino 2011-07-15 14:57:07 -07:00
parent 9f01ce3afa
commit 998754a734
2 changed files with 1 additions and 3 deletions

View File

@ -58,8 +58,6 @@ static void ResetStats(VP8Encoder* const enc, int precalc_cost) {
VP8Proba* const proba = &enc->proba_; VP8Proba* const proba = &enc->proba_;
if (precalc_cost) VP8CalculateLevelCosts(proba); if (precalc_cost) VP8CalculateLevelCosts(proba);
proba->nb_skip_ = 0; proba->nb_skip_ = 0;
proba->nb_i4_ = 0;
proba->nb_i16_ = 0;
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------

View File

@ -187,7 +187,7 @@ typedef struct {
StatsArray stats_[NUM_TYPES][NUM_BANDS]; // 7.4k StatsArray stats_[NUM_TYPES][NUM_BANDS]; // 7.4k
CostArray level_cost_[NUM_TYPES][NUM_BANDS]; // 11.4k CostArray level_cost_[NUM_TYPES][NUM_BANDS]; // 11.4k
int use_skip_proba_; // Note: we always use skip_proba for now. 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; } VP8Proba;
// Filter parameters. Not actually used in the code (we don't perform // Filter parameters. Not actually used in the code (we don't perform