Increase the MAX_COLOR_CACHE_BITS from 9 to 10.
The Maximum allowed limit is 11. The Q=25 and below is not impacted as cache bits are forced to 0. This saves 0.05% - 0.1% bytes for other quality with almost same compression speed (+/- 2-3%, that's more of a noise). Change-Id: Icf972a98f298c89e140e37a627baf709134be9a0
This commit is contained in:
parent
919220c7e6
commit
653ace55c3
@ -22,9 +22,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// The spec allows 11, we use 9 bits to reduce memory consumption in encoding.
|
||||
// Having 9 instead of 11 only removes about 0.25 % of compression density.
|
||||
#define MAX_COLOR_CACHE_BITS 9
|
||||
// The maximum allowed limit is 11.
|
||||
#define MAX_COLOR_CACHE_BITS 10
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// PixOrCopy
|
||||
|
Loading…
Reference in New Issue
Block a user