1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #ifndef __AUBUFFERC_H__
- #define __AUBUFFERC_H__
- #include "mp4dec_helpers/err_code.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if defined(WIN32) || defined(WIN64)
- #pragma pack(push, 8)
- #endif
- struct CAccessUnit;
- typedef struct CAccessUnit* CAccessUnitPtr;
- CAccessUnitPtr MP4AUDIODECAPI CAccessUnit_Create(const unsigned char *pBuffer, const unsigned int size);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_Reset (const CAccessUnitPtr self);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_Assign(const CAccessUnitPtr self,
- const unsigned char *pBuffer,
- const unsigned int size);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_GetBitCount(const CAccessUnitPtr self, unsigned int* nBits);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_GetValidBits(const CAccessUnitPtr self, unsigned int* nBits);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_MarkAsInvalid(const CAccessUnitPtr self);
- int MP4AUDIODECAPI CAccessUnit_IsValid(const CAccessUnitPtr self);
- MP4_RESULT MP4AUDIODECAPI CAccessUnit_Destroy(CAccessUnitPtr *self);
- #if defined(WIN32) || defined(WIN64)
- #pragma pack(pop)
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|