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

📄 aac_dec_own_fp.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-2007 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __AAC_DEC_OWN_FP_H__
#define __AAC_DEC_OWN_FP_H__

#include "ipps.h"
#include "aac_filterbank_fp.h"
#include "aac_dec_ltp_fp.h"
#include "sbr_dec_struct.h"
#include "aaccmn_chmap.h"
#include "audio_codec_params.h"
#include "aac_dec_own.h"
#include "aac_dec_sbr_fp.h"

/* PARAMETRIC STEREO */
#include "aac_dec_ps_fp.h"

typedef struct {
  Ipp32f app_pqfbuf0[24];
  Ipp32f app_pqfbuf1[24];
  Ipp32f app_pqfbuf2[24];
  Ipp32f app_pqfbuf3[24];
} ownIppsIPQFState_32f;

struct _AACDec {
  AACDec_com     com;

  Ipp32f         m_prev_samples[CH_MAX + COUPL_CH_MAX][1024 * 2];
  Ipp32f         m_curr_samples[CH_MAX + COUPL_CH_MAX][1024 * 2];
  Ipp32f         m_ltp_buf[CH_MAX + COUPL_CH_MAX][3][1024 * 2];
  Ipp32f         m_spectrum_data[CH_MAX + COUPL_CH_MAX][1024];
  Ipp32f         m_gcOverlapBuffer[CH_MAX + COUPL_CH_MAX][4 * 512];
  Ipp32f*         m_ordered_samples[CH_MAX + COUPL_CH_MAX];
  Ipp32f         cc_gain[COUPL_CH_MAX][18][MAX_GROUP_NUMBER][MAX_SFB];
  s_tns_data     tns_data[CH_MAX];
  ownIppsIPQFState_32f SSR_IPQFState[CH_MAX + COUPL_CH_MAX];

  sSBRBlock      sbrBlock[CH_MAX];
  sSbrDecFilter  sbr_filter[CH_MAX];
  Ipp8u*         pWorkBuffer;
  /* it is only draft version. reason - memory usage has to be optimized */
  sPSDecState_32f psState;

  sFilterbank   m_filterbank;
  sLtp          m_ltp;

  IppsFDPState_32f *pFDPState[CH_MAX + COUPL_CH_MAX];
};

/********************************************************************/
#define AACDEC_UPDATE_PTR(type, ptr,inc)  \
  if (ptr) {                              \
    ptr = (type *)((Ipp8u *)(ptr) + inc); \
  }
/********************************************************************/

#endif

⌨️ 快捷键说明

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