![]() |
RSeries astromech firmware
|
#include "Arduino.h"
Go to the source code of this file.
Classes | |
struct | _AACDecInfo_t |
struct | _aac_BitStreamInfo_t |
union | _U64 |
struct | _AACFrameInfo_t |
struct | _HuffInfo_t |
struct | _PulseInfo_t |
struct | _TNSInfo_t |
struct | _GainControlInfo_t |
struct | _ICSInfo_t |
struct | _ADTSHeader_t |
struct | _ADIFHeader_t |
struct | _ProgConfigElement_t |
struct | _SBRHeader |
struct | _SBRGrid |
struct | _SBRFreq |
struct | _SBRChan |
struct | _PSInfoBase_t |
struct | _PSInfoSBR |
Macros | |
#define | AAC_ENABLE_MPEG4 |
#define | ASSERT(x) /* do nothing */ |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | CLIP_2N(y, n) |
#define | CLIP_2N_SHIFT30(y, n) |
Typedefs | |
typedef struct _AACDecInfo_t | AACDecInfo_t |
typedef struct _aac_BitStreamInfo_t | aac_BitStreamInfo_t |
typedef union _U64 | U64 |
typedef struct _AACFrameInfo_t | AACFrameInfo_t |
typedef struct _HuffInfo_t | HuffInfo_t |
typedef struct _PulseInfo_t | PulseInfo_t |
typedef struct _TNSInfo_t | TNSInfo_t |
typedef struct _GainControlInfo_t | GainControlInfo_t |
typedef struct _ICSInfo_t | ICSInfo_t |
typedef struct _ADTSHeader_t | ADTSHeader_t |
typedef struct _ADIFHeader_t | ADIFHeader_t |
typedef struct _ProgConfigElement_t | ProgConfigElement_t |
typedef struct _SBRHeader | SBRHeader |
typedef struct _SBRGrid | SBRGrid |
typedef struct _SBRFreq | SBRFreq |
typedef struct _SBRChan | SBRChan |
typedef struct _PSInfoBase_t | PSInfoBase_t |
typedef struct _PSInfoSBR | PSInfoSBR_t |
Functions | |
bool | AACDecoder_AllocateBuffers (void) |
int | AACFlushCodec () |
void | AACDecoder_FreeBuffers (void) |
int | AACFindSyncWord (unsigned char *buf, int nBytes) |
int | AACSetRawBlockParams (int copyLast, int nChans, int sampRateCore, int profile) |
int | AACDecode (uint8_t *inbuf, int *bytesLeft, short *outbuf) |
int | AACGetSampRate () |
int | AACGetChannels () |
int | AACGetBitsPerSample () |
int | AACGetBitrate () |
int | AACGetOutputSamps () |
void | DecodeLPCCoefs (int order, int res, int8_t *filtCoef, int *a, int *b) |
int | FilterRegion (int size, int dir, int order, int *audioCoef, int *a, int *hist) |
int | TNSFilter (int ch) |
int | DecodeSingleChannelElement () |
int | DecodeChannelPairElement () |
int | DecodeLFEChannelElement () |
int | DecodeDataStreamElement () |
int | DecodeProgramConfigElement (uint8_t idx) |
int | DecodeFillElement () |
int | DecodeNextElement (uint8_t **buf, int *bitOffset, int *bitsAvail) |
void | PreMultiply (int tabidx, int *zbuf1) |
void | PostMultiply (int tabidx, int *fft1) |
void | PreMultiplyRescale (int tabidx, int *zbuf1, int es) |
void | PostMultiplyRescale (int tabidx, int *fft1, int es) |
void | DCT4 (int tabidx, int *coef, int gb) |
void | BitReverse (int *inout, int tabidx) |
void | R4FirstPass (int *x, int bg) |
void | R8FirstPass (int *x, int bg) |
void | R4Core (int *x, int bg, int gp, int *wtab) |
void | R4FFT (int tabidx, int *x) |
void | UnpackZeros (int nVals, int *coef) |
void | UnpackQuads (int cb, int nVals, int *coef) |
void | UnpackPairsNoEsc (int cb, int nVals, int *coef) |
void | UnpackPairsEsc (int cb, int nVals, int *coef) |
void | DecodeSpectrumLong (int ch) |
void | DecodeSpectrumShort (int ch) |
void | DecWindowOverlap (int *buf0, int *over0, short *pcm0, int nChans, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapLongStart (int *buf0, int *over0, short *pcm0, int nChans, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapLongStop (int *buf0, int *over0, short *pcm0, int nChans, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapShort (int *buf0, int *over0, short *pcm0, int nChans, int winTypeCurr, int winTypePrev) |
int | IMDCT (int ch, int chOut, short *outbuf) |
void | DecodeICSInfo (ICSInfo_t *icsInfo, int sampRateIdx) |
void | DecodeSectionData (int winSequence, int numWinGrp, int maxSFB, uint8_t *sfbCodeBook) |
int | DecodeOneScaleFactor () |
void | DecodeScaleFactors (int numWinGrp, int maxSFB, int globalGain, uint8_t *sfbCodeBook, short *scaleFactors) |
void | DecodePulseInfo (uint8_t ch) |
void | DecodeTNSInfo (int winSequence, TNSInfo_t *ti, int8_t *tnsCoef) |
void | DecodeGainControlInfo (int winSequence, GainControlInfo_t *gi) |
void | DecodeICS (int ch) |
int | DecodeNoiselessData (uint8_t **buf, int *bitOffset, int *bitsAvail, int ch) |
int | DecodeHuffmanScalar (const signed short *huffTab, const HuffInfo_t *huffTabInfo, unsigned int bitBuf, int32_t *val) |
int | UnpackADTSHeader (uint8_t **buf, int *bitOffset, int *bitsAvail) |
int | GetADTSChannelMapping (uint8_t *buf, int bitOffset, int bitsAvail) |
int | GetNumChannelsADIF (int nPCE) |
int | GetSampleRateIdxADIF (int nPCE) |
int | UnpackADIFHeader (uint8_t **buf, int *bitOffset, int *bitsAvail) |
int | SetRawBlockParams (int copyLast, int nChans, int sampRate, int profile) |
int | PrepareRawBlock () |
int | DequantBlock (int *inbuf, int nSamps, int scale) |
int | AACDequantize (int ch) |
int | DeinterleaveShortBlocks (int ch) |
unsigned int | Get32BitVal (unsigned int *last) |
int | InvRootR (int r) |
int | ScaleNoiseVector (int *coef, int nVals, int sf) |
void | GenerateNoiseVector (int *coef, int *last, int nVals) |
void | CopyNoiseVector (int *coefL, int *coefR, int nVals) |
int | PNS (int ch) |
int | GetSampRateIdx (int sampRate) |
void | StereoProcessGroup (int *coefL, int *coefR, const uint16_t *sfbTab, int msMaskPres, uint8_t *msMaskPtr, int msMaskOffset, int maxSFB, uint8_t *cbRight, short *sfRight, int *gbCurrent) |
int | StereoProcess () |
int | RatioPowInv (int a, int b, int c) |
int | SqrtFix (int q, int fBitsIn, int *fBitsOut) |
int | InvRNormalized (int r) |
void | BitReverse32 (int *inout) |
void | R8FirstPass32 (int *r0) |
void | R4Core32 (int *r0) |
void | FFT32C (int *x) |
void | CVKernel1 (int *XBuf, int *accBuf) |
void | CVKernel2 (int *XBuf, int *accBuf) |
void | SetBitstreamPointer (int nBytes, uint8_t *buf) |
void | RefillBitstreamCache () |
unsigned int | GetBits (int nBits) |
unsigned int | GetBitsNoAdvance (int nBits) |
void | AdvanceBitstream (int nBits) |
int | CalcBitsUsed (uint8_t *startBuf, int startOffset) |
void | ByteAlignBitstream () |
void | InitSBRState () |
int | DecodeSBRBitstream (int chBase) |
int | DecodeSBRData (int chBase, short *outbuf) |
int | FlushCodecSBR () |
void | BubbleSort (unsigned char *v, int nItems) |
unsigned char | VMin (unsigned char *v, int nItems) |
unsigned char | VMax (unsigned char *v, int nItems) |
int | CalcFreqMasterScaleZero (unsigned char *freqMaster, int alterScale, int k0, int k2) |
int | CalcFreqMaster (unsigned char *freqMaster, int freqScale, int alterScale, int k0, int k2) |
int | CalcFreqHigh (unsigned char *freqHigh, unsigned char *freqMaster, int nMaster, int crossOverBand) |
int | CalcFreqLow (unsigned char *freqLow, unsigned char *freqHigh, int nHigh) |
int | CalcFreqNoise (unsigned char *freqNoise, unsigned char *freqLow, int nLow, int kStart, int k2, int noiseBands) |
int | BuildPatches (unsigned char *patchNumSubbands, unsigned char *patchStartSubband, unsigned char *freqMaster, int nMaster, int k0, int kStart, int numQMFBands, int sampRateIdx) |
int | FindFreq (unsigned char *freq, int nFreq, unsigned char val) |
void | RemoveFreq (unsigned char *freq, int nFreq, int removeIdx) |
int | CalcFreqLimiter (unsigned char *freqLimiter, unsigned char *patchNumSubbands, unsigned char *freqLow, int nLow, int kStart, int limiterBands, int numPatches) |
int | CalcFreqTables (SBRHeader *sbrHdr, SBRFreq *sbrFreq, int sampRateIdx) |
void | EstimateEnvelope (SBRHeader *sbrHdr, SBRGrid *sbrGrid, SBRFreq *sbrFreq, int env) |
int | GetSMapped (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int env, int band, int la) |
void | CalcMaxGain (SBRHeader *sbrHdr, SBRGrid *sbrGrid, SBRFreq *sbrFreq, int ch, int env, int lim, int fbitsDQ) |
void | CalcNoiseDivFactors (int q, int *qp1Inv, int *qqp1Inv) |
void | CalcComponentGains (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch, int env, int lim, int fbitsDQ) |
void | ApplyBoost (SBRFreq *sbrFreq, int lim, int fbitsDQ) |
void | CalcGain (SBRHeader *sbrHdr, SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch, int env) |
void | MapHF (SBRHeader *sbrHdr, SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int env, int hfReset) |
void | AdjustHighFreq (SBRHeader *sbrHdr, SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch) |
int | CalcCovariance1 (int *XBuf, int *p01reN, int *p01imN, int *p12reN, int *p12imN, int *p11reN, int *p22reN) |
int | CalcCovariance2 (int *XBuf, int *p02reN, int *p02imN) |
void | CalcLPCoefs (int *XBuf, int *a0re, int *a0im, int *a1re, int *a1im, int gb) |
void | GenerateHighFreq (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch) |
int | DecodeHuffmanScalar (const signed int *huffTab, const HuffInfo_t *huffTabInfo, unsigned int bitBuf, signed int *val) |
int | DecodeOneSymbol (int huffTabIndex) |
int | DequantizeEnvelope (int nBands, int ampRes, signed char *envQuant, int *envDequant) |
void | DequantizeNoise (int nBands, signed char *noiseQuant, int *noiseDequant) |
void | DecodeSBREnvelope (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch) |
void | DecodeSBRNoise (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChan, int ch) |
void | UncoupleSBREnvelope (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChanR) |
void | UncoupleSBRNoise (SBRGrid *sbrGrid, SBRFreq *sbrFreq, SBRChan *sbrChanR) |
void | DecWindowOverlapNoClip (int *buf0, int *over0, int *out0, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapLongStartNoClip (int *buf0, int *over0, int *out0, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapLongStopNoClip (int *buf0, int *over0, int *out0, int winTypeCurr, int winTypePrev) |
void | DecWindowOverlapShortNoClip (int *buf0, int *over0, int *out0, int winTypeCurr, int winTypePrev) |
void | PreMultiply64 (int *zbuf1) |
void | PostMultiply64 (int *fft1, int nSampsOut) |
void | QMFAnalysisConv (int *cTab, int *delay, int dIdx, int *uBuf) |
int | QMFAnalysis (int *inbuf, int *delay, int *XBuf, int fBitsIn, int *delayIdx, int qmfaBands) |
void | QMFSynthesisConv (int *cPtr, int *delay, int dIdx, short *outbuf, int nChans) |
void | QMFSynthesis (int *inbuf, int *delay, int *delayIdx, int qmfsBands, short *outbuf, int nChans) |
int | UnpackSBRHeader (SBRHeader *sbrHdr) |
void | UnpackSBRGrid (SBRHeader *sbrHdr, SBRGrid *sbrGrid) |
void | UnpackDeltaTimeFreq (int numEnv, unsigned char *deltaFlagEnv, int numNoiseFloors, unsigned char *deltaFlagNoise) |
void | UnpackInverseFilterMode (int numNoiseFloorBands, unsigned char *mode) |
void | UnpackSinusoids (int nHigh, int addHarmonicFlag, unsigned char *addHarmonic) |
void | CopyCouplingGrid (SBRGrid *sbrGridLeft, SBRGrid *sbrGridRight) |
void | CopyCouplingInverseFilterMode (int numNoiseFloorBands, unsigned char *modeLeft, unsigned char *modeRight) |
void | UnpackSBRSingleChannel (int chBase) |
void | UnpackSBRChannelPair (int chBase) |
#define AAC_ENABLE_MPEG4 |
#define ASSERT | ( | x | ) | /* do nothing */ |
#define CLIP_2N | ( | y, | |
n | |||
) |
#define CLIP_2N_SHIFT30 | ( | y, | |
n | |||
) |
#define MAX | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
#define MIN | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
typedef struct _aac_BitStreamInfo_t aac_BitStreamInfo_t |
typedef struct _AACDecInfo_t AACDecInfo_t |
typedef struct _AACFrameInfo_t AACFrameInfo_t |
typedef struct _ADIFHeader_t ADIFHeader_t |
typedef struct _ADTSHeader_t ADTSHeader_t |
typedef struct _GainControlInfo_t GainControlInfo_t |
typedef struct _HuffInfo_t HuffInfo_t |
typedef struct _ICSInfo_t ICSInfo_t |
typedef struct _ProgConfigElement_t ProgConfigElement_t |
typedef struct _PSInfoBase_t PSInfoBase_t |
typedef struct _PSInfoSBR PSInfoSBR_t |
typedef struct _PulseInfo_t PulseInfo_t |
typedef struct _SBRHeader SBRHeader |
typedef struct _TNSInfo_t TNSInfo_t |
anonymous enum |
anonymous enum |
anonymous enum |
int AACDecode | ( | uint8_t * | inbuf, |
int * | bytesLeft, | ||
short * | outbuf | ||
) |
bool AACDecoder_AllocateBuffers | ( | void | ) |
void AACDecoder_FreeBuffers | ( | void | ) |
int AACDequantize | ( | int | ch | ) |
int AACFindSyncWord | ( | unsigned char * | buf, |
int | nBytes | ||
) |
int AACFlushCodec | ( | ) |
int AACGetBitrate | ( | ) |
int AACGetBitsPerSample | ( | ) |
int AACGetChannels | ( | ) |
int AACGetOutputSamps | ( | ) |
int AACGetSampRate | ( | ) |
int AACSetRawBlockParams | ( | int | copyLast, |
int | nChans, | ||
int | sampRateCore, | ||
int | profile | ||
) |
void AdjustHighFreq | ( | SBRHeader * | sbrHdr, |
SBRGrid * | sbrGrid, | ||
SBRFreq * | sbrFreq, | ||
SBRChan * | sbrChan, | ||
int | ch | ||
) |
void AdvanceBitstream | ( | int | nBits | ) |
void ApplyBoost | ( | SBRFreq * | sbrFreq, |
int | lim, | ||
int | fbitsDQ | ||
) |
void BitReverse | ( | int * | inout, |
int | tabidx | ||
) |
void BitReverse32 | ( | int * | inout | ) |
void BubbleSort | ( | unsigned char * | v, |
int | nItems | ||
) |
int BuildPatches | ( | unsigned char * | patchNumSubbands, |
unsigned char * | patchStartSubband, | ||
unsigned char * | freqMaster, | ||
int | nMaster, | ||
int | k0, | ||
int | kStart, | ||
int | numQMFBands, | ||
int | sampRateIdx | ||
) |
void ByteAlignBitstream | ( | ) |
int CalcBitsUsed | ( | uint8_t * | startBuf, |
int | startOffset | ||
) |
void CalcComponentGains | ( | SBRGrid * | sbrGrid, |
SBRFreq * | sbrFreq, | ||
SBRChan * | sbrChan, | ||
int | ch, | ||
int | env, | ||
int | lim, | ||
int | fbitsDQ | ||
) |
int CalcCovariance1 | ( | int * | XBuf, |
int * | p01reN, | ||
int * | p01imN, | ||
int * | p12reN, | ||
int * | p12imN, | ||
int * | p11reN, | ||
int * | p22reN | ||
) |
int CalcCovariance2 | ( | int * | XBuf, |
int * | p02reN, | ||
int * | p02imN | ||
) |
int CalcFreqHigh | ( | unsigned char * | freqHigh, |
unsigned char * | freqMaster, | ||
int | nMaster, | ||
int | crossOverBand | ||
) |
int CalcFreqLimiter | ( | unsigned char * | freqLimiter, |
unsigned char * | patchNumSubbands, | ||
unsigned char * | freqLow, | ||
int | nLow, | ||
int | kStart, | ||
int | limiterBands, | ||
int | numPatches | ||
) |
int CalcFreqLow | ( | unsigned char * | freqLow, |
unsigned char * | freqHigh, | ||
int | nHigh | ||
) |
int CalcFreqMaster | ( | unsigned char * | freqMaster, |
int | freqScale, | ||
int | alterScale, | ||
int | k0, | ||
int | k2 | ||
) |
int CalcFreqMasterScaleZero | ( | unsigned char * | freqMaster, |
int | alterScale, | ||
int | k0, | ||
int | k2 | ||
) |
int CalcFreqNoise | ( | unsigned char * | freqNoise, |
unsigned char * | freqLow, | ||
int | nLow, | ||
int | kStart, | ||
int | k2, | ||
int | noiseBands | ||
) |
void CalcGain | ( | SBRHeader * | sbrHdr, |
SBRGrid * | sbrGrid, | ||
SBRFreq * | sbrFreq, | ||
SBRChan * | sbrChan, | ||
int | ch, | ||
int | env | ||
) |
void CalcLPCoefs | ( | int * | XBuf, |
int * | a0re, | ||
int * | a0im, | ||
int * | a1re, | ||
int * | a1im, | ||
int | gb | ||
) |
void CalcMaxGain | ( | SBRHeader * | sbrHdr, |
SBRGrid * | sbrGrid, | ||
SBRFreq * | sbrFreq, | ||
int | ch, | ||
int | env, | ||
int | lim, | ||
int | fbitsDQ | ||
) |
void CalcNoiseDivFactors | ( | int | q, |
int * | qp1Inv, | ||
int * | qqp1Inv | ||
) |
void CopyCouplingInverseFilterMode | ( | int | numNoiseFloorBands, |
unsigned char * | modeLeft, | ||
unsigned char * | modeRight | ||
) |
void CopyNoiseVector | ( | int * | coefL, |
int * | coefR, | ||
int | nVals | ||
) |
void CVKernel1 | ( | int * | XBuf, |
int * | accBuf | ||
) |
void CVKernel2 | ( | int * | XBuf, |
int * | accBuf | ||
) |
void DCT4 | ( | int | tabidx, |
int * | coef, | ||
int | gb | ||
) |
int DecodeChannelPairElement | ( | ) |
int DecodeDataStreamElement | ( | ) |
int DecodeFillElement | ( | ) |
void DecodeGainControlInfo | ( | int | winSequence, |
GainControlInfo_t * | gi | ||
) |
int DecodeHuffmanScalar | ( | const signed int * | huffTab, |
const HuffInfo_t * | huffTabInfo, | ||
unsigned int | bitBuf, | ||
signed int * | val | ||
) |
int DecodeHuffmanScalar | ( | const signed short * | huffTab, |
const HuffInfo_t * | huffTabInfo, | ||
unsigned int | bitBuf, | ||
int32_t * | val | ||
) |
void DecodeICS | ( | int | ch | ) |
void DecodeICSInfo | ( | ICSInfo_t * | icsInfo, |
int | sampRateIdx | ||
) |
int DecodeLFEChannelElement | ( | ) |
void DecodeLPCCoefs | ( | int | order, |
int | res, | ||
int8_t * | filtCoef, | ||
int * | a, | ||
int * | b | ||
) |
int DecodeNextElement | ( | uint8_t ** | buf, |
int * | bitOffset, | ||
int * | bitsAvail | ||
) |
int DecodeNoiselessData | ( | uint8_t ** | buf, |
int * | bitOffset, | ||
int * | bitsAvail, | ||
int | ch | ||
) |
int DecodeOneScaleFactor | ( | ) |
int DecodeOneSymbol | ( | int | huffTabIndex | ) |
int DecodeProgramConfigElement | ( | uint8_t | idx | ) |
void DecodePulseInfo | ( | uint8_t | ch | ) |
int DecodeSBRBitstream | ( | int | chBase | ) |
int DecodeSBRData | ( | int | chBase, |
short * | outbuf | ||
) |
void DecodeScaleFactors | ( | int | numWinGrp, |
int | maxSFB, | ||
int | globalGain, | ||
uint8_t * | sfbCodeBook, | ||
short * | scaleFactors | ||
) |
void DecodeSectionData | ( | int | winSequence, |
int | numWinGrp, | ||
int | maxSFB, | ||
uint8_t * | sfbCodeBook | ||
) |
int DecodeSingleChannelElement | ( | ) |
void DecodeSpectrumLong | ( | int | ch | ) |
void DecodeSpectrumShort | ( | int | ch | ) |
void DecodeTNSInfo | ( | int | winSequence, |
TNSInfo_t * | ti, | ||
int8_t * | tnsCoef | ||
) |
void DecWindowOverlap | ( | int * | buf0, |
int * | over0, | ||
short * | pcm0, | ||
int | nChans, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapLongStart | ( | int * | buf0, |
int * | over0, | ||
short * | pcm0, | ||
int | nChans, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapLongStartNoClip | ( | int * | buf0, |
int * | over0, | ||
int * | out0, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapLongStop | ( | int * | buf0, |
int * | over0, | ||
short * | pcm0, | ||
int | nChans, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapLongStopNoClip | ( | int * | buf0, |
int * | over0, | ||
int * | out0, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapNoClip | ( | int * | buf0, |
int * | over0, | ||
int * | out0, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapShort | ( | int * | buf0, |
int * | over0, | ||
short * | pcm0, | ||
int | nChans, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
void DecWindowOverlapShortNoClip | ( | int * | buf0, |
int * | over0, | ||
int * | out0, | ||
int | winTypeCurr, | ||
int | winTypePrev | ||
) |
int DeinterleaveShortBlocks | ( | int | ch | ) |
int DequantBlock | ( | int * | inbuf, |
int | nSamps, | ||
int | scale | ||
) |
int DequantizeEnvelope | ( | int | nBands, |
int | ampRes, | ||
signed char * | envQuant, | ||
int * | envDequant | ||
) |
void DequantizeNoise | ( | int | nBands, |
signed char * | noiseQuant, | ||
int * | noiseDequant | ||
) |
void FFT32C | ( | int * | x | ) |
int FilterRegion | ( | int | size, |
int | dir, | ||
int | order, | ||
int * | audioCoef, | ||
int * | a, | ||
int * | hist | ||
) |
int FindFreq | ( | unsigned char * | freq, |
int | nFreq, | ||
unsigned char | val | ||
) |
int FlushCodecSBR | ( | ) |
void GenerateNoiseVector | ( | int * | coef, |
int * | last, | ||
int | nVals | ||
) |
unsigned int Get32BitVal | ( | unsigned int * | last | ) |
int GetADTSChannelMapping | ( | uint8_t * | buf, |
int | bitOffset, | ||
int | bitsAvail | ||
) |
unsigned int GetBits | ( | int | nBits | ) |
unsigned int GetBitsNoAdvance | ( | int | nBits | ) |
int GetNumChannelsADIF | ( | int | nPCE | ) |
int GetSampleRateIdxADIF | ( | int | nPCE | ) |
int GetSampRateIdx | ( | int | sampRate | ) |
int GetSMapped | ( | SBRGrid * | sbrGrid, |
SBRFreq * | sbrFreq, | ||
SBRChan * | sbrChan, | ||
int | env, | ||
int | band, | ||
int | la | ||
) |
int IMDCT | ( | int | ch, |
int | chOut, | ||
short * | outbuf | ||
) |
void InitSBRState | ( | ) |
int InvRNormalized | ( | int | r | ) |
int InvRootR | ( | int | r | ) |
void MapHF | ( | SBRHeader * | sbrHdr, |
SBRGrid * | sbrGrid, | ||
SBRFreq * | sbrFreq, | ||
SBRChan * | sbrChan, | ||
int | env, | ||
int | hfReset | ||
) |
int PNS | ( | int | ch | ) |
void PostMultiply | ( | int | tabidx, |
int * | fft1 | ||
) |
void PostMultiply64 | ( | int * | fft1, |
int | nSampsOut | ||
) |
void PostMultiplyRescale | ( | int | tabidx, |
int * | fft1, | ||
int | es | ||
) |
void PreMultiply | ( | int | tabidx, |
int * | zbuf1 | ||
) |
void PreMultiply64 | ( | int * | zbuf1 | ) |
void PreMultiplyRescale | ( | int | tabidx, |
int * | zbuf1, | ||
int | es | ||
) |
int PrepareRawBlock | ( | ) |
int QMFAnalysis | ( | int * | inbuf, |
int * | delay, | ||
int * | XBuf, | ||
int | fBitsIn, | ||
int * | delayIdx, | ||
int | qmfaBands | ||
) |
void QMFAnalysisConv | ( | int * | cTab, |
int * | delay, | ||
int | dIdx, | ||
int * | uBuf | ||
) |
void QMFSynthesis | ( | int * | inbuf, |
int * | delay, | ||
int * | delayIdx, | ||
int | qmfsBands, | ||
short * | outbuf, | ||
int | nChans | ||
) |
void QMFSynthesisConv | ( | int * | cPtr, |
int * | delay, | ||
int | dIdx, | ||
short * | outbuf, | ||
int | nChans | ||
) |
void R4Core | ( | int * | x, |
int | bg, | ||
int | gp, | ||
int * | wtab | ||
) |
void R4Core32 | ( | int * | r0 | ) |
void R4FFT | ( | int | tabidx, |
int * | x | ||
) |
void R4FirstPass | ( | int * | x, |
int | bg | ||
) |
void R8FirstPass | ( | int * | x, |
int | bg | ||
) |
void R8FirstPass32 | ( | int * | r0 | ) |
int RatioPowInv | ( | int | a, |
int | b, | ||
int | c | ||
) |
|
inline |
void RemoveFreq | ( | unsigned char * | freq, |
int | nFreq, | ||
int | removeIdx | ||
) |
int ScaleNoiseVector | ( | int * | coef, |
int | nVals, | ||
int | sf | ||
) |
void SetBitstreamPointer | ( | int | nBytes, |
uint8_t * | buf | ||
) |
int SetRawBlockParams | ( | int | copyLast, |
int | nChans, | ||
int | sampRate, | ||
int | profile | ||
) |
int SqrtFix | ( | int | q, |
int | fBitsIn, | ||
int * | fBitsOut | ||
) |
int StereoProcess | ( | ) |
void StereoProcessGroup | ( | int * | coefL, |
int * | coefR, | ||
const uint16_t * | sfbTab, | ||
int | msMaskPres, | ||
uint8_t * | msMaskPtr, | ||
int | msMaskOffset, | ||
int | maxSFB, | ||
uint8_t * | cbRight, | ||
short * | sfRight, | ||
int * | gbCurrent | ||
) |
int TNSFilter | ( | int | ch | ) |
int UnpackADIFHeader | ( | uint8_t ** | buf, |
int * | bitOffset, | ||
int * | bitsAvail | ||
) |
int UnpackADTSHeader | ( | uint8_t ** | buf, |
int * | bitOffset, | ||
int * | bitsAvail | ||
) |
void UnpackDeltaTimeFreq | ( | int | numEnv, |
unsigned char * | deltaFlagEnv, | ||
int | numNoiseFloors, | ||
unsigned char * | deltaFlagNoise | ||
) |
void UnpackInverseFilterMode | ( | int | numNoiseFloorBands, |
unsigned char * | mode | ||
) |
void UnpackPairsEsc | ( | int | cb, |
int | nVals, | ||
int * | coef | ||
) |
void UnpackPairsNoEsc | ( | int | cb, |
int | nVals, | ||
int * | coef | ||
) |
void UnpackQuads | ( | int | cb, |
int | nVals, | ||
int * | coef | ||
) |
void UnpackSBRChannelPair | ( | int | chBase | ) |
int UnpackSBRHeader | ( | SBRHeader * | sbrHdr | ) |
void UnpackSBRSingleChannel | ( | int | chBase | ) |
void UnpackSinusoids | ( | int | nHigh, |
int | addHarmonicFlag, | ||
unsigned char * | addHarmonic | ||
) |
void UnpackZeros | ( | int | nVals, |
int * | coef | ||
) |
unsigned char VMax | ( | unsigned char * | v, |
int | nItems | ||
) |
unsigned char VMin | ( | unsigned char * | v, |
int | nItems | ||
) |