www.pudn.com > iMagic_2006_0428_v098r23.rar > util.h
#ifndef _UTIL_H
#define _UTIL_H
#include "AACEncoder.h"
void SpectrumControl( AAC_Config* aac_config,
ChannelInfo* channelinfo,
MaskInfo* maskinfoLR);
void MSSpectrumControl( AAC_Config* aac_config,
ChannelInfo* channelinfo,
MaskInfo* maskinfoLR,
MaskInfo* maskinfoMS);
//void Init_Log_Table(void);
int norm_log(unsigned int x,int *nor_var);
unsigned int Sqrt32(unsigned int x, int scale_exp);
int GetSRIndex(unsigned int sampleRate);
float fMIN( float a , float b );
float fMAX( float a , float b );
int iMIN( int a , int b );
int iMAX( int a , int b );
int QADD( int a , int b );
int aacencLog2( int x);
int CLZ(int x);
#ifdef _DUMP_FIND_MAX
void fFind_MAX( AAC_Config* aac_config, double *input , int length );
void iFind_MAX( AAC_Config* aac_config, int *input , int length );
#endif
#endif