This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ENCDELAY 576 |
#define | POSTDELAY 1152 |
#define | MDCTDELAY 48 |
#define | FFTOFFSET (224+MDCTDELAY) |
#define | DECDELAY 528 |
#define | SBLIMIT 32 |
#define | CBANDS 64 |
#define | SBPSY_l 21 |
#define | SBPSY_s 12 |
#define | SBMAX_l 22 |
#define | SBMAX_s 13 |
#define | PSFB21 6 |
#define | PSFB12 6 |
#define | BLKSIZE 1024 |
#define | HBLKSIZE (BLKSIZE/2 + 1) |
#define | BLKSIZE_s 256 |
#define | HBLKSIZE_s (BLKSIZE_s/2 + 1) |
#define | NORM_TYPE 0 |
#define | START_TYPE 1 |
#define | SHORT_TYPE 2 |
#define | STOP_TYPE 3 |
#define | MPG_MD_LR_LR 0 |
#define | MPG_MD_LR_I 1 |
#define | MPG_MD_MS_LR 2 |
#define | MPG_MD_MS_I 3 |
Functions | |
int | lame_encode_mp3_frame (lame_global_flags *const gfp, sample_t const *inbuf_l, sample_t const *inbuf_r, unsigned char *mp3buf, int mp3buf_size) |
#define BLKSIZE 1024 |
Definition at line 111 of file encoder.h.
Referenced by init_fft(), L3psycho_anal(), L3psycho_anal_ns(), lame_encode_frame_init(), psycho_loudness_approx(), and psymodel_init().
#define BLKSIZE_s 256 |
Definition at line 113 of file encoder.h.
Referenced by init_fft(), L3psycho_anal(), L3psycho_anal_ns(), and ns_msfix().
#define CBANDS 64 |
Definition at line 96 of file encoder.h.
Referenced by compute_masking_s(), init_numline(), init_s3_values(), L3psycho_anal(), L3psycho_anal_ns(), and psymodel_init().
#define DECDELAY 528 |
#define ENCDELAY 576 |
#define FFTOFFSET (224+MDCTDELAY) |
Definition at line 83 of file encoder.h.
Referenced by lame_encode_frame_init(), and lame_encode_mp3_frame().
#define MDCTDELAY 48 |
#define MPG_MD_MS_LR 2 |
Definition at line 136 of file encoder.h.
Referenced by ABR_iteration_loop(), calc_min_bits(), CBR_iteration_loop(), lame_init_params(), VBR_new_prepare(), and VBR_old_prepare().
#define NORM_TYPE 0 |
Definition at line 118 of file encoder.h.
Referenced by best_huffman_divide(), block_type_set(), encodeSideInfo2(), psymodel_init(), and quantize_xrpow().
#define POSTDELAY 1152 |
#define PSFB12 6 |
Definition at line 106 of file encoder.h.
Referenced by compute_ath(), lame_init_params(), and psfb21_analogsilence().
#define PSFB21 6 |
Definition at line 105 of file encoder.h.
Referenced by compute_ath(), lame_init_params(), and psfb21_analogsilence().
#define SBMAX_l 22 |
Definition at line 103 of file encoder.h.
Referenced by bitpressure_strategy(), calc_interchannel_masking(), compute_ath(), convert_partition2scalefac_l(), init_outer_loop(), iteration_init(), lame_init_params(), msfix1(), ns_msfix(), and recalc_divide_sub().
#define SBMAX_s 13 |
Definition at line 104 of file encoder.h.
Referenced by bitpressure_strategy(), calc_interchannel_masking(), compute_ath(), convert_partition2scalefac_s(), iteration_init(), lame_init_params(), msfix1(), ns_msfix(), and set_pinfo().
#define SBPSY_l 21 |
Definition at line 99 of file encoder.h.
Referenced by calc_xmin(), init_outer_loop(), scfsi_calc(), and set_pinfo().
#define SBPSY_s 12 |
#define SHORT_TYPE 2 |
Definition at line 120 of file encoder.h.
Referenced by ABR_iteration_loop(), balance_noise(), best_huffman_divide(), bitpressure_strategy(), block_type_set(), calc_min_bits(), calc_target_bits(), CBR_iteration_loop(), compute_masking_s(), init_outer_loop(), L3psycho_anal(), L3psycho_anal_ns(), lame_encode_frame_init(), mdct_short(), mdct_sub48(), noquant_count_bits(), on_pe(), outer_loop(), psfb21_analogsilence(), quantize_xrpow(), scale_bitcount(), scale_bitcount_lsf(), set_pinfo(), trancate_smallspectrums(), VBR_encode_frame(), VBR_new_prepare(), VBR_old_prepare(), and writeMainData().
#define START_TYPE 1 |
#define STOP_TYPE 3 |
int lame_encode_mp3_frame | ( | lame_global_flags *const | gfp, | |
sample_t const * | inbuf_l, | |||
sample_t const * | inbuf_r, | |||
unsigned char * | mp3buf, | |||
int | mp3buf_size | |||
) |
Definition at line 299 of file encoder.c.
References gr_info::block_type, lame_internal_flags::channels_out, FALSE, FFTOFFSET, lame_internal_flags::frac_SpF, gfc, gfp, lame_global_struct::internal_flags, JOINT_STEREO, lame_internal_flags::l3_side, L3psycho_anal(), L3psycho_anal_ns(), lame_encode_frame_init(), lame_internal_flags::lame_encode_frame_init, lame_global_struct::mode, lame_internal_flags::mode_gr, lame_internal_flags::ms_ratio, lame_global_struct::out_samplerate, lame_internal_flags::padding, PSY_NSPSYTUNE, lame_global_struct::psymodel, lame_internal_flags::psymodel, lame_internal_flags::slot_lag, TRUE, and III_side_info_t::tt.
Referenced by lame_encode_frame().
Here is the call graph for this function: