mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
remove VP8Residual::cost unused field
Change-Id: Id494475b05c540b40fd104594acbcaa783b88d77
This commit is contained in:
parent
b69a6c35b2
commit
6121413415
@ -208,7 +208,6 @@ void VP8InitResidual(int first, int coeff_type,
|
|||||||
res->coeff_type = coeff_type;
|
res->coeff_type = coeff_type;
|
||||||
res->prob = enc->proba_.coeffs_[coeff_type];
|
res->prob = enc->proba_.coeffs_[coeff_type];
|
||||||
res->stats = enc->proba_.stats_[coeff_type];
|
res->stats = enc->proba_.stats_[coeff_type];
|
||||||
res->cost = enc->proba_.level_cost_[coeff_type];
|
|
||||||
res->costs = enc->proba_.remapped_costs_[coeff_type];
|
res->costs = enc->proba_.remapped_costs_[coeff_type];
|
||||||
res->first = first;
|
res->first = first;
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ struct VP8Residual {
|
|||||||
int coeff_type;
|
int coeff_type;
|
||||||
ProbaArray* prob;
|
ProbaArray* prob;
|
||||||
StatsArray* stats;
|
StatsArray* stats;
|
||||||
CostArray* cost; // TODO(skal): remove in favor of *costs
|
|
||||||
CostArrayPtr costs;
|
CostArrayPtr costs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user