Commit b15afd71 authored by emerit's avatar emerit
Browse files

Merge branch '1741_basop_enable_switches' of...

Merge branch '1741_basop_enable_switches' of https://forge.3gpp.org/rep/sa4/audio/ivas-basop into 1741_basop_enable_switches
parents 2bc9c3d3 1ce3b9cd
Loading
Loading
Loading
Loading
+0 −25
Original line number Diff line number Diff line
@@ -299,34 +299,9 @@ ivas_error ivas_HRTF_statistics_init(
            HrtfStatistics->inter_aural_coherence = defaultHRIR_coherence_32kHz_fx;
            break;
        case 16000:
#ifdef NONBE_FIX_AVG_IAC_CLDFB_REVERB
            HrtfStatistics->average_energy_l_dyn = (Word32 *) malloc( LR_IAC_LENGTH_NR_FC_16KHZ * sizeof( float ) );
            if ( HrtfStatistics->average_energy_l_dyn == NULL )
            {
                return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate memory for hrtf data" );
            }
            HrtfStatistics->average_energy_r_dyn = (Word32 *) malloc( LR_IAC_LENGTH_NR_FC_16KHZ * sizeof( float ) );
            if ( HrtfStatistics->average_energy_r_dyn == NULL )
            {
                return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate memory for hrtf data" );
            }
            HrtfStatistics->inter_aural_coherence_dyn = (Word32 *) malloc( LR_IAC_LENGTH_NR_FC_16KHZ * sizeof( float ) );
            if ( HrtfStatistics->inter_aural_coherence_dyn == NULL )
            {
                return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Could not allocate memory for hrtf data" );
            }
            floatToFixed_arr32( defaultHRIR_left_avg_power_16kHz_fx, HrtfStatistics->average_energy_l_dyn, Q23, LR_IAC_LENGTH_NR_FC_16KHZ );  /* tables from which lr_energy_and_iac is updated has Q27 for i=2 */
            floatToFixed_arr32( defaultHRIR_right_avg_power_16kHz_fx, HrtfStatistics->average_energy_r_dyn, Q23, LR_IAC_LENGTH_NR_FC_16KHZ ); /* tables from which lr_energy_and_iac is updated has Q27 for i=2 */
            floatToFixed_arr32( defaultHRIR_coherence_16kHz_fx, HrtfStatistics->inter_aural_coherence_dyn, Q23, LR_IAC_LENGTH_NR_FC_16KHZ );  /* tables from which lr_energy_and_iac is updated has Q27 for i=2 */
            HrtfStatistics->average_energy_l = (const Word32 *) HrtfStatistics->average_energy_l_dyn;
            HrtfStatistics->average_energy_r = (const Word32 *) HrtfStatistics->average_energy_r_dyn;
            HrtfStatistics->inter_aural_coherence = (const Word32 *) HrtfStatistics->inter_aural_coherence_dyn;
#else

            HrtfStatistics->average_energy_l = defaultHRIR_left_avg_power_16kHz_fx;
            HrtfStatistics->average_energy_r = defaultHRIR_right_avg_power_16kHz_fx;
            HrtfStatistics->inter_aural_coherence = defaultHRIR_coherence_16kHz_fx;
#endif
            break;
    }
    HrtfStatistics->fromROM = TRUE;
+15 −3
Original line number Diff line number Diff line
@@ -357,10 +357,22 @@ extern const Word32 defaultHRIR_coherence_32kHz_fx[LR_IAC_LENGTH_NR_FC]; /
extern const Word32 defaultHRIR_left_avg_power_32kHz_fx[LR_IAC_LENGTH_NR_FC];  /*Q-23*/
extern const Word32 defaultHRIR_right_avg_power_32kHz_fx[LR_IAC_LENGTH_NR_FC]; /*Q-23*/

extern const Word32 defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ];       /*Q-27*/
extern const Word32 defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ];  /*Q-23*/
extern const Word32 defaultHRIR_right_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ]; /*Q-23*/

