mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
Rebase default encoding settings.
Updated histo_bits to 3 from 4 and changed the quality threshold for inner loop for HashChainFindCopy. Impact: 0.5%-0.8% better bpp with 15%-20% hit on encoding throughput at default encoding settings. Change-Id: I316ef88403148b1e19036fa0817d944eb0301255
This commit is contained in:
@ -826,7 +826,7 @@ static int GetHistoBits(const WebPConfig* const config,
|
||||
const int height = pic->height;
|
||||
const size_t hist_size = sizeof(VP8LHistogram);
|
||||
// Make tile size a function of encoding method (Range: 0 to 6).
|
||||
int histo_bits = 8 - config->method;
|
||||
int histo_bits = 7 - config->method;
|
||||
while (1) {
|
||||
const size_t huff_image_size = VP8LSubSampleSize(width, histo_bits) *
|
||||
VP8LSubSampleSize(height, histo_bits) *
|
||||
|
Reference in New Issue
Block a user