📄 aac_dec_fp.h
字号:
/*
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed except in accordance with the terms of that agreement.
// Copyright (c) 2002-2007 Intel Corporation. All Rights Reserved.
//
*/
#ifndef __AAC_DEC_FP_H__
#define __AAC_DEC_FP_H__
#include "ipps.h"
#include "aaccmn_const.h"
#include "audio_codec_params.h"
#include "mp4cmn_pce.h"
#include "aac_status.h"
#include "sbr_dec_struct.h"
#ifdef __cplusplus
extern "C" {
#endif
struct _AACDec;
typedef struct _AACDec AACDec;
AACStatus aacdecReset(AACDec *state);
AACStatus aacdecInit(AACDec *state_ptr);
AACStatus aacdecUpdateStateMemMap(AACDec *state, Ipp32s mShift);
AACStatus aacdecUpdateObjMemMap(AACDec *state, Ipp32s mShift);
AACStatus aacdecGetSize(Ipp32s *pSize);
AACStatus aacdecClose(AACDec *state);
AACStatus aacdecGetFrame(Ipp8u *inPointer,
Ipp32s *decodedBytes,
Ipp16s *outPointer,
Ipp32s outBufferSize,
AACDec *state);
AACStatus aacdecGetDuration(Ipp32f *p_duration,
AACDec *state);
AACStatus aacdecGetInfo(cAudioCodecParams *a_info,
AACDec *state);
AACStatus aacdecSetSamplingFrequency(Ipp32s sampling_frequency_index,
AACDec *state);
/* SBR tool */
AACStatus aacdecSetSBRModeDecode(Ipp32s ModeDecodeHEAAC,
AACDec *state);
AACStatus aacdecSetSBRModeDwnsmpl(Ipp32s ModeDwnsmplHEAAC,
AACDec *state);
AACStatus aacdecSetSBRSupport(eSBR_SUPPORT flag, AACDec *state);
/* PS tool */
AACStatus aacdecSetPSSupport( Ipp32s flag, AACDec *state);
AACStatus aacdecSetAudioObjectType(enum AudioObjectType audio_object_type,
AACDec *state,
Ipp8u *mem,
Ipp32s *size_all);
AACStatus aacdecGetFDPSize(enum AudioObjectType audio_object_type,
Ipp32s *pSize);
AACStatus aacdecSetPCE(sProgram_config_element *pce,
AACDec *state);
AACStatus aacdecSetAdtsChannelConfiguration(Ipp32s adts_channel_configuration,
AACDec *state);
AACStatus aacdecInitCRC(Ipp32s crc_enable,
AACDec *state);
AACStatus aacdecSetCRC(Ipp32s crc,
AACDec *state);
AACStatus aacdecGetCRC(Ipp32s *crc,
AACDec *state);
AACStatus aacdecGetSbrFlagPresent(Ipp32s *SbrFlagPresent,
AACDec *state);
AACStatus aacdecGetFrameSize(Ipp32s *frameSize,
AACDec *state);
AACStatus aacdecGetSampleFrequency(Ipp32s *freq,
AACDec *state);
AACStatus aacdecGetNumDecodedFrames(Ipp32s *num,
AACDec *state);
AACStatus aacdecGetChannels(Ipp32s *ch,
AACDec *state);
AACStatus aacdec_GetID3Len(Ipp8u *in,
Ipp32s inDataSize,
AACDec *state);
AACStatus aacdec_SkipID3(Ipp32s inDataSize,
Ipp32s *skipped,
AACDec *state);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -