xoreos  0.0.5
Namespaces | Macros
dct.cpp File Reference

(Inverse) Discrete Cosine Transforms. More...

#include "src/common/maths.h"
#include "src/common/cosinetables.h"
#include "src/common/rdft.h"
#include "src/common/dct.h"
Include dependency graph for dct.cpp:

Go to the source code of this file.

Namespaces

 Common
 

Macros

#define SIN(n, x)   (_tCos[(n) - (x)])
 
#define COS(n, x)   (_tCos[x])
 

Detailed Description

(Inverse) Discrete Cosine Transforms.

Definition in file dct.cpp.

Macro Definition Documentation

◆ COS

#define COS (   n,
 
)    (_tCos[x])

Definition at line 99 of file dct.cpp.

Referenced by Common::DCT::calcDCTI(), Common::DCT::calcDCTII(), and Common::DCT::calcDCTIII().

◆ SIN

#define SIN (   n,
 
)    (_tCos[(n) - (x)])