#ifdef NONBE_FIX_AVG_IAC_CLDFB_REVERB
extern   float defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ];       /*Q-27*/
extern   float defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ];  /*Q-23*/
extern   float defaultHRIR_right_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ]; /*Q-23*/
extern const float defaultHRIR_coherence_16kHz[LR_IAC_LENGTH_NR_FC_16KHZ];       /*Q-27*/
extern const float defaultHRIR_left_avg_power_16kHz[LR_IAC_LENGTH_NR_FC_16KHZ];  /*Q-23*/
extern const float defaultHRIR_right_avg_power_16kHz[LR_IAC_LENGTH_NR_FC_16KHZ]; /*Q-23*/

extern const float defaultHRIR_coherence_32kHz[LR_IAC_LENGTH_NR_FC];
extern const float defaultHRIR_left_avg_power_32kHz[LR_IAC_LENGTH_NR_FC];
extern const float defaultHRIR_right_avg_power_32kHz[LR_IAC_LENGTH_NR_FC];

extern const float defaultHRIR_coherence_48kHz[LR_IAC_LENGTH_NR_FC];
extern const float defaultHRIR_left_avg_power_48kHz[LR_IAC_LENGTH_NR_FC];
extern const float defaultHRIR_right_avg_power_48kHz[LR_IAC_LENGTH_NR_FC];
#else
extern const Word32 defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC];       /*Q-27*/
extern const Word32 defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC];  /*Q-23*/
+59 −147
Original line number Diff line number Diff line
@@ -59838,157 +59838,69 @@ const Word32 defaultHRIR_right_avg_power_32kHz_fx[LR_IAC_LENGTH_NR_FC] /*Q-23*/
    2790378,2355663,2029237,1865240,1832432
};
#ifndef NONBE_FIX_AVG_IAC_CLDFB_REVERB
const Word32 defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC] /*Q-27*/ = {
    130123416,130123416,128225040,123478832,118732624,113118568,104033232,94947768,85862304,
    75063144,64263984,53464828,43914296,34675820,25437480,17993766,11746601,5499437,
    1532229,985023,437818,0,0,0,0,0,0,
    0,343865,773496,1203261,2004810,3054258,4103707,4777480,4887673,
    4998000,5066316,4966727,4867271,4767816,4765534,4763253,4760971,4569174,
    4329998,4090822,3659312,3099355,2539533,2037290,1621350,1205543,880065,
    916304,952677,988916,1233058,1477200,1721342,1912602,2090441,2268413,
    2427327,2573490,2719788,2859643,2989834,3120025,3219078,3193576,3168075,
    3142574,2987686,2832665,2677778,2583691,2504771,2425851,2397128,2401692,
    2406255,2356594,2225464,2094333,1933137,1651280,1369423,1087566,924357,
    761148,597940,625051,699677,774302,854295,937779,1021128,1026631,
    915230,803830,670014,446676,223338,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,5100,30735,
    56371,81872,173140,264408,355542,419698,477144,534455,552037,
    543044,533918,485599,378494,271254,173946,115964,57982,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,0,0,0,0,0,0,0,
    0,0,671,1476,2415,99723,261321,423054,646795,
    963549,1280302,1632087,2124129,2616037,3108080,3841982,4575885,5309922,
    6280181,7309766,8339216,8750996,8750996
};
const Word32 defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC] /*Q-23*/ = {
    9335246,9335246,9316514,9269680,9222847,9180350,9155201,9130044,9104894,
    9126688,9148473,9170267,9191549,9212688,9233844,9234423,9221295,9208167,
    9191205,9168497,9145789,9127997,9129884,9131780,9133676,9164823,9195978,
    9227125,9267550,9310290,9353038,9385225,9410374,9435531,9445170,9431538,
    9417907,9399855,9364128,9328409,9292682,9270670,9248667,9226655,9215783,
    9207688,9199593,9183605,9162356,9141108,9116244,9085961,9055678,9028608,
    9014432,9000255,8986078,8975962,8965845,8955728,8926108,8891606,8857103,
    8819145,8778896,8738639,8710806,8701604,8692401,8686227,8692209,8698190,
    8704171,8686706,8669232,8651767,8623917,8593466,8563024,8543554,8531399,
    8519252,8509748,8504203,8498667,8489716,8467083,8444459,8421835,8399773,
    8377711,8355649,8351698,8352268,8352847,8355833,8360430,8365027,8363484,
    8352721,8341959,8331028,8319460,8307884,8296308,8292063,8287827,8283582,
    8271142,8256647,8242159,8221389,8196442,8171494,8150547,8135607,8120659,
    8106465,8095225,8083992,8072760,8043073,8013394,7983706,7949422,7913997,
    7878564,7853893,7836394,7818904,7801472,7784141,7766811,7744782,7703972,
    7663169,7622359,7580802,7539253,7497696,7474266,7455367,7436467,7415496,
    7393140,7370784,7338471,7291235,7244007,7197551,7154232,7110914,7067595,
    7046615,7025627,7004647,6977485,6948779,6920073,6878751,6829015,6779278,
    6733644,6694184,6654724,6618804,6597044,6575284,6553524,6518183,6482842,
    6447501,6401632,6353137,6304634,6267229,6237215,6207201,6181045,6160677,
    6140310,6115580,6073427,6031275,5989122,5942817,5896503,5850198,5825150,
    5805428,5785707,5765742,5745626,5725510,5693398,5643285,5593180,5544358,
    5500720,5457091,5413454,5404126,5394797,5385469,5366930,5346085,5325239,
    5282164,5224274,5166376,5115566,5075376,5035186,5002731,5001238,4999736,
    4998243,4969436,4940630,4911823,4847290,4773822,4700355,4646282,4605153,
    4564023,4540250,4542523,4544788,4536869,4488241,4439612,4390983,4285488,
    4179984,4074489,4025282,3990150,3955019,3974925,4031523,4088129,4108127,
    4073222,4038317,3957300,3691818,3426335,3160861,2774481,2388110,2001740,
    1708239,1437966,1167685,1059581,1059581
};
const Word32 defaultHRIR_right_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC] /*Q-23*/ = {
    9335246,9335246,9316514,9269689,9222855,9180358,9155201,9130035,9104869,
    9126663,9148465,9170258,9191540,9212688,9233827,9234415,9221295,9208175,
    9191213,9168488,9145755,9127963,9129867,9131772,9133676,9164831,9195978,
    9227133,9267550,9310281,9353021,9385200,9410357,9435506,9445153,9431522,
    9417899,9399855,9364119,9328384,9292648,9270653,9248658,9226663,9215792,
    9207688,9199593,9183596,9162348,9141100,9116236,9085953,9055678,9028617,
    9014432,9000255,8986070,8975962,8965853,8955745,8926116,8891614,8857103,
    8819145,8778888,8738631,8710789,8701587,8692385,8686219,8692200,8698181,
    8704162,8686697,8669232,8651775,8623917,8593466,8563016,8543546,8531390,
    8519244,8509739,8504203,8498675,8489724,8467100,8444468,8421844,8399773,
    8377703,8355641,8351681,8352252,8352830,8355817,8360414,8365019,8363475,
    8352721,8341959,8331037,8319469,8307893,8296316,8292072,8287835,8283591,
    8271142,8256647,8242151,8221381,8196433,8171494,8150547,8135616,8120676,
    8106482,8095250,8084009,8072777,8043081,8013385,7983698,7949405,7913972,
    7878547,7853876,7836386,7818904,7801481,7784150,7766819,7744790,7703980,
    7663161,7622350,7580793,7539244,7497696,7474258,7455358,7436459,7415487,
    7393132,7370776,7338471,7291244,7244016,7197560,7154241,7110914,7067587,
    7046607,7025627,7004647,6977485,6948770,6920064,6878742,6829006,6779270,
    6733644,6694184,6654724,6618813,6597053,6575301,6553549,6518191,6482842,
    6447492,6401623,6353137,6304643,6267229,6237215,6207201,6181037,6160677,
    6140310,6115580,6073427,6031275,5989122,5942817,5896512,5850207,5825167,
    5805445,5785723,5765750,5745626,5725493,5693382,5643276,5593180,5544375,
    5500729,5457074,5413429,5404109,5394789,5385478,5366939,5346093,5325247,
    5282172,5224282,5166384,5115574,5075384,5035195,5002739,5001238,4999736,
    4998243,4969436,4940630,4911823,4847290,4773814,4700338,4646274,4605153,
    4564023,4540258,4542523,4544788,4536878,4488249,4439612,4390983,4285480,
    4179984,4074489,4025282,3990150,3955019,3974925,4031523,4088129,4108127,
    4073222,4038317,3957292,3691809,3426327,3160844,2774473,2388110,2001740,
    1708239,1437966,1167685,1059573,1059573
const Word32 defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] = 
{
    131941936, 128955584, 119957896, 105171136, 85760160, 64067220, 42933432, 24612042,
    10188334, 0, 0, 0, 0, 0, 0, 515664,
    3394098, 4816537, 5071417, 4830630, 4668629, 4709834, 4655073, 4140482,
    3106603, 1887235, 976434, 678202, 930128, 1421231, 1866297, 2186138,
    2470143, 2798305, 3109019, 3241224, 3100161, 2769582, 2459539, 2332838,
    2363708, 2353373, 2100507, 1581890, 985426, 575794, 500900, 690952,
    917780, 962609, 748800, 353261, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 31943, 233270, 404129, 524791,
    552977, 455534, 237431, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 0, 0,
    0, 0, 0, 0, 0, 0, 281991, 570022,
    849598, 1114007, 1356941, 1575045, 1766976, 1930587, 2059571, 2143725,
    2173119
};
#else
/* Sample Rate = 16000 */
const float defaultHRIR_coherence_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] = 
        {0.983044f, 0.960794f, 0.893756f, 0.783586f, 0.638963f, 0.477338f, 0.319879f, 0.183374f, 0.075909f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.003842f, 0.025288f, 0.035886f, 
        0.037785f, 0.035991f, 0.034784f, 0.035091f, 0.034683f, 0.030849f, 0.023146f, 0.014061f, 0.007275f, 
        0.005053f, 0.006930f, 0.010589f, 0.013905f, 0.016288f, 0.018404f, 0.020849f, 0.023164f, 0.024149f, 
        0.023098f, 0.020635f, 0.018325f, 0.017381f, 0.017611f, 0.017534f, 0.015650f, 0.011786f, 0.007342f, 
        0.004290f, 0.003732f, 0.005148f, 0.006838f, 0.007172f, 0.005579f, 0.002632f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000238f, 0.001738f, 0.003011f, 0.003910f, 
        0.004120f, 0.003394f, 0.001769f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 0.000000f, 
        0.000000f, 0.002101f, 0.004247f, 0.006330f, 0.008300f, 0.010110f, 0.011735f, 0.013165f, 0.014384f, 
        0.015345f, 0.015972f, 0.016191f};
