www.pudn.com > iMagic_2006_0428_v098r23.rar > ChannelInfo.h
#ifndef _CHANNELINFO_H
#define _CHANNELINFO_H
#include "AACEncoder.h"
typedef struct {
// flag part
int tag;
int ch_is_left;
int paired_ch;
//int common_window;
int cpe;
// int sce;
// band information
// int window_shape;
// int block_type;
// int tnsDataPresent;
// int pred_global_flag;
// psychoacoustic model
int i_last_thr[MAX_SCFAC_BANDS];
// test
int ch_PE;
int weight_bits[VBR_HISTORY_NUM];
int weight_index;
int weight_sum;
// Bit Allocation
int scale_factor[MAX_SCFAC_BANDS];
int global_gain;
int last_global_gain;
int max_quant_sfb;
// Huffman
int book_vector[MAX_SCFAC_BANDS];
int max_value[MAX_SCFAC_BANDS];
//int ix_abs[FRAME_LEN];
int *ix_abs;
// filter bank
//int sampleBuff[FRAME_LEN];
int *i_freqBuff;
int *i_MSfreqBuff;
} ChannelInfo;
extern ChannelInfo *channelinfo;
void GetChannelInfo(ChannelInfo *channelInfo, int numChannels);
#endif