53#if defined(_WIN32) && defined(_M_IX86) && (defined (_DEBUG) || defined (REL_ENABLE_ASSERTS))
54#define ASSERT(x) if (!(x)) __asm int 3;
60#define MAX(a,b) ((a) > (b) ? (a) : (b))
64#define MIN(a,b) ((a) < (b) ? (a) : (b))
69 int32_t sign = val >> 31;
82 if (sign != shifted) {
89#define CLIP_2N(y, n) { \
90 (y) = clip_2n_helper((y), (n)); \
93#define SIBYTES_MPEG1_MONO 17
94#define SIBYTES_MPEG1_STEREO 32
95#define SIBYTES_MPEG2_MONO 9
96#define SIBYTES_MPEG2_STEREO 17
99#define POW43_FRACBITS_LOW 22
100#define POW43_FRACBITS_HIGH 12
102#define DQ_FRACBITS_OUT 25
105#define HUFF_PAIRTABS 32
108#define MAX_REORDER_SAMPS ((192-126)*3)
109#define VBUF_LENGTH (17 * 2 * NBANDS)
305extern const unsigned char quadTable[64+16];
__inline int32_t clip_2n_helper(int32_t val, int32_t n) FL_NOEXCEPT
#define MAX_REORDER_SAMPS
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
const int32_t quadTabOffset[2]
struct fl::third_party::_BitStreamInfo BitStreamInfo
struct fl::third_party::_SFBandTable SFBandTable
struct fl::third_party::_IMDCTInfo IMDCTInfo
void MidSideProc(int32_t x[MAX_NCHAN][MAX_NSAMP], int32_t nSamps, int32_t mOut[2]) FL_NOEXCEPT
enum fl::third_party::_HuffTabType HuffTabType
struct fl::third_party::_DequantInfo DequantInfo
const int32_t ISFIIP[2][2]
void FDCT32(int32_t *x, int32_t *d, int32_t offset, int32_t oddBlock, int32_t gb) FL_NOEXCEPT
const int32_t huffTabOffset[HUFF_PAIRTABS]
const unsigned char quadTable[64+16]
struct fl::third_party::_HuffmanInfo HuffmanInfo
struct fl::third_party::_SubbandInfo SubbandInfo
struct fl::third_party::_ScaleFactorInfoSub ScaleFactorInfoSub
const int32_t imdctWin[4][36]
struct fl::third_party::_FrameHeader FrameHeader
uint32_t GetBits(BitStreamInfo *bsi, int32_t nBits) FL_NOEXCEPT
void SetBitstreamPointer(BitStreamInfo *bsi, int32_t nBytes, const unsigned char *buf) FL_NOEXCEPT
void IntensityProcMPEG1(int32_t x[MAX_NCHAN][MAX_NSAMP], int32_t nSamps, FrameHeader *fh, ScaleFactorInfoSub *sfis, CriticalBandInfo *cbi, int32_t midSideFlag, int32_t mixFlag, int32_t mOut[2]) FL_NOEXCEPT
struct fl::third_party::_SideInfo SideInfo
struct fl::third_party::_BlockCount BlockCount
const HuffTabLookup huffTabLookup[HUFF_PAIRTABS]
const int32_t ISFMpeg2[2][2][16]
const int32_t ISFMpeg1[2][7]
const int32_t polyCoef[264]
void IntensityProcMPEG2(int32_t x[MAX_NCHAN][MAX_NSAMP], int32_t nSamps, FrameHeader *fh, ScaleFactorInfoSub *sfis, CriticalBandInfo *cbi, ScaleFactorJS *sfjs, int32_t midSideFlag, int32_t mixFlag, int32_t mOut[2]) FL_NOEXCEPT
struct fl::third_party::_SideInfoSub SideInfoSub
struct fl::third_party::_HuffTabLookup HuffTabLookup
struct fl::third_party::_ScaleFactorJS ScaleFactorJS
struct fl::third_party::_ScaleFactorInfo ScaleFactorInfo
void PolyphaseMono(short *pcm, int32_t *vbuf, const int32_t *coefBase)
const unsigned short huffTable[]
int32_t DequantChannel(int32_t *sampleBuf, int32_t *workBuf, int32_t *nonZeroBound, FrameHeader *fh, SideInfoSub *sis, ScaleFactorInfoSub *sfis, CriticalBandInfo *cbi) FL_NOEXCEPT
void PolyphaseStereo(short *pcm, int32_t *vbuf, const int32_t *coefBase)
const int32_t quadTabMaxBits[2]
int32_t CalcBitsUsed(BitStreamInfo *bsi, const unsigned char *startBuf, int32_t startOffset) FL_NOEXCEPT
int32_t overBuf[MAX_NCHAN][MAX_NSAMP/2]
ScaleFactorInfoSub sfis[MAX_NGRAN][MAX_NCHAN]
int32_t outBuf[MAX_NCHAN][BLOCK_SIZE][NBANDS]
int32_t prevType[MAX_NCHAN]
int32_t prevWinSwitch[MAX_NCHAN]
const unsigned char * bytePtr
CriticalBandInfo cbi[MAX_NCHAN]
int32_t workBuf[MAX_REORDER_SAMPS]
int32_t count1TableSelect
int32_t nonZeroBound[MAX_NCHAN]
int32_t huffDecBuf[MAX_NCHAN][MAX_NSAMP]
int32_t numPrevIMDCT[MAX_NCHAN]
const SFBandTable * sfBand
SideInfoSub sis[MAX_NGRAN][MAX_NCHAN]
int32_t vbuf[MAX_NCHAN *VBUF_LENGTH]
int32_t scfsi[MAX_NCHAN][MAX_SCFBD]
Base definition for an LED controller.