const float defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] = 
        {1.118974f, 1.115256f, 1.106210f, 1.096901f, 1.092316f, 1.094422f, 1.101140f, 1.107775f, 1.110000f, 
        1.106535f, 1.099921f, 1.094914f, 1.095643f, 1.103178f, 1.114955f, 1.126292f, 1.132973f, 1.133288f, 
        1.128471f, 1.121439f, 1.114842f, 1.109721f, 1.105480f, 1.100966f, 1.095650f, 1.090074f, 1.085225f, 
        1.081525f, 1.078267f, 1.074026f, 1.067777f, 1.059839f, 1.051856f, 1.045772f, 1.042531f, 1.041432f, 
        1.040607f, 1.038291f, 1.033910f, 1.028286f, 1.022846f, 1.018514f, 1.015152f, 1.011898f, 1.008047f, 
        1.003762f, 0.999992f, 0.997770f, 0.997349f, 0.997960f, 0.998259f, 0.997177f, 0.994506f, 0.990883f, 
        0.987207f, 0.984003f, 0.981133f, 0.977984f, 0.973950f, 0.968837f, 0.962915f, 0.956690f, 0.950584f, 
        0.944679f, 0.938744f, 0.932399f, 0.925372f, 0.917663f, 0.909568f, 0.901511f, 0.893804f, 0.886455f, 
        0.879155f, 0.871463f, 0.863142f, 0.854285f, 0.845334f, 0.836740f, 0.828656f, 0.820817f, 0.812713f, 
        0.803960f, 0.794564f, 0.784952f, 0.775633f, 0.766881f, 0.758539f, 0.750156f, 0.741330f, 0.732004f, 
        0.722524f, 0.713387f, 0.704919f, 0.697057f, 0.689419f, 0.681576f, 0.673350f, 0.664931f, 0.656703f, 
        0.648997f, 0.641801f, 0.634760f, 0.627357f, 0.619192f, 0.610186f, 0.600526f, 0.590442f, 0.579952f, 
        0.568762f, 0.556384f, 0.542389f, 0.526648f, 0.509355f, 0.490884f, 0.471542f, 0.451447f, 0.430550f, 
        0.408842f, 0.386537f, 0.364126f, 0.342284f, 0.321675f, 0.302809f, 0.286016f, 0.271536f, 0.259639f, 
        0.250691f, 0.245099f, 0.243192f};
