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

📄 aac_dec_tns_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) 2005-2006 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __SAACDEC_TNS_H
#define __SAACDEC_TNS_H

#include "aaccmn_const.h"
#include "aac_dec_own.h"

typedef struct
{
    Ipp32s   m_lpc[MAX_NUM_WINDOWS][MAX_FILT][TNS_MAX_ORDER];
    Ipp32s   m_lpc_scalef[MAX_NUM_WINDOWS][MAX_FILT];
    Ipp32s   m_start[MAX_NUM_WINDOWS][MAX_FILT];
    Ipp32s   m_size[MAX_NUM_WINDOWS][MAX_FILT];
    Ipp32s   m_order[MAX_NUM_WINDOWS][MAX_FILT];
    Ipp32s   m_inc[MAX_NUM_WINDOWS][MAX_FILT];

    Ipp32s   m_num_windows;
    Ipp32s   m_n_filt[MAX_NUM_WINDOWS];
    Ipp32s   m_tns_data_present;
} s_tns_data;

#ifdef  __cplusplus
extern "C" {
#endif

void aacidec_ics_calc_tns_data(s_SE_Individual_channel_stream *p_stream, s_tns_data *p_data);
void aacidec_ics_apply_tns_enc_I(s_tns_data* p_data, Ipp32s *p_spectrum);
void aacidec_ics_apply_tns_dec_I(s_tns_data* p_data, Ipp32s *p_spectrum);

#ifdef  __cplusplus
}
#endif


#ifndef MAX
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif

#ifndef MIN
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#endif

#ifndef PI
#define PI 3.14159265359f
#endif

#endif//__SAACDEC_LTP_H

⌨️ 快捷键说明

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