FastLED 3.10.6
Loading...
Searching...
No Matches
minimp3.h File Reference
#include "fl/stl/compiler_control.h"
#include "fl/math/int_asm.h"
#include "fl/stl/cstring.h"
#include "fl/stl/noexcept.h"
#include "fl/stl/stdint.h"
+ Include dependency graph for minimp3.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mp3dec_frame_info_t
 
union  mp3dec_scratch_t
 
struct  mp3dec_t
 

Macros

#define MINIMP3_DSP_INTEGER   MINIMP3_HAVE_FIXED_POINT
 
#define MINIMP3_FIXED_POINT   1
 
#define MINIMP3_FIXED_POINT_IS_HEADER_DEFAULT   1
 
#define MINIMP3_FRAC_BITS   26
 
#define MINIMP3_HAVE_FIXED_POINT   1
 
#define MINIMP3_MAX_SAMPLES_PER_FRAME   (1152*2)
 
#define MINIMP3_NAMESPACE   third_party
 
#define MINIMP3_SCRATCH_SIZE   7808
 
#define MINIMP3_STAGE_ANTIALIAS   2
 
#define MINIMP3_STAGE_COUNT   5
 
#define MINIMP3_STAGE_DCT2   4
 
#define MINIMP3_STAGE_HUFFMAN   0
 
#define MINIMP3_STAGE_IMDCT   3
 
#define MINIMP3_STAGE_STEREO   1
 

Typedefs

typedef float mp3d_dsp_t
 
typedef int16_t mp3d_sample_t
 
typedef union mp3dec_scratch_t mp3dec_scratch_t
 
typedef struct mp3dec_t mp3dec_t
 

Functions

int mp3dec_decode_frame_r (mp3dec_t *dec, mp3dec_scratch_t *scratch, const uint8_t *mp3, int mp3_bytes, mp3d_sample_t *pcm, mp3dec_frame_info_t *info) FL_NO_EXCEPT
 
int mp3dec_dsp_is_integer (void) FL_NO_EXCEPT
 
int mp3dec_dsp_uses_simd (void) FL_NO_EXCEPT
 
void mp3dec_init (mp3dec_t *dec) FL_NO_EXCEPT
 
int mp3dec_is_fixed_point (void) FL_NO_EXCEPT
 

Class Documentation

◆ mp3dec_frame_info_t

struct mp3dec_frame_info_t
Class Members
int bitrate_kbps
int channels
int frame_bytes
int frame_offset
int hz
int layer

◆ mp3dec_scratch_t

union mp3dec_scratch_t
Class Members
uint64_t alignment
uint8_t buffer[MINIMP3_SCRATCH_SIZE]

◆ mp3dec_t

struct mp3dec_t
Class Members
int free_format_bytes
unsigned char header[4]
mp3d_dsp_t mdct_overlap[2][9 *32]
mp3d_dsp_t qmf_state[(15+18) *2 *32]
int reserv
unsigned char reserv_buf[511]