mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-19 07:20:02 +02:00
Add modified Zeng's method to palette sorting.
Also add palette sorting to crunch configurations. Change-Id: I010a8bf8f1921279db6e9c7209307d8d19a4d105
This commit is contained in:
@ -69,6 +69,8 @@ typedef struct {
|
||||
int use_palette_;
|
||||
int palette_size_;
|
||||
uint32_t palette_[MAX_PALETTE_SIZE];
|
||||
// Sorted version of palette_ for cache purposes.
|
||||
uint32_t palette_sorted_[MAX_PALETTE_SIZE];
|
||||
|
||||
// Some 'scratch' (potentially large) objects.
|
||||
struct VP8LBackwardRefs refs_[4]; // Backward Refs array for temporaries.
|
||||
|
Reference in New Issue
Block a user