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.

52 lines
1.5KB

  1. /*
  2. * common functions for the ATRAC family of decoders
  3. *
  4. * Copyright (c) 2009-2013 Maxim Poliakovski
  5. * Copyright (c) 2009 Benjamin Larsson
  6. *
  7. * This file is part of Libav.
  8. *
  9. * Libav is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2.1 of the License, or (at your option) any later version.
  13. *
  14. * Libav is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with Libav; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. */
  23. /**
  24. * @file
  25. * ATRAC common header
  26. */
  27. #ifndef AVCODEC_ATRAC_H
  28. #define AVCODEC_ATRAC_H
  29. extern float ff_atrac_sf_table[64];
  30. /**
  31. * Generate common tables.
  32. */
  33. void ff_atrac_generate_tables(void);
  34. /**
  35. * Quadrature mirror synthesis filter.
  36. *
  37. * @param inlo lower part of spectrum
  38. * @param inhi higher part of spectrum
  39. * @param nIn size of spectrum buffer
  40. * @param pOut out buffer
  41. * @param delayBuf delayBuf buffer
  42. * @param temp temp buffer
  43. */
  44. void ff_atrac_iqmf (float *inlo, float *inhi, unsigned int nIn, float *pOut, float *delayBuf, float *temp);
  45. #endif /* AVCODEC_ATRAC_H */