1
0

mp3tools.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /***************************************************************************\
  2. *
  3. * MPEG Layer3-Audio Decoder
  4. * © 1997-2006 by Fraunhofer IIS
  5. * All Rights Reserved
  6. *
  7. * filename: mp3tools.h
  8. * project : ISO/MPEG-Decoder
  9. * author : Martin Sieler
  10. * date : 1998-05-26
  11. * contents/description: HEADER - layer III processing
  12. *
  13. *
  14. \***************************************************************************/
  15. /*
  16. * $Date: 2011/01/13 22:43:21 $
  17. * $Id: mp3tools.h,v 1.2 2011/01/13 22:43:21 audiodsp Exp $
  18. */
  19. /*-------------------------------------------------------------------------*/
  20. #ifndef __MP3TOOLS_H__
  21. #define __MP3TOOLS_H__
  22. /* ------------------------ includes --------------------------------------*/
  23. #include "mpeg.h"
  24. /* ------------------------------------------------------------------------*/
  25. void mp3ScaleFactorUpdate
  26. (
  27. const MP3SI_GRCH &SiL,
  28. const MP3SI_GRCH &SiR,
  29. const MPEG_INFO &Info,
  30. MP3SCF &ScaleFac
  31. );
  32. void mp3StereoProcessing
  33. (
  34. float *pLeft,
  35. float *pRight,
  36. MP3SI_GRCH &SiL,
  37. MP3SI_GRCH &SiR,
  38. const MP3SCF &ScaleFac, /* right channel!! */
  39. const MPEG_INFO &Info
  40. );
  41. void mp3Reorder
  42. (
  43. float *pData,
  44. const MP3SI_GRCH &Si,
  45. const MPEG_INFO &Info
  46. );
  47. void mp3Antialias
  48. (
  49. float *pData,
  50. MP3SI_GRCH &Si,
  51. const MPEG_INFO &Info
  52. );
  53. /*-------------------------------------------------------------------------*/
  54. #endif