You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
717B

  1. /* mpeg audio declarations for both encoder and decoder */
  2. /* max frame size, in samples */
  3. #define MPA_FRAME_SIZE 1152
  4. /* max compressed frame size */
  5. #define MPA_MAX_CODED_FRAME_SIZE 1792
  6. #define MPA_MAX_CHANNELS 2
  7. #define SBLIMIT 32 /* number of subbands */
  8. #define MPA_STEREO 0
  9. #define MPA_JSTEREO 1
  10. #define MPA_DUAL 2
  11. #define MPA_MONO 3
  12. int l2_select_table(int bitrate, int nb_channels, int freq, int lsf);
  13. const UINT16 mpa_bitrate_tab[2][3][15];
  14. const UINT16 mpa_freq_tab[3];
  15. extern const unsigned char *alloc_tables[5];
  16. extern const double enwindow[512];
  17. extern const int sblimit_table[5];
  18. extern const int quant_steps[17];
  19. extern const int quant_bits[17];
  20. extern const INT32 mpa_enwindow[257];