ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
This commit is contained in:
parent
a4c05b1632
commit
2def212de7
6 changed files with 11 additions and 20 deletions
|
@ -46,7 +46,7 @@ static const uint8 _zigZagOrder[64] = {
|
|||
};
|
||||
|
||||
// IDCT table built with :
|
||||
// _idct8x8[x][y] = cos(((2 * x + 1) * y) * (PI / 16.0)) * 0.5;
|
||||
// _idct8x8[x][y] = cos(((2 * x + 1) * y) * (M_PI / 16.0)) * 0.5;
|
||||
// _idct8x8[x][y] /= sqrt(2.0) if y == 0
|
||||
static const double _idct8x8[8][8] = {
|
||||
{ 0.353553390593274, 0.490392640201615, 0.461939766255643, 0.415734806151273, 0.353553390593274, 0.277785116509801, 0.191341716182545, 0.097545161008064 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue