aboutsummaryrefslogtreecommitdiffstats
path: root/core/cubic_defs.h
blob: 33751c9743c6975fd9e31516fec47a6af6292ede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CORE_CUBIC_DEFS_H
#define CORE_CUBIC_DEFS_H

/* The number of distinct phase intervals within the cubic filter tables. */
constexpr unsigned int CubicPhaseBits{5};
constexpr unsigned int CubicPhaseCount{1 << CubicPhaseBits};

struct CubicCoefficients {
    float mCoeffs[4];
    float mDeltas[4];
};

#endif /* CORE_CUBIC_DEFS_H */