const float defaultHRIR_right_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] = 
        {1.118974f, 1.115254f, 1.106207f, 1.096903f, 1.092317f, 1.094425f, 1.101145f, 1.107775f, 1.109999f, 
        1.106540f, 1.099921f, 1.094912f, 1.095644f, 1.103178f, 1.114952f, 1.126292f, 1.132973f, 1.133288f, 
        1.128472f, 1.121439f, 1.114842f, 1.109719f, 1.105481f, 1.100965f, 1.095650f, 1.090072f, 1.085224f, 
        1.081527f, 1.078270f, 1.074025f, 1.067775f, 1.059840f, 1.051856f, 1.045772f, 1.042533f, 1.041433f, 
        1.040611f, 1.038292f, 1.033911f, 1.028286f, 1.022844f, 1.018512f, 1.015153f, 1.011899f, 1.008050f, 
        1.003762f, 0.999995f, 0.997769f, 0.997349f, 0.997959f, 0.998259f, 0.997178f, 0.994509f, 0.990883f, 
        0.987204f, 0.984003f, 0.981133f, 0.977983f, 0.973949f, 0.968836f, 0.962914f, 0.956689f, 0.950583f, 
        0.944681f, 0.938745f, 0.932399f, 0.925373f, 0.917662f, 0.909567f, 0.901511f, 0.893804f, 0.886456f, 
        0.879153f, 0.871467f, 0.863138f, 0.854286f, 0.845334f, 0.836740f, 0.828656f, 0.820816f, 0.812712f, 
        0.803961f, 0.794567f, 0.784951f, 0.775631f, 0.766882f, 0.758540f, 0.750158f, 0.741330f, 0.732005f, 
        0.722523f, 0.713388f, 0.704920f, 0.697057f, 0.689418f, 0.681575f, 0.673352f, 0.664930f, 0.656706f, 
        0.648998f, 0.641802f, 0.634762f, 0.627355f, 0.619192f, 0.610187f, 0.600527f, 0.590442f, 0.579953f, 
        0.568763f, 0.556383f, 0.542389f, 0.526646f, 0.509355f, 0.490883f, 0.471543f, 0.451446f, 0.430550f, 
        0.408843f, 0.386537f, 0.364127f, 0.342285f, 0.321676f, 0.302809f, 0.286016f, 0.271535f, 0.259640f, 
        0.250692f, 0.245099f, 0.243192f};
