mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 21:39:59 +02:00
A quick pass of cleanup in backward reference code
const correctness, renaming, cosmetics etc. Change-Id: I432befbb22f0eafd9a613f5f632398b6ef03c0f6
This commit is contained in:
@ -53,8 +53,8 @@ void VP8LHistogramAddSinglePixOrCopy(VP8LHistogram* const p,
|
||||
++p->red_[PixOrCopyLiteral(&v, 2)];
|
||||
++p->literal_[PixOrCopyLiteral(&v, 1)];
|
||||
++p->blue_[PixOrCopyLiteral(&v, 0)];
|
||||
} else if (PixOrCopyIsPaletteIx(&v)) {
|
||||
int literal_ix = 256 + kLengthCodes + PixOrCopyPaletteIx(&v);
|
||||
} else if (PixOrCopyIsCacheIdx(&v)) {
|
||||
int literal_ix = 256 + kLengthCodes + PixOrCopyCacheIdx(&v);
|
||||
++p->literal_[literal_ix];
|
||||
} else {
|
||||
int code, extra_bits_count, extra_bits_value;
|
||||
|
Reference in New Issue
Block a user