mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-11 19:36:47 +02: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 int kHuffmanCodeOfHuffmanCodeSize = CODE_LENGTH_CODES * 3;
|
||||||
static const double kSmallBias = 9.1;
|
static const double kSmallBias = 9.1;
|
||||||
return kHuffmanCodeOfHuffmanCodeSize - kSmallBias;
|
return kHuffmanCodeOfHuffmanCodeSize - kSmallBias;
|
||||||
}
|
}
|
||||||
|
|
||||||
static WEBP_INLINE double HuffmanCostRefine(int streak, int val) {
|
static WEBP_INLINE double HuffmanCostRefine(int streak, int val) {
|
||||||
double retval;
|
double retval;
|
||||||
@ -197,7 +197,7 @@ static WEBP_INLINE double HuffmanCostRefine(int streak, int val) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the cost encode the rle-encoded entropy code.
|
// Returns the cost encode the rle-encoded entropy code.
|
||||||
// The constants in this function are experimental.
|
// The constants in this function are experimental.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user