mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 05:49:51 +02:00
Reducing emerging palette size from 11 to 9 bits.
This is required to reduce memory used to construct histo_image. Change-Id: I491a06e10a3e3f3d8a00ecec286394378283ffea
This commit is contained in:
@ -751,7 +751,7 @@ int VP8LCalculateEstimateForCacheSize(
|
||||
stream, &stream_size)) {
|
||||
goto Error;
|
||||
}
|
||||
for (cache_bits = 0; cache_bits < 12; ++cache_bits) {
|
||||
for (cache_bits = 0; cache_bits <= kColorCacheBitsMax; ++cache_bits) {
|
||||
double cur_entropy;
|
||||
VP8LHistogram histo;
|
||||
VP8LHistogramInit(&histo, cache_bits);
|
||||
|
Reference in New Issue
Block a user