FastLED 3.9.15
Loading...
Searching...
No Matches
mp3common.h File Reference
#include "fl/stl/stdint.h"
#include "fl/stl/noexcept.h"
#include "mp3dec.h"
#include "statname.h"
+ Include dependency graph for mp3common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _MP3DecInfo
 
struct  fl::third_party::_SFBandTable
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 
namespace  fl::third_party
 

Macros

#define MAX_SCFBD   4 /* max scalefactor bands per channel */
 
#define NGRANS_MPEG1   2
 
#define NGRANS_MPEG2   1
 
#define SYNCWORDH   0xff
 
#define SYNCWORDL   0xf0
 

Typedefs

typedef struct _MP3DecInfo MP3DecInfo
 
typedef struct fl::third_party::_SFBandTable fl::third_party::SFBandTable
 

Functions

MP3DecInfofl::third_party::AllocateBuffers (void) FL_NOEXCEPT
 
int fl::third_party::CheckPadBit (MP3DecInfo *mp3DecInfo) FL_NOEXCEPT
 
int fl::third_party::DecodeHuffman (MP3DecInfo *mp3DecInfo, const unsigned char *buf, int *bitOffset, int huffBlockBits, int gr, int ch) FL_NOEXCEPT
 
int fl::third_party::Dequantize (MP3DecInfo *mp3DecInfo, int gr) FL_NOEXCEPT
 
void fl::third_party::FreeBuffers (MP3DecInfo *mp3DecInfo) FL_NOEXCEPT
 
int fl::third_party::IMDCT (MP3DecInfo *mp3DecInfo, int gr, int ch) FL_NOEXCEPT
 
int fl::third_party::Subband (MP3DecInfo *mp3DecInfo, short *pcmBuf) FL_NOEXCEPT
 
int fl::third_party::UnpackFrameHeader (MP3DecInfo *mp3DecInfo, const unsigned char *buf) FL_NOEXCEPT
 
int fl::third_party::UnpackScaleFactors (MP3DecInfo *mp3DecInfo, const unsigned char *buf, int *bitOffset, int bitsAvail, int gr, int ch) FL_NOEXCEPT
 
int fl::third_party::UnpackSideInfo (MP3DecInfo *mp3DecInfo, const unsigned char *buf) FL_NOEXCEPT
 

Class Documentation

◆ _MP3DecInfo

struct _MP3DecInfo
Class Members
int bitrate
void * DequantInfoPS
void * FrameHeaderPS
int freeBitrateFlag
int freeBitrateSlots
void * HuffmanInfoPS
void * IMDCTInfoPS
int layer
unsigned char mainBuf[MAINBUF_SIZE]
int mainDataBegin
int mainDataBytes
int nChans
int nGrans
int nGranSamps
int nSlots
int part23Length[MAX_NGRAN][MAX_NCHAN]
int samprate
void * ScaleFactorInfoPS
void * SideInfoPS
void * SubbandInfoPS
MPEGVersion version

◆ fl::third_party::_SFBandTable

struct fl::third_party::_SFBandTable
Class Members
short l[23]
short s[14]