⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aac_enc_int.h

📁 audio-video-codecs.rar语音编解码器
💻 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-2006 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __AAC_ENC_INT_H__
#define __AAC_ENC_INT_H__

#include "ipps.h"
#include "aac_status.h"
#include "aaccmn_const.h"
#include "mp4cmn_pce.h"
#include "aac_enc_own.h"
#include "vm_debug.h"


#ifdef __cplusplus
extern "C" {
#endif

  struct _AACEnc;
  typedef struct _AACEnc AACEnc;

#define AAC_MONO 0
#define AAC_LR_STEREO 1
#define AAC_MS_STEREO 2
#define AAC_JOINT_STEREO 3

  void aaciencUpdateMemMap(AACEnc *state,
                           Ipp32s shift);

  AACStatus aaciencInit(AACEnc *state,
                        Ipp32s sampling_frequency,
                        Ipp32s chNum,
                        Ipp32s bit_rate,
                        enum AudioObjectType audioObjectType,
                        Ipp32s stereo_mode,
                        Ipp32s ns_mode,
                        Ipp32s *size_all);

  AACStatus aaciencGetFrame(Ipp16s *inPointer,
                            Ipp32s *encodedBytes,
                            Ipp8u *outPointer,
                            AACEnc *state);

  AACStatus aaciencFillProgramConfigElement(sProgram_config_element* p_data,
                                            Ipp32s element_instance_tag,
                                            AACEnc *state);

  AACStatus aaciencClose(AACEnc *state);

  AACStatus aaciencGetCrcSaveTable(sCrcSaveTable **crcSaveTable,
                                   AACEnc *state);

  AACStatus aaciencGetSampleFrequencyIndex(Ipp32s *freq_index,
                                           AACEnc *state);

  AACStatus aaciencGetNumEncodedFrames(Ipp32s *m_frame_number,
                                       AACEnc *state);

  AACStatus aaciencGetDuration(Ipp32f *p_duration,
                               AACEnc *state);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -