; compile variables also. ----------------------------------------------------------------------------*/ #define R_SHIFT1 29 #define Qfmt29(x) (Int32)(x*((Int32)1<<R_SHIFT1) + (x>=0?0.5F:-0.5F)) #define Qfmt31(a) (Int32)(a*0x7FFFFFFF + (a>=0?0.5F:-0.5F)) const Int32 CosTable_16[14] = { Qfmt31(0.50060299823520F), Qfmt31(0.50547095989754F), Qfmt31(0.51544730992262F), Qfmt31(0.53104259108978F), Qfmt31(0.55310389603444F), Qfmt31(0.58293496820613F), Qfmt31(0.62250412303566F), Qfmt31(0.67480834145501F), Qfmt31(0.74453627100230F), Qfmt31(0.83934964541553F), Qfmt29(0.97256823786196F), Qfmt29(1.16943993343288F), Qfmt29(1.48416461631417F), Qfmt29(2.05778100995341F) }; /*---------------------------------------------------------------------------- ; LOCAL FUNCTION DEFINITIONS ; Function Prototype declaration ----------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------- ; LOCAL STORE/BUFFER/POINTER DEFINITIONS ; Variable declaration - defined here and used outside this module ----------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------- ; EXTERNAL FUNCTION REFERENCES
; LOCAL FUNCTION DEFINITIONS ; Function Prototype declaration ----------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------- ; LOCAL STORE/BUFFER/POINTER DEFINITIONS ; Variable declaration - defined here and used outside this module ----------------------------------------------------------------------------*/ /* * (1./(2*cos((pi/(2*N))*(2*i+1)))), N = 12, i = [0:N/2-1] */ const int32 cosTerms_1_ov_cos_phi_N6[6] = { Qfmt29(0.50431448029008f), Qfmt29(0.54119610014620f), Qfmt29(0.63023620700513f), Qfmt29(0.82133981585229f), Qfmt29(1.30656296487638f), Qfmt29(3.83064878777019f) }; /*---------------------------------------------------------------------------- ; EXTERNAL FUNCTION REFERENCES ; Declare functions defined elsewhere and referenced in this module ----------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------- ; EXTERNAL GLOBAL STORE/BUFFER/POINTER REFERENCES ; Declare variables used in this module but defined elsewhere ----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------