summaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/encode.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-15 02:44:20 +0100
commit22f1fce330059ef8a383cf327a023d6a9da5ad3e (patch)
tree6893f158dcaaaa1b9f1317923c32a841ba31f768 /libtoolame-dab/encode.h
parent891bb2592944aa2be2d81e1583e73e632e70537f (diff)
downloadfdk-aac-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.gz
fdk-aac-22f1fce330059ef8a383cf327a023d6a9da5ad3e.tar.bz2
fdk-aac-22f1fce330059ef8a383cf327a023d6a9da5ad3e.zip
Include toolame-dab as library
Diffstat (limited to 'libtoolame-dab/encode.h')
-rw-r--r--libtoolame-dab/encode.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/libtoolame-dab/encode.h b/libtoolame-dab/encode.h
new file mode 100644
index 0000000..136967a
--- /dev/null
+++ b/libtoolame-dab/encode.h
@@ -0,0 +1,47 @@
+
+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);
+