www.pudn.com > iMagic_2006_0428_v098r23.rar > I_tns_common.h
/*
****************************************************************
* Magic Pixel Inc.
* Copyright 2004, Magic Pixel Inc., HsinChu, Taiwan
* All rights reserved.
*
*
*
* Filename: I_tns_common.H
*
* Programmer: Honda
* MPX E340 division
*
* Created: 11/24/2005
*
* Description: Common header file
*
*
* Change History (most recent first):
* <1> 11/24/2005 Honda first file
****************************************************************
*/
#ifndef i_tns_common_h
#define i_tns_common_h
#define TNS_MAX_ORDER 12
#define TNS_MAX_ORDER_LONG 12
#define TNS_MAX_ORDER_SHORT 7
#define MAX_FILT_LONG 3
#define MAX_FILT_SHORT 1
#define WLOOP_INC_LONG 36 //max_filt_long(3) * max_order_long(12)
#define WLOOP_INC_SHORT 7 //max_filt_short(1) * max_order_short(7)
#define FLOOP_INC_LONG 12 //max_order_long(12)
#define FLOOP_INC_SHORT 7 //max_order_short(7)
extern int32_t coef_0_3_I[];
extern int32_t coef_0_4_I[];
extern int32_t coef_1_3_I[];
extern int32_t coef_1_4_I[];
extern int32_t *deq_coef_table[];
extern uint8_t tns_maxsfb_long_I[];
extern uint8_t tns_maxsfb_short_I[];
void lattice_tns_decode_I(ic_stream *ics, tns_info_I *tns, uint8_t sr_index,
int32_t *spec);
void tns_decode_frame_I(ic_stream *ics, tns_info_I *tns, uint8_t sr_index,
int32_t *spec);
void tns_data_I(aac_dec *pad, ic_stream *ics, tns_info_I *tns);
#endif