12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef __GASPECIFICCONFIG_C_H__
- #define __GASPECIFICCONFIG_C_H__
- #include "mp4dec_asc/audioobjecttypes.h"
- #include "mp4dec_asc/programcfg_c.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- struct CSBitStream;
- typedef struct CSGaSpecificConfig {
- unsigned int m_frameLengthFlag;
- unsigned int m_dependsOnCoreCoder;
- unsigned int m_coreCoderDelay;
- unsigned int m_extensionFlag;
- unsigned int m_extensionFlag3;
- unsigned int m_layer;
- unsigned int m_numOfSubFrame;
- unsigned int m_layerLength;
- unsigned int m_vcb11Flag;
- unsigned int m_rvlcFlag;
- unsigned int m_hcrFlag;
- CSProgramConfig m_progrConfigElement;
- } CSGaSpecificConfig, *CSGaSpecificConfigPtr;
- void GaSpecificConfig_Parse(CSGaSpecificConfigPtr self, struct CSBitStream *bs, const int channelConfiguration, const AUDIO_OBJECT_TYPE aot);
- void GaSpecificConfig_Copy(CSGaSpecificConfigPtr self, const CSGaSpecificConfigPtr gasc);
- int GaSpecificConfig_Compare(const CSGaSpecificConfigPtr self, const CSGaSpecificConfigPtr gasc, const AUDIO_OBJECT_TYPE aot);
- #ifdef ASC_PRINT
- int GaSpecificConfig_Print(const CSGaSpecificConfigPtr gasc, char string[], const int channelConfiguration, const AUDIO_OBJECT_TYPE aot);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|