00001
00002 void create_ana_filter (double[SBLIMIT][64]);
00003 void encode_info (frame_info *, Bit_stream_struc *);
00004 void combine_LR (double[2][3][SCALE_BLOCK][SBLIMIT],
00005 double[3][SCALE_BLOCK][SBLIMIT], int);
00006 void scale_factor_calc (double[][3][SCALE_BLOCK][SBLIMIT],
00007 unsigned int[][3][SBLIMIT], int, int);
00008 void pick_scale (unsigned int[2][3][SBLIMIT], frame_info *,
00009 double[2][SBLIMIT]);
00010 void put_scale (unsigned int[2][3][SBLIMIT], frame_info *,
00011 double[2][SBLIMIT]);
00012 void transmission_pattern (unsigned int[2][3][SBLIMIT],
00013 unsigned int[2][SBLIMIT], frame_info *);
00014 void encode_scale (unsigned int[2][SBLIMIT],
00015 unsigned int[2][SBLIMIT],
00016 unsigned int[2][3][SBLIMIT], frame_info *,
00017 Bit_stream_struc *);
00018 int bits_for_nonoise (double[2][SBLIMIT], unsigned int[2][SBLIMIT],
00019 frame_info *);
00020 void main_bit_allocation (double[2][SBLIMIT],
00021 unsigned int[2][SBLIMIT],
00022 unsigned int[2][SBLIMIT], int *,
00023 frame_info *, options *);
00024
00025 int a_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT],
00026 unsigned int[2][SBLIMIT], int *, frame_info *);
00027 void subband_quantization (unsigned int[2][3][SBLIMIT],
00028 double[2][3][SCALE_BLOCK][SBLIMIT],
00029 unsigned int[3][SBLIMIT],
00030 double[3][SCALE_BLOCK][SBLIMIT],
00031 unsigned int[2][SBLIMIT],
00032 unsigned int[2][3][SCALE_BLOCK][SBLIMIT],
00033 frame_info *);
00034 void encode_bit_alloc (unsigned int[2][SBLIMIT], frame_info *,
00035 Bit_stream_struc *);
00036 void sample_encoding (unsigned int[2][3][SCALE_BLOCK][SBLIMIT],
00037 unsigned int[2][SBLIMIT], frame_info *,
00038 Bit_stream_struc *);
00039 void encode_CRC (unsigned int, Bit_stream_struc *);
00040
00041 void maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch);
00042
00043 int VBR_bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info * frame, int vbrlevel);
00044 void VBR_maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch, options * glopts);
00045 int VBR_bit_allocation (double perm_smr[2][SBLIMIT],
00046 unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info * frame, options * glopts);
00047