www.pudn.com > iMagic_2006_0428_v098r23.rar > aacenccommon.h
#ifndef _AACENCCOMMON_H #define _AACENCCOMMON_H /////////////////////////////////////// // Experiment Define /////////////////////////////////////// //#define _DUMP_MS_USED //#define _DUMP_PE_BITS //#define _DUMP_LR_PE //#define _DUMP_ISCALE //#define _DUMP_FINAL_SCALE //#define _DUMP_QUANT_INFO //#define _DUMP_FIND_MAX //#define _DUMP_SPEED //#define ABR_BIT_PE /////////////////////////////////////// // Internal Parameter Define /////////////////////////////////////// //#define USE_ATH //#define ENABLE_SIGN_HUFFMAN #define ABR_SCALE_BOUND1 15 #define ABR_SCALE_BOUND2 25 #define VBR_SCALE_BOUND1 15 #define VBR_SCALE_BOUND2 25 #define PSY_ENERGY_BAND 43 #define BIT_LOWERBOUND 200 #define RESV_HISTORY_NUM 8 #define VBR_HISTORY_NUM 16 #define IXMAX_VAL 8192 #define MAX_CH_BITS 6144 /////////////////////////////////////// // Fixed-point Define /////////////////////////////////////// #define iRESV_HISTORY_NUM 3 #define iVBR_HISTORY_NUM 4 #define LR_CLZ_BOUND 8 #define MS_CLZ_BOUND 7 #define iMS_DISCOUNT 25887//(int)(0.79*POW2_15) #define iMAGIC_NUMBER (int)(0.4054*POW2_9) #define ABR_FIX_SCALE 328//(int)(0.01*POW2_15) #define ABR_FIX_BOUND1 -819//(int)(-1*(0.2*POW2_12)) #define ABR_FIX_BOUND2 819//(int)(0.2*POW2_12) #define ABR_CONTROL1 0x3CCCCCCC//(int)(0.95*POW2_30) #define ABR_CONTROL2 0x43333333//(int)(1.05*POW2_30) /////////////////////////////////////// // Version Information /////////////////////////////////////// #define MAX_NAME_SIZE 1000 #define AACENC_VERSION 1.5 #define AACENC_RC 0 #endif