
Go to the source code of this file.
Functions | |
| void | create_ana_filter (double[SBLIMIT][64]) |
| void | encode_info (frame_info *, Bit_stream_struc *) |
| void | combine_LR (double[2][3][SCALE_BLOCK][SBLIMIT], double[3][SCALE_BLOCK][SBLIMIT], int) |
| void | scale_factor_calc (double[][3][SCALE_BLOCK][SBLIMIT], unsigned int[][3][SBLIMIT], int, int) |
| void | pick_scale (unsigned int[2][3][SBLIMIT], frame_info *, double[2][SBLIMIT]) |
| void | put_scale (unsigned int[2][3][SBLIMIT], frame_info *, double[2][SBLIMIT]) |
| void | transmission_pattern (unsigned int[2][3][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *) |
| void | encode_scale (unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][3][SBLIMIT], frame_info *, Bit_stream_struc *) |
| int | bits_for_nonoise (double[2][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *) |
| void | main_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], int *, frame_info *, options *) |
| int | a_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], int *, frame_info *) |
| void | subband_quantization (unsigned int[2][3][SBLIMIT], double[2][3][SCALE_BLOCK][SBLIMIT], unsigned int[3][SBLIMIT], double[3][SCALE_BLOCK][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][3][SCALE_BLOCK][SBLIMIT], frame_info *) |
| void | encode_bit_alloc (unsigned int[2][SBLIMIT], frame_info *, Bit_stream_struc *) |
| void | sample_encoding (unsigned int[2][3][SCALE_BLOCK][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *, Bit_stream_struc *) |
| void | encode_CRC (unsigned int, Bit_stream_struc *) |
| void | maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch) |
| int | VBR_bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info *frame, int vbrlevel) |
| void | VBR_maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch, options *glopts) |
| int | VBR_bit_allocation (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info *frame, options *glopts) |
| int a_bit_allocation | ( | double | [2][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| unsigned | int[2][SBLIMIT], | |||
| int * | , | |||
| frame_info * | ||||
| ) |
Definition at line 834 of file encode.c.
References frame_info::alloc, bit_alloc(), frame_header::error_protection, fprintf, frame_info::header, init, frame_info::jsbound, maxmnr(), frame_info::nch, NOISY_MIN_MNR, and frame_info::sblimit.
Referenced by main_bit_allocation().

| int bits_for_nonoise | ( | double | [2][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| frame_info * | ||||
| ) |
Definition at line 364 of file encode.c.
References frame_info::alloc, al_table::bits, frame_header::error_protection, frame_info::header, frame_info::jsbound, frame_info::nch, NOISY_MIN_MNR, and frame_info::sblimit.
Referenced by main_bit_allocation().
| void combine_LR | ( | double | [2][3][SCALE_BLOCK][SBLIMIT], | |
| double | [3][SCALE_BLOCK][SBLIMIT], | |||
| int | ||||
| ) |
| void create_ana_filter | ( | double | [SBLIMIT][64] | ) |
| void encode_bit_alloc | ( | unsigned | int[2][SBLIMIT], | |
| frame_info * | , | |||
| Bit_stream_struc * | ||||
| ) |
Definition at line 1158 of file encode.c.
References frame_info::alloc, bit_alloc(), frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.
Referenced by toolame().

| void encode_CRC | ( | unsigned | int, | |
| Bit_stream_struc * | ||||
| ) |
| void encode_info | ( | frame_info * | , | |
| Bit_stream_struc * | ||||
| ) |
Definition at line 30 of file encode.c.
References frame_header::bitrate_index, frame_header::copyright, frame_header::emphasis, frame_header::error_protection, frame_header::extension, frame_info::header, header, frame_header::lay, frame_header::mode, frame_header::mode_ext, frame_header::original, frame_header::padding, put1bit(), putbits(), frame_header::sampling_frequency, and frame_header::version.
Referenced by toolame().

| void encode_scale | ( | unsigned | int[2][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| unsigned | int[2][3][SBLIMIT], | |||
| frame_info * | , | |||
| Bit_stream_struc * | ||||
| ) |
Definition at line 289 of file encode.c.
References bit_alloc(), frame_info::nch, putbits(), and frame_info::sblimit.
Referenced by toolame().

| void main_bit_allocation | ( | double | [2][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| unsigned | int[2][SBLIMIT], | |||
| int * | , | |||
| frame_info * | , | |||
| options * | ||||
| ) |
Definition at line 502 of file encode.c.
References a_bit_allocation(), frame_info::actual_mode, available_bits(), bit_alloc(), bitrate, frame_header::bitrate_index, bits_for_nonoise(), FALSE, fprintf, frame_info::header, header, init, js_bound(), frame_info::jsbound, frame_header::lay, frame_header::mode, frame_header::mode_ext, MPG_MD_JOINT_STEREO, MPG_MD_MONO, MPG_MD_STEREO, s_freq, frame_header::sampling_frequency, frame_info::sblimit, TRUE, options::vbr, VBR_bit_allocation(), VBR_bits_for_nonoise(), options::vbrlevel, vbrstats, options::verbosity, and frame_header::version.
Referenced by toolame().

| void maxmnr | ( | double | mnr[2][SBLIMIT], | |
| char | used[2][SBLIMIT], | |||
| int | sblimit, | |||
| int | stereo, | |||
| int * | min_sb, | |||
| int * | min_ch | |||
| ) |
| void pick_scale | ( | unsigned | int[2][3][SBLIMIT], | |
| frame_info * | , | |||
| double | [2][SBLIMIT] | |||
| ) |
Definition at line 174 of file encode.c.
References multiple, frame_info::nch, and frame_info::sblimit.
Referenced by toolame().
| void put_scale | ( | unsigned | int[2][3][SBLIMIT], | |
| frame_info * | , | |||
| double | [2][SBLIMIT] | |||
| ) |
| void sample_encoding | ( | unsigned | int[2][3][SCALE_BLOCK][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| frame_info * | , | |||
| Bit_stream_struc * | ||||
| ) |
Definition at line 1185 of file encode.c.
References frame_info::alloc, bit_alloc(), bits, frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.
Referenced by toolame().

| void scale_factor_calc | ( | double | [][3][SCALE_BLOCK][SBLIMIT], | |
| unsigned | int[][3][SBLIMIT], | |||
| int | , | |||
| int | ||||
| ) |
| void subband_quantization | ( | unsigned | int[2][3][SBLIMIT], | |
| double | [2][3][SCALE_BLOCK][SBLIMIT], | |||
| unsigned | int[3][SBLIMIT], | |||
| double | [3][SCALE_BLOCK][SBLIMIT], | |||
| unsigned | int[2][SBLIMIT], | |||
| unsigned | int[2][3][SCALE_BLOCK][SBLIMIT], | |||
| frame_info * | ||||
| ) |
Definition at line 1021 of file encode.c.
References frame_info::alloc, bit_alloc(), fprintf, frame_info::jsbound, multiple, frame_info::nch, and frame_info::sblimit.
Referenced by toolame().

| void transmission_pattern | ( | unsigned | int[2][3][SBLIMIT], | |
| unsigned | int[2][SBLIMIT], | |||
| frame_info * | ||||
| ) |
Definition at line 207 of file encode.c.
References frame_info::nch, and frame_info::sblimit.
Referenced by toolame().
| int VBR_bit_allocation | ( | double | perm_smr[2][SBLIMIT], | |
| unsigned int | scfsi[2][SBLIMIT], | |||
| unsigned int | bit_alloc[2][SBLIMIT], | |||
| int * | adb, | |||
| frame_info * | frame, | |||
| options * | glopts | |||
| ) |
Definition at line 687 of file encode.c.
References frame_info::alloc, bit_alloc(), frame_header::error_protection, frame_info::header, init, frame_info::jsbound, frame_info::nch, frame_info::sblimit, and VBR_maxmnr().
Referenced by main_bit_allocation().

| int VBR_bits_for_nonoise | ( | double | perm_smr[2][SBLIMIT], | |
| unsigned int | scfsi[2][SBLIMIT], | |||
| frame_info * | frame, | |||
| int | vbrlevel | |||
| ) |
Definition at line 420 of file encode.c.
References frame_info::alloc, al_table::bits, frame_header::error_protection, frame_info::header, frame_info::jsbound, frame_info::nch, NOISY_MIN_MNR, and frame_info::sblimit.
Referenced by main_bit_allocation().
| void VBR_maxmnr | ( | double | mnr[2][SBLIMIT], | |
| char | used[2][SBLIMIT], | |||
| int | sblimit, | |||
| int | stereo, | |||
| int * | min_sb, | |||
| int * | min_ch, | |||
| options * | glopts | |||
| ) |
1.5.5