mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
histogram.c: reindent after b33e8a0
b33e8a0
Refactor code for HistogramCombine.
Change-Id: Ia1b4b545c5f4e29cc897339df2b58f18f83c15b3
This commit is contained in:
parent
06d456f685
commit
687a58ecc3
@ -179,7 +179,7 @@ static WEBP_INLINE double InitialHuffmanCost(void) {
|
||||
static const int kHuffmanCodeOfHuffmanCodeSize = CODE_LENGTH_CODES * 3;
|
||||
static const double kSmallBias = 9.1;
|
||||
return kHuffmanCodeOfHuffmanCodeSize - kSmallBias;
|
||||
}
|
||||
}
|
||||
|
||||
static WEBP_INLINE double HuffmanCostRefine(int streak, int val) {
|
||||
double retval;
|
||||
@ -197,7 +197,7 @@ static WEBP_INLINE double HuffmanCostRefine(int streak, int val) {
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
|
||||
// Returns the cost encode the rle-encoded entropy code.
|
||||
// The constants in this function are experimental.
|
||||
|
Loading…
Reference in New Issue
Block a user