mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-30 16:42:55 +01:00
vp8l.c, cosmetics: fix indent after 95509f9
95509f9 large re-organization of the delta-palettization code Change-Id: I9d27f15cb6072a2bd1dd593d53db5b2dd3c30133
This commit is contained in:
parent
927ccdc43b
commit
f717b82864
@ -1205,7 +1205,7 @@ static void MapToPalette(const uint32_t palette[], int num_colors,
|
|||||||
// Note: src[] can be the same as dst[]
|
// Note: src[] can be the same as dst[]
|
||||||
static WebPEncodingError ApplyPalette(const uint32_t* src, uint32_t src_stride,
|
static WebPEncodingError ApplyPalette(const uint32_t* src, uint32_t src_stride,
|
||||||
uint32_t* dst, uint32_t dst_stride,
|
uint32_t* dst, uint32_t dst_stride,
|
||||||
const uint32_t* palette, int palette_size,
|
const uint32_t* palette, int palette_size,
|
||||||
int width, int height, int xbits) {
|
int width, int height, int xbits) {
|
||||||
// TODO(skal): this tmp buffer is not needed if VP8LBundleColorMap() can be
|
// TODO(skal): this tmp buffer is not needed if VP8LBundleColorMap() can be
|
||||||
// made to work in-place.
|
// made to work in-place.
|
||||||
@ -1298,7 +1298,7 @@ static WebPEncodingError EncodePalette(VP8LBitWriter* const bw,
|
|||||||
}
|
}
|
||||||
tmp_palette[0] = palette[0];
|
tmp_palette[0] = palette[0];
|
||||||
return EncodeImageNoHuffman(bw, tmp_palette, &enc->hash_chain_, enc->refs_,
|
return EncodeImageNoHuffman(bw, tmp_palette, &enc->hash_chain_, enc->refs_,
|
||||||
palette_size, 1, 20 /* quality */);
|
palette_size, 1, 20 /* quality */);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WEBP_EXPERIMENTAL_FEATURES
|
#ifdef WEBP_EXPERIMENTAL_FEATURES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user