const Word32 defaultHRIR_left_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] =
{
    9386634, 9355445, 9279562, 9201473, 9163011, 9180677, 9237032, 9292690,
    9311355, 9282288, 9226806, 9184804, 9190920, 9254128, 9352920, 9448022,
    9504066, 9506709, 9466301, 9407312, 9351973, 9309014, 9273438, 9235572,
    9190978, 9144203, 9103527, 9072489, 9045159, 9009583, 8957163, 8890574,
    8823608, 8772571, 8745384, 8736165, 8729244, 8709816, 8673066, 8625888,
    8580254, 8543915, 8515712, 8488416, 8456111, 8420166, 8388541, 8369901,
    8366370, 8371495, 8374003, 8364927, 8342521, 8312129, 8281292, 8254415,
    8230340, 8203924, 8170085, 8127194, 8077516, 8025297, 7974076, 7924542,
    7874755, 7821529, 7762583, 7697915, 7630009, 7562422, 7497771, 7436123,
    7374886, 7310361, 7240560, 7166262, 7091175, 7019084, 6951270, 6885512,
    6817531, 6744105, 6665286, 6584654, 6506481, 6433064, 6363086, 6292764,
    6218727, 6140494, 6060970, 5984324, 5913289, 5847338, 5783265, 5717474,
    5648469, 5577845, 5508824, 5444181, 5383817, 5324753, 5262652, 5194159,
    5118611, 5037577, 4952986, 4864990, 4771121, 4667287, 4549888, 4417843,
    4272779, 4117833, 3955581, 3787012, 3611715, 3429615, 3242507, 3054510,
    2871286, 2698405, 2540146, 2399276, 2277809, 2178009, 2102948, 2056039,
    2040042
};
const Word32 defaultHRIR_right_avg_power_16kHz_fx[LR_IAC_LENGTH_NR_FC_16KHZ] =
{
    9386634, 9355429, 9279537, 9201489, 9163019, 9180702, 9237074, 9292690,
    9311346, 9282330, 9226806, 9184788, 9190928, 9254128, 9352895, 9448022,
    9504066, 9506709, 9466309, 9407312, 9351973, 9308998, 9273447, 9235564,
    9190978, 9144187, 9103519, 9072506, 9045184, 9009575, 8957146, 8890582,
    8823608, 8772571, 8745401, 8736173, 8729278, 8709825, 8673074, 8625888,
    8580237, 8543898, 8515721, 8488424, 8456136, 8420166, 8388566, 8369893,
    8366370, 8371487, 8374003, 8364935, 8342546, 8312129, 8281267, 8254415,
    8230340, 8203916, 8170076, 8127185, 8077508, 8025289, 7974068, 7924558,
    7874764, 7821529, 7762591, 7697907, 7630001, 7562422, 7497771, 7436132,
    7374870, 7310395, 7240526, 7166270, 7091175, 7019084, 6951270, 6885503,
    6817522, 6744113, 6665311, 6584646, 6506464, 6433072, 6363094, 6292781,
    6218727, 6140503, 6060962, 5984332, 5913297, 5847338, 5783257, 5717465,
    5648486, 5577837, 5508849, 5444190, 5383825, 5324769, 5262635, 5194159,
    5118619, 5037585, 4952986, 4864998, 4771130, 4667279, 4549888, 4417827,
    4272779, 4117825, 3955589, 3787003, 3611715, 3429623, 3242507, 3054518,
    2871294, 2698413, 2540146, 2399276, 2277800, 2178018, 2102957, 2056039,
    2040042
};
#endif
#endif
Word32 sine_table_Q31 [361] = {