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.

71 lines
2.2KB

  1. /*
  2. * DCA compatible decoder data
  3. *
  4. * This file is part of Libav.
  5. *
  6. * Libav is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * Libav is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with Libav; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #ifndef AVCODEC_DCADATA_H
  21. #define AVCODEC_DCADATA_H
  22. #include <stdint.h>
  23. extern const uint32_t ff_dca_bit_rates[32];
  24. extern const uint8_t ff_dca_channels[16];
  25. extern const uint8_t ff_dca_bits_per_sample[7];
  26. extern const int16_t ff_dca_adpcm_vb[4096][4];
  27. extern const uint32_t ff_dca_scale_factor_quant6[64];
  28. extern const uint32_t ff_dca_scale_factor_quant7[128];
  29. extern const uint32_t ff_dca_lossy_quant[32];
  30. extern const uint32_t ff_dca_lossless_quant[32];
  31. extern const int8_t ff_dca_high_freq_vq[1024][32];
  32. extern const float ff_dca_fir_32bands_perfect[512];
  33. extern const float ff_dca_fir_32bands_nonperfect[512];
  34. extern const float ff_dca_lfe_fir_64[256];
  35. extern const float ff_dca_lfe_fir_128[256];
  36. extern const float ff_dca_lfe_xll_fir_64[256];
  37. extern const float ff_dca_fir_64bands[1024];
  38. #define FF_DCA_DMIXTABLE_SIZE 242
  39. #define FF_DCA_INV_DMIXTABLE_SIZE 201
  40. extern const uint16_t ff_dca_dmixtable[FF_DCA_DMIXTABLE_SIZE];
  41. extern const uint32_t ff_dca_inv_dmixtable[FF_DCA_INV_DMIXTABLE_SIZE];
  42. extern const float ff_dca_default_coeffs[10][6][2];
  43. extern const int32_t ff_dca_sampling_freqs[16];
  44. extern const int8_t ff_dca_lfe_index[16];
  45. extern const int8_t ff_dca_channel_reorder_lfe[16][9];
  46. extern const int8_t ff_dca_channel_reorder_lfe_xch[16][9];
  47. extern const int8_t ff_dca_channel_reorder_nolfe[16][9];
  48. extern const int8_t ff_dca_channel_reorder_nolfe_xch[16][9];
  49. extern const uint16_t ff_dca_vlc_offs[63];
  50. #endif /* AVCODEC_DCADATA_H */