mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 06:24:27 +02:00
dsp: s/VP8LSetHistogramData/VP8SetHistogramData/
this function is for lossy encoding; the VP8L prefix is used by lossless Change-Id: I147590a91477a77af51ed79cc640546dfe53abdb
This commit is contained in:
@ -41,8 +41,8 @@ const int VP8DspScan[16 + 4 + 4] = {
|
||||
};
|
||||
|
||||
// general-purpose util function
|
||||
void VP8LSetHistogramData(const int distribution[MAX_COEFF_THRESH + 1],
|
||||
VP8Histogram* const histo) {
|
||||
void VP8SetHistogramData(const int distribution[MAX_COEFF_THRESH + 1],
|
||||
VP8Histogram* const histo) {
|
||||
int max_value = 0, last_non_zero = 1;
|
||||
int k;
|
||||
for (k = 0; k <= MAX_COEFF_THRESH; ++k) {
|
||||
@ -74,7 +74,7 @@ static void CollectHistogram(const uint8_t* ref, const uint8_t* pred,
|
||||
++distribution[clipped_value];
|
||||
}
|
||||
}
|
||||
VP8LSetHistogramData(distribution, histo);
|
||||
VP8SetHistogramData(distribution, histo);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user