1 
2 #ifndef __SCHRO_SCHRO_TABLES_H__
3 #define __SCHRO_SCHRO_TABLES_H__
4 
5 #include <schroedinger/schroutils.h>
6 #include <schroedinger/schrobitstream.h>
7 
8 SCHRO_BEGIN_DECLS
9 
10 #ifdef SCHRO_ENABLE_UNSTABLE_API
11 
12 extern const uint32_t schro_table_offset_3_8[61];
13 extern const uint32_t schro_table_offset_1_2[61];
14 extern const uint32_t schro_table_quant[61];
15 extern const uint16_t schro_table_inverse_quant[61];
16 extern const uint16_t schro_table_division_factor[257];
17 extern const double schro_table_error_hist_shift3_1_2[60][104];
18 extern const double schro_table_onebits_hist_shift3_1_2[60][104];
19 extern const double schro_table_zerobits_hist_shift3_1_2[60][104];
20 
21 extern const float schro_tables_wavelet_noise_curve[SCHRO_N_WAVELETS][8][128];
22 extern const double schro_tables_wavelet_gain[SCHRO_N_WAVELETS][2];
23 
24 #define SCHRO_UNPACK_TABLE_SHIFT 10
25 extern const int16_t schro_table_unpack_sint[(1<<SCHRO_UNPACK_TABLE_SHIFT)][SCHRO_UNPACK_TABLE_SHIFT];
26 
27 void schro_tables_init (void);
28 int16_t *schro_tables_get_quantise_table (int quant_index, schro_bool is_intra);
29 int16_t *schro_tables_get_dequantise_table (int quant_index, schro_bool is_intra);
30 
31 #endif
32 
33 SCHRO_END_DECLS
34 
35 #endif
36 
37