📄 aacdec.h
字号:
/*
* $Copyright:
* ----------------------------------------------------------------
* This confidential and proprietary software may be used only as
* authorised by a licensing agreement from ARM Limited
* (C) COPYRIGHT 2002 ARM Limited
* ALL RIGHTS RESERVED
* The entire notice above must be reproduced on all authorised
* copies and copies may only be made to the extent permitted
* by a licensing agreement from ARM Limited.
* ----------------------------------------------------------------
* File: aacdec.h,v
* Revision: 1.2
* ----------------------------------------------------------------
* $
*/
#ifndef _AAC_COMMON_API_
#define _AAC_COMMON_API_
#include "../mp3/audiodec.h"
#ifdef __cplusplus
extern "C" {
#endif
extern const AudioDecoder MPEG4AudioDecoder;
/*
* Use function names directly in ROPI builds.
* See the common audio API document for details.
*/
eDecoderStatus AACDecoderRequirements ( oDecoderReference decoderReference,
sDecoderRequirements *requirements,
sDecoderFormats *formats );
oDecoderHandle AACDecoderCreate ( oDecoderReference decoderReference,
void *state,
void *scratch,
const sDecoderFormats *formats );
eDecoderStatus AACDecoderOpenBitstream ( oDecoderHandle handle,
void *scratch,
sDecoderBitstream *bitstream,
const sDecoderFormats *formats );
eDecoderStatus AACDecodeHeader( oDecoderHandle handle,
void *scratch,
sDecoderBitstream *bitstream);
eDecoderStatus AACDecodeFrame ( oDecoderHandle handle,
void *scratch,
sDecoderOutput *output,
sDecoderBitstream *bitstream
);
eDecoderStatus AACBitstreamSeekBytes( int bytesToSkip,
oDecoderHandle handle,
void *scratch,
sDecoderBitstream *bitstream
);
eDecoderStatus AACBitstreamSeekTime( int timeToSkip,
oDecoderHandle handle,
void *scratch,
sDecoderBitstream *bitstream
);
eDecoderStatus AACDecoderCloseBitstream ( oDecoderHandle handle,
void *scratch
);
eDecoderStatus AACDecoderDestroy ( oDecoderHandle handle,
void *scratch
);
eDecoderStatus AACParseHeader ( oDecoderHandle handle,
void *scratch,
sDecoderBitstream *bitstream
);
#ifdef __cplusplus
}
#endif
#endif /* _AAC_COMMON_API_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -