1
0

spatialspecificconfig_c.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /***************************************************************************\
  2. *
  3. * (C) copyright Fraunhofer - IIS (2007)
  4. * All Rights Reserved
  5. *
  6. * $Header: /cvs/root/winamp/aacdec/incs/mp4dec_asc/spatialspecificconfig_c.h,v 1.3 2012/05/08 20:16:50 audiodsp Exp $
  7. * project : MPEG-4 Audio Decoder
  8. * contents/description: spatial specific config interface
  9. *
  10. * This software and/or program is protected by copyright law and
  11. * international treaties. Any reproduction or distribution of this
  12. * software and/or program, or any portion of it, may result in severe
  13. * civil and criminal penalties, and will be prosecuted to the maximum
  14. * extent possible under law.
  15. *
  16. \***************************************************************************/
  17. #ifndef __SPATIALSPECIFICCONFIG_C_H__
  18. #define __SPATIALSPECIFICCONFIG_C_H__
  19. #include "mp4dec_asc/audioobjecttypes.h"
  20. #include "sac_dec_ssc_struct.h"
  21. #define MAX_SSC_SIZE (256)
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. struct CSBitStream;
  26. typedef struct CSSpatialSpecificConfig {
  27. unsigned int m_sacPayloadEmbedding;
  28. unsigned char m_sscbinarybuffer[MAX_SSC_SIZE];
  29. unsigned int m_ssclen;
  30. SPATIAL_SPECIFIC_CONFIG m_sscstruct;
  31. unsigned int m_isLdmps;
  32. } CSSpatialSpecificConfig, *CSSpatialSpecificConfigPtr;
  33. int SpatialSpecificConfig_Parse(CSSpatialSpecificConfigPtr self, struct CSBitStream *bs, unsigned int isLdmps);
  34. /* void SpatialSpecificConfig_Set(CSSpatialSpecificConfigPtr self, const CSSpatialSpecificConfigPtr mpegssc, const AUDIO_OBJECT_TYPE aot); */
  35. /* int SpatialSpecificConfig_Compare(const CSSpatialSpecificConfigPtr self, const CSSpatialSpecificConfigPtr mpegssc, const AUDIO_OBJECT_TYPE aot); */
  36. int SpatialSpecificConfig_Print(CSSpatialSpecificConfigPtr self, char string[]);
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif /* __SPATIALSPECIFICCONFIG_H__ */