mp3decoder

Undocumented in source.

Members

Aliases

f4
alias f4 = __m128
Undocumented in source.
mp3d_sample_t
alias mp3d_sample_t = float
Undocumented in source.
mp3d_sample_t
alias mp3d_sample_t = short
Undocumented in source.

Functions

HDR_GET_BITRATE
auto HDR_GET_BITRATE(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_GET_LAYER
auto HDR_GET_LAYER(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_GET_MY_SAMPLE_RATE
auto HDR_GET_MY_SAMPLE_RATE(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_GET_SAMPLE_RATE
auto HDR_GET_SAMPLE_RATE(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_GET_STEREO_MODE
auto HDR_GET_STEREO_MODE(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_GET_STEREO_MODE_EXT
auto HDR_GET_STEREO_MODE_EXT(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_CRC
auto HDR_IS_CRC(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_FRAME_576
auto HDR_IS_FRAME_576(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_FREE_FORMAT
auto HDR_IS_FREE_FORMAT(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_LAYER_1
auto HDR_IS_LAYER_1(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_MONO
auto HDR_IS_MONO(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_IS_MS_STEREO
auto HDR_IS_MS_STEREO(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_TEST_I_STEREO
auto HDR_TEST_I_STEREO(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_TEST_MPEG1
auto HDR_TEST_MPEG1(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_TEST_MS_STEREO
auto HDR_TEST_MS_STEREO(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_TEST_NOT_MPEG25
auto HDR_TEST_NOT_MPEG25(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
HDR_TEST_PADDING
auto HDR_TEST_PADDING(H h)
Undocumented in source. Be warned that the author may not have intended to support it.
L12_apply_scf_384
void L12_apply_scf_384(L12_scale_info* sci, const(float)* scf, float* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
L12_dequantize_granule
int L12_dequantize_granule(float* grbuf, bs_t* bs, L12_scale_info* sci, int group_size)
Undocumented in source. Be warned that the author may not have intended to support it.
L12_read_scale_info
void L12_read_scale_info(const(ubyte)* hdr, bs_t* bs, L12_scale_info* sci)
Undocumented in source. Be warned that the author may not have intended to support it.
L12_read_scalefactors
void L12_read_scalefactors(bs_t* bs, ubyte* pba, ubyte* scfcod, int bands, float* scf)
Undocumented in source. Be warned that the author may not have intended to support it.
L12_subband_alloc_table
const(L12_subband_alloc_t)* L12_subband_alloc_table(const(ubyte)* hdr, L12_scale_info* sci)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_antialias
void L3_antialias(float* grbuf, int nbands)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_change_sign
void L3_change_sign(float* grbuf)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_dct3_9
void L3_dct3_9(float* y)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_decode
void L3_decode(mp3dec_t h, mp3dec_scratch_t* s, L3_gr_info_t* gr_info, int nch)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_decode_scalefactors
void L3_decode_scalefactors(const(ubyte)* hdr, ubyte* ist_pos, bs_t* bs, const(L3_gr_info_t)* gr, float* scf, int ch)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_huffman
void L3_huffman(float* dst, bs_t* bs, const(L3_gr_info_t)* gr_info, const(float)* scf, int layer3gr_limit)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_idct3
void L3_idct3(float x0, float x1, float x2, float* dst)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_imdct12
void L3_imdct12(float* x, float* dst, float* overlap)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_imdct36
void L3_imdct36(float* grbuf, float* overlap, const(float)* window, int nbands)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_imdct_gr
void L3_imdct_gr(float* grbuf, float* overlap, uint block_type, uint n_long_bands)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_imdct_short
void L3_imdct_short(float* grbuf, float* overlap, int nbands)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_intensity_stereo
void L3_intensity_stereo(float* left, ubyte* ist_pos, const(L3_gr_info_t)* gr, const(ubyte)* hdr)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_intensity_stereo_band
void L3_intensity_stereo_band(float* left, int n, float kl, float kr)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_ldexp_q2
float L3_ldexp_q2(float y, int exp_q2)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_midside_stereo
void L3_midside_stereo(float* left, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_pow_43
float L3_pow_43(int x)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_read_scalefactors
void L3_read_scalefactors(ubyte* scf, ubyte* ist_pos, const(ubyte)* scf_size, const(ubyte)* scf_count, bs_t* bitbuf, int scfsi)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_read_side_info
int L3_read_side_info(bs_t* bs, L3_gr_info_t* gr, const(ubyte)* hdr)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_reorder
void L3_reorder(float* grbuf, float* scratch, const(ubyte)* sfb)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_restore_reservoir
int L3_restore_reservoir(mp3dec_t h, bs_t* bs, mp3dec_scratch_t* s, int main_data_begin)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_save_reservoir
void L3_save_reservoir(mp3dec_t h, mp3dec_scratch_t* s)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_stereo_process
void L3_stereo_process(float* left, const(ubyte)* ist_pos, const(ubyte)* sfb, const(ubyte)* hdr, int[3] max_band, int mpeg2_sh)
Undocumented in source. Be warned that the author may not have intended to support it.
L3_stereo_top_band
void L3_stereo_top_band(const(float)* right, const(ubyte)* sfb, int nbands, int[3] max_band)
Undocumented in source. Be warned that the author may not have intended to support it.
MINIMP3_MAX
auto MINIMP3_MAX(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.
MINIMP3_MIN
auto MINIMP3_MIN(A a, B b)
Undocumented in source. Be warned that the author may not have intended to support it.
bs_init
void bs_init(bs_t* bs, const(ubyte)* data, int bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
get_bits
uint get_bits(bs_t* bs, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_bitrate_kbps
uint hdr_bitrate_kbps(const(ubyte)* h)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_compare
int hdr_compare(const(ubyte)* h1, const(ubyte)* h2)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_frame_bytes
int hdr_frame_bytes(const(ubyte)* h, int free_format_size)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_frame_samples
uint hdr_frame_samples(const(ubyte)* h)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_padding
int hdr_padding(const(ubyte)* h)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_sample_rate_hz
uint hdr_sample_rate_hz(const(ubyte)* h)
Undocumented in source. Be warned that the author may not have intended to support it.
hdr_valid
int hdr_valid(const(ubyte)* h)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_DCT_II
void mp3d_DCT_II(float* grbuf, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_find_frame
int mp3d_find_frame(const(ubyte)* mp3, int mp3_bytes, int* free_format_bytes, int* ptr_frame_bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_match_frame
int mp3d_match_frame(const(ubyte)* hdr, int mp3_bytes, int frame_bytes)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_scale_pcm
float mp3d_scale_pcm(float sample)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_scale_pcm
short mp3d_scale_pcm(float sample)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_synth
void mp3d_synth(float* xl, mp3d_sample_t* dstl, int nch, float* lins)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_synth_granule
void mp3d_synth_granule(float* qmf_state, float* grbuf, int nbands, int nch, mp3d_sample_t* pcm, float* lins)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3d_synth_pair
void mp3d_synth_pair(mp3d_sample_t* pcm, int nch, const(float)* z)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_decode_frame
int mp3dec_decode_frame(mp3dec_t dec, const(ubyte)* mp3, int mp3_bytes, mp3d_sample_t* pcm, mp3dec_frame_info_t* info)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_f32_to_s16
void mp3dec_f32_to_s16(const(float)* in_, short* out_, int num_samples)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_init
void mp3dec_init(mp3dec_t dec)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

BITS_DEQUANTIZER_OUT
enum BITS_DEQUANTIZER_OUT;
Undocumented in source.
HDR_SIZE
enum HDR_SIZE;
Undocumented in source.
MAX_BITRESERVOIR_BYTES
enum MAX_BITRESERVOIR_BYTES;
Undocumented in source.
MAX_FRAME_SYNC_MATCHES
enum MAX_FRAME_SYNC_MATCHES;
Undocumented in source.
MAX_FREE_FORMAT_FRAME_SIZE
enum MAX_FREE_FORMAT_FRAME_SIZE;
Undocumented in source.
MAX_L3_FRAME_PAYLOAD_BYTES
enum MAX_L3_FRAME_PAYLOAD_BYTES;
Undocumented in source.
MAX_SCF
enum MAX_SCF;
Undocumented in source.
MAX_SCFI
enum MAX_SCFI;
Undocumented in source.
MINIMP3_MAX_SAMPLES_PER_FRAME
enum MINIMP3_MAX_SAMPLES_PER_FRAME;
Undocumented in source.
MODE_JOINT_STEREO
enum MODE_JOINT_STEREO;
Undocumented in source.
MODE_MONO
enum MODE_MONO;
Undocumented in source.
MP3D_SEEK_TO_BYTE
enum MP3D_SEEK_TO_BYTE;
Undocumented in source.
MP3D_SEEK_TO_SAMPLE
enum MP3D_SEEK_TO_SAMPLE;
Undocumented in source.
MP3D_SEEK_TO_SAMPLE_INDEXED
enum MP3D_SEEK_TO_SAMPLE_INDEXED;
Undocumented in source.
SHORT_BLOCK_TYPE
enum SHORT_BLOCK_TYPE;
Undocumented in source.
STOP_BLOCK_TYPE
enum STOP_BLOCK_TYPE;
Undocumented in source.

Static variables

g_pow43
float[129 + 16] g_pow43;
Undocumented in source.

Structs

L12_scale_info
struct L12_scale_info
Undocumented in source.
L12_subband_alloc_t
struct L12_subband_alloc_t
Undocumented in source.
L3_gr_info_t
struct L3_gr_info_t
Undocumented in source.
bs_t
struct bs_t
Undocumented in source.
mp3dec_ex_t
struct mp3dec_ex_t
Undocumented in source.
mp3dec_frame_info_t
struct mp3dec_frame_info_t
Undocumented in source.
mp3dec_map_info_t
struct mp3dec_map_info_t
Undocumented in source.
mp3dec_scratch_t
struct mp3dec_scratch_t
Undocumented in source.
mp3dec_t
struct mp3dec_t
Undocumented in source.

Meta