emacs vars for .inc files
[cinelerra_cv/ct.git] / toolame-02l / encode.h
blob136967a1a564d963d724e226ec8d1e52b8629a9c
2 void create_ana_filter (double[SBLIMIT][64]);
3 void encode_info (frame_info *, Bit_stream_struc *);
4 void combine_LR (double[2][3][SCALE_BLOCK][SBLIMIT],
5 double[3][SCALE_BLOCK][SBLIMIT], int);
6 void scale_factor_calc (double[][3][SCALE_BLOCK][SBLIMIT],
7 unsigned int[][3][SBLIMIT], int, int);
8 void pick_scale (unsigned int[2][3][SBLIMIT], frame_info *,
9 double[2][SBLIMIT]);
10 void put_scale (unsigned int[2][3][SBLIMIT], frame_info *,
11 double[2][SBLIMIT]);
12 void transmission_pattern (unsigned int[2][3][SBLIMIT],
13 unsigned int[2][SBLIMIT], frame_info *);
14 void encode_scale (unsigned int[2][SBLIMIT],
15 unsigned int[2][SBLIMIT],
16 unsigned int[2][3][SBLIMIT], frame_info *,
17 Bit_stream_struc *);
18 int bits_for_nonoise (double[2][SBLIMIT], unsigned int[2][SBLIMIT],
19 frame_info *);
20 void main_bit_allocation (double[2][SBLIMIT],
21 unsigned int[2][SBLIMIT],
22 unsigned int[2][SBLIMIT], int *,
23 frame_info *, options *);
25 int a_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT],
26 unsigned int[2][SBLIMIT], int *, frame_info *);
27 void subband_quantization (unsigned int[2][3][SBLIMIT],
28 double[2][3][SCALE_BLOCK][SBLIMIT],
29 unsigned int[3][SBLIMIT],
30 double[3][SCALE_BLOCK][SBLIMIT],
31 unsigned int[2][SBLIMIT],
32 unsigned int[2][3][SCALE_BLOCK][SBLIMIT],
33 frame_info *);
34 void encode_bit_alloc (unsigned int[2][SBLIMIT], frame_info *,
35 Bit_stream_struc *);
36 void sample_encoding (unsigned int[2][3][SCALE_BLOCK][SBLIMIT],
37 unsigned int[2][SBLIMIT], frame_info *,
38 Bit_stream_struc *);
39 void encode_CRC (unsigned int, Bit_stream_struc *);
41 void maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch);
43 int VBR_bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info * frame, int vbrlevel);
44 void VBR_maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch, options * glopts);
45 int VBR_bit_allocation (double perm_smr[2][SBLIMIT],
46 unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info * frame, options * glopts);