aac_dec_tns_fp.h

来自「audio-video-codecs.rar语音编解码器」· C头文件 代码 · 共 56 行

H
56
字号
/*
//
//               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
{
    Ipp32f   m_lpc[MAX_NUM_WINDOWS][MAX_FILT][TNS_MAX_ORDER];
    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 ics_calc_tns_data(s_SE_Individual_channel_stream *p_stream, s_tns_data *p_data);
void ics_apply_tns_enc_I(s_tns_data* p_data, Ipp32f *p_spectrum);
void ics_apply_tns_dec_I(s_tns_data* p_data, Ipp32f *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 + =
减小字号Ctrl + -
显示快捷键?