Commit 71490e2e authored by vaclav's avatar vaclav
Browse files

use original EVS basop_*.c files; remove IVAS PC (C) headers

parent 26ddc0f1
Loading
Loading
Loading
Loading
+242 −1164

File changed.

Preview size limit exceeded, changes collapsed.

+47 −184
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2024 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository. All Rights Reserved.

   This software is protected by copyright law and by international treaties.
   The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository retain full ownership rights in their respective contributions in
   the software. This notice grants no license of any kind, including but not limited to patent
   license, nor is any license granted by implication, estoppel or otherwise.

   Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
   contributions.

   This software is provided "AS IS", without any express or implied warranties. The software is in the
   development stage. It is intended exclusively for experts who have experience with such software and
   solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
   and fitness for a particular purpose are hereby disclaimed and excluded.

   Any dispute, controversy or claim arising under or in relation to providing this software shall be
   submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
   accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/

/*
  ===========================================================================
   File: BASOP32.H                                       v.2.3 - 30.Nov.2009
@@ -78,25 +46,16 @@
#ifndef _BASIC_OP_H
#define _BASIC_OP_H

#include "typedef.h"
#define BASOP_OVERFLOW2
/* #define BASOP_OVERFLOW2 */

/*___________________________________________________________________________
 |                                                                           |
 |   Constants and Globals                                                   |
 |___________________________________________________________________________|
*/
#ifndef BASOP_NOGLOB
extern Flag Overflow, Overflow2;
extern Flag Carry;

#else  /* BASOP_NOGLOB */
/* DISABLED TO AVOID GLOBAL VARIABLES */
/*
extern Flag BASOP_Overflow, BASOP_Overflow2;
extern Flag BASOP_Carry;
*/
#endif /* BASOP_NOGLOB */
#define BASOP_SATURATE_WARNING_ON
#define BASOP_SATURATE_WARNING_OFF
#define BASOP_SATURATE_ERROR_ON
@@ -116,7 +75,6 @@ extern Flag BASOP_Carry;
 |___________________________________________________________________________|
*/

#ifndef BASOP_NOGLOB
Word16 add (Word16 var1, Word16 var2);    /* Short add,           1   */
Word16 sub (Word16 var1, Word16 var2);    /* Short sub,           1   */
Word16 abs_s (Word16 var1);               /* Short abs,           1   */
@@ -132,32 +90,8 @@ Word32 L_mac( Word32 L_var3, Word16 var1, Word16 var2 ); /* Mac, 1 */
Word32 L_msu (Word32 L_var3, Word16 var1, Word16 var2);   /* Msu,  1  */
Word32 L_macNs (Word32 L_var3, Word16 var1, Word16 var2); /* Mac without
                                                             sat, 1   */
#else                                                      /* BASOP_NOGLOB */
Word16 add( Word16 var1, Word16 var2 );                                      /* Short add,           1   */
Word16 sub( Word16 var1, Word16 var2 );                                      /* Short sub,           1   */
Word16 abs_s( Word16 var1 );                                                 /* Short abs,           1   */
Word16 shl( Word16 var1, Word16 var2 );                                      /* Short shift left,    1   */
Word16 shr( Word16 var1, Word16 var2 );                                      /* Short shift right,   1   */
Word16 mult( Word16 var1, Word16 var2 );                                     /* Short mult,          1   */
Word32 L_mult( Word16 var1, Word16 var2 );                                   /* Long mult,           1   */
Word16 negate( Word16 var1 );                                                /* Short negate,        1   */
Word16 extract_h( Word32 L_var1 );                                           /* Extract high,        1   */
Word16 extract_l( Word32 L_var1 );                                           /* Extract low,         1   */
Word16 round_fx( Word32 L_var1 );                                            /* Round,               1   */
Word32 L_mac( Word32 L_var3, Word16 var1, Word16 var2 );                     /* Mac,  1  */
Word32 L_msu( Word32 L_var3, Word16 var1, Word16 var2 );                     /* Msu,  1  */
Word32 DEPR_L_macNs( Word32 L_var3, Word16 var1, Word16 var2, Flag *Carry ); /* Mac without
                                                             sat, 1   */
#endif                                                     /* BASOP_NOGLOB */

#ifndef BASOP_NOGLOB
Word32 L_msuNs (Word32 L_var3, Word16 var1, Word16 var2); /* Msu without
                                                             sat, 1   */
#else                                                      /* BASOP_NOGLOB */
Word32 DEPR_L_msuNs( Word32 L_var3, Word16 var1, Word16 var2, Flag *Carry ); /* Msu without
                                                              sat, 1   */
#endif                                                     /* BASOP_NOGLOB */
#ifndef BASOP_NOGLOB
Word32 L_add (Word32 L_var1, Word32 L_var2);    /* Long add,        1 */
Word32 L_sub (Word32 L_var1, Word32 L_var2);    /* Long sub,        1 */
Word32 L_add_c (Word32 L_var1, Word32 L_var2);  /* Long add with c, 2 */
@@ -168,75 +102,28 @@ Word32 L_shl( Word32 L_var1, Word16 var2 ); /* Long shift left, 1 */
Word32 L_shr (Word32 L_var1, Word16 var2);      /* Long shift right, 1 */
Word16 shr_r (Word16 var1, Word16 var2);        /* Shift right with
                                                   round, 2           */
#else                                           /* BASOP_NOGLOB */
Word32 L_add( Word32 L_var1, Word32 L_var2 );                                /* Long add,        1 */
Word32 L_sub( Word32 L_var1, Word32 L_var2 );                                /* Long sub,        1 */
Word32 DEPR_L_add_c( Word32 L_var1, Word32 L_var2, Flag *Carry );            /* Long add with c, 2 */
Word32 DEPR_L_sub_c( Word32 L_var1, Word32 L_var2, Flag *Carry );            /* Long sub with c, 2 */
Word32 L_negate( Word32 L_var1 );                                            /* Long negate,     1 */
Word16 mult_r( Word16 var1, Word16 var2 );                                   /* Mult with round, 1 */
Word32 L_shl( Word32 L_var1, Word16 var2 );                                  /* Long shift left, 1 */
Word32 L_shr( Word32 L_var1, Word16 var2 );                                  /* Long shift right, 1 */
Word16 shr_r( Word16 var1, Word16 var2 );                                    /* Shift right with
                                                   round, 2           */
#endif                                          /* BASOP_NOGLOB */

#ifndef BASOP_NOGLOB
Word16 mac_r( Word32 L_var3, Word16 var1, Word16 var2 ); /* Mac with
                                                           rounding, 1 */
#else                                                    /* BASOP_NOGLOB */
Word16 mac_r (Word32 L_var3, Word16 var1, Word16 var2); /* Mac with
                                                           rounding, 1 */
#endif                                                   /* BASOP_NOGLOB */
#ifndef BASOP_NOGLOB
Word16 msu_r (Word32 L_var3, Word16 var1, Word16 var2); /* Msu with
                                                           rounding, 1 */
#else                                                    /* BASOP_NOGLOB */
Word16 msu_r( Word32 L_var3, Word16 var1, Word16 var2 );                     /* Msu with
                                                           rounding, 1 */
#endif                                                   /* BASOP_NOGLOB */
#ifndef BASOP_NOGLOB
Word32 L_deposit_h (Word16 var1);        /* 16 bit var1 -> MSB,     1 */
Word32 L_deposit_l (Word16 var1);        /* 16 bit var1 -> LSB,     1 */
#else                              /* BASOP_NOGLOB */
Word32 L_deposit_h( Word16 var1 );                                           /* 16 bit var1 -> MSB,     1 */
Word32 L_deposit_l( Word16 var1 );                                           /* 16 bit var1 -> LSB,     1 */
#endif                             /* BASOP_NOGLOB */

#ifndef BASOP_NOGLOB
Word32 L_shr_r( Word32 L_var1, Word16 var2 ); /* Long shift right with
                                                round,             3  */
#else                                         /* BASOP_NOGLOB */
Word32 L_shr_r (Word32 L_var1, Word16 var2); /* Long shift right with
                                                round,             3  */
#endif                                        /* BASOP_NOGLOB */
#ifndef BASOP_NOGLOB
Word32 L_abs (Word32 L_var1);            /* Long abs,              1  */
Word32 L_sat (Word32 L_var1);            /* Long saturation,       4  */
Word16 norm_s (Word16 var1);             /* Short norm,            1  */
Word16 div_s (Word16 var1, Word16 var2); /* Short division,       18  */
Word16 norm_l (Word32 L_var1);           /* Long norm,             1  */
#else                                     /* BASOP_NOGLOB */
Word32 L_abs( Word32 L_var1 );                                               /* Long abs,              1  */
Word32 DEPR_L_sat_co( Word32 L_var1, Flag Overflow, Flag Carry );            /* Long saturation,       4  */
Word16 norm_s( Word16 var1 );                                                /* Short norm,            1  */
Word16 div_s( Word16 var1, Word16 var2 );                                    /* Short division,       18  */
Word16 norm_l( Word32 L_var1 );                                              /* Long norm,             1  */
#endif                                    /* BASOP_NOGLOB */


/*
 * Additional G.723.1 operators
*/
#ifndef BASOP_NOGLOB
Word32 L_mls( Word32, Word16 ) ;    /* Weight FFS; currently assigned 5 */
Word16 div_l( Word32, Word16 ) ;    /* Weight FFS; currently assigned 32 */
Word16 i_mult(Word16 a, Word16 b);  /* Weight FFS; currently assigned 3 */
#else                                /* BASOP_NOGLOB */
Word32 L_mls( Word32, Word16 );                                              /* Weight FFS; currently assigned 5 */
Word16 div_l( Word32, Word16 );                                              /* Weight FFS; currently assigned 32 */
Word16 DEPR_i_mult( Word16 a, Word16 b );                                    /* Weight FFS; currently assigned 3 */
#endif                               /* BASOP_NOGLOB */

/*
 *  New shiftless operators, not used in G.729/G.723.1
@@ -244,30 +131,6 @@ Word16 DEPR_i_mult( Word16 a, Word16 b ); /*
Word32 L_mult0(Word16 v1, Word16 v2); /* 32-bit Multiply w/o shift         1 */
Word32 L_mac0(Word32 L_v3, Word16 v1, Word16 v2); /* 32-bit Mac w/o shift  1 */
Word32 L_msu0(Word32 L_v3, Word16 v1, Word16 v2); /* 32-bit Msu w/o shift  1 */
#ifdef BASOP_NOGLOB

/*
 * Overflowing operators
 */
Word16 add_o( Word16 var1, Word16 var2, Flag *Overflow );
Word16 sub_o( Word16 var1, Word16 var2, Flag *Overflow );
Word16 shl_o( Word16 var1, Word16 var2, Flag *Overflow );
Word16 mult_o( Word16 var1, Word16 var2, Flag *Overflow );
Word32 L_mult_o( Word16 var1, Word16 var2, Flag *Overflow );
Word16 round_fx_o( Word32 L_var1, Flag *Overflow );
Word32 L_mac_o( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
Word32 L_msu_o( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
Word32 L_add_o( Word32 L_var1, Word32 L_var2, Flag *Overflow );
Word32 L_sub_o( Word32 L_var1, Word32 L_var2, Flag *Overflow );
Word32 L_shr_o( Word32 L_var1, Word16 var2, Flag *Overflow );
Word32 L_shl_o( Word32 L_var1, Word16 var2, Flag *Overflow );
Word32 L_mls_o( Word32 Lv, Word16 v, Flag *Overflow );
Word32 L_mac0_o( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
Word32 L_msu0_o( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
Word16 mult_ro( Word16 var1, Word16 var2, Flag *Overflow );
Word16 mac_ro( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
Word16 msu_ro( Word32 L_var3, Word16 var1, Word16 var2, Flag *Overflow );
#endif /* BASOP_NOGLOB */


#endif /* ifndef _BASIC_OP_H */
+59 −82
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2024 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository. All Rights Reserved.

   This software is protected by copyright law and by international treaties.
   The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository retain full ownership rights in their respective contributions in
   the software. This notice grants no license of any kind, including but not limited to patent
   license, nor is any license granted by implication, estoppel or otherwise.

   Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
   contributions.

   This software is provided "AS IS", without any express or implied warranties. The software is in the
   development stage. It is intended exclusively for experts who have experience with such software and
   solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
   and fitness for a particular purpose are hereby disclaimed and excluded.

   Any dispute, controversy or claim arising under or in relation to providing this software shall be
   submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
   accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/

/*====================================================================================
    EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
  ====================================================================================*/


#include <math.h>
#include <memory.h>
#include <assert.h>
#include <stdint.h>
#include "options.h"
#include <stdio.h>
#include "typedef.h"
#include "basop_proto_func.h"
#include "cnst.h"

#include "basop_util.h"
#include "stl.h"

@@ -74,6 +45,7 @@ void basop_weight_a( const Word16 *a, Word16 *ap, const Word16 gamma )
    Word16 shift;



    fac = gamma;
    Amax = L_mult( 16384, a[0] );
    FOR (i = 1; i < M; i++)
@@ -117,9 +89,11 @@ void basop_weight_a_inv( const Word16 *a, Word16 *ap, const Word16 inv_gamma )
{
    Word16 i;
    static const Word16 inv_gamma_tab_12k8[16] = { 17809, 19357, 21041, 22870, 24859, 27020, 29370, 31924,   /* Q14 */
                                                   17350, 18859, 20499, 22281, 24219, 26325, 28614, 31102 }; /* Q13 */
                                                   17350, 18859, 20499, 22281, 24219, 26325, 28614, 31102
                                                 }; /* Q13 */
    static const Word16 inv_gamma_tab_16k[16]  = { 17430, 18542, 19726, 20985, 22324, 23749, 25265, 26878,   /* Q14 */
                                                  14297, 15209, 16180, 17213, 18312, 19480, 20724, 22047 };  /* Q13 */
                                                   14297, 15209, 16180, 17213, 18312, 19480, 20724, 22047
                                                 }; /* Q13 */
    const Word16 *inv_gamma_tab;
    Word32 L_tmp;
    Word32 Amax;
@@ -197,6 +171,8 @@ void basop_E_LPC_a_add_tilt( const Word16 *a, Word16 *ap, Word16 gamma )
    Word16 shift;




    Amax = L_mult( 16384, a[0] );
    FOR (i = 1; i <= M; i++)
    {
@@ -222,6 +198,7 @@ void basop_E_LPC_a_add_tilt( const Word16 *a, Word16 *ap, Word16 gamma )
}



static Word16 xsf_to_xsp(Word16 xsf)
{
    /* xsp = cos(xsf * 3.1415/6400); */
@@ -249,6 +226,7 @@ void basop_lsf2lsp( const Word16 lsf[], Word16 lsp[] )
    Word16 i;



    /* convert ISFs to the cosine domain */
    FOR (i = 0; i < M; i++)
    {
@@ -260,4 +238,3 @@ void basop_lsf2lsp( const Word16 lsf[], Word16 lsp[] )
    return;
}
#undef WMC_TOOL_SKIP
+66 −114
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2024 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository. All Rights Reserved.

   This software is protected by copyright law and by international treaties.
   The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository retain full ownership rights in their respective contributions in
   the software. This notice grants no license of any kind, including but not limited to patent
   license, nor is any license granted by implication, estoppel or otherwise.

   Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
   contributions.

   This software is provided "AS IS", without any express or implied warranties. The software is in the
   development stage. It is intended exclusively for experts who have experience with such software and
   solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
   and fitness for a particular purpose are hereby disclaimed and excluded.

   Any dispute, controversy or claim arising under or in relation to providing this software shall be
   submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
   accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/

/*====================================================================================
    EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
  ====================================================================================*/


#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include "options.h"
#include "basop_proto_func.h"
//#include "control.h"
#include "basop_util.h"

#define WMC_TOOL_SKIP
@@ -61,10 +31,7 @@ static Word16 E_LPC_f_lsp_pol_get( const Word16 lsp[], Word32 f[], const Word16
 * Returns:
 *    void
 */
void basop_E_LPC_f_lsp_a_conversion(
    const Word16 *lsp,
    Word16 *a,
    const Word16 m )
void basop_E_LPC_f_lsp_a_conversion(const Word16 *lsp, Word16 *a,  const Word16 m)
{
    Word16 i, j, k;
    Word32 f1[NC_MAX+1], f2[NC_MAX+1];
@@ -154,7 +121,7 @@ void basop_reorder_lsf(
    Word16 *lsf,      /* i/o: LSFs in the frequency domain (0..0.5)   Q(x2.56)*/
    const Word16 min_dist,  /* i  : minimum required distance               x2.56*/
    const Word16 n,         /* i  : LPC order                               */
    const Word32 Fs        /* i  : sampling frequency                      */
    const Word32 fs         /* i  : sampling frequency                      */
)
{
    Word16 i, lsf_min, n_m_1;
@@ -180,9 +147,7 @@ void basop_reorder_lsf(
    /*-----------------------------------------------------------------------*
     * Reverify the LSF ordering and minimum GAP in the reverse order (security)
     *-----------------------------------------------------------------------*/

    lsf_max = round_fx( L_sub( L_shr( L_mult0( extract_l( L_shr( Fs, 1 ) ), 1311 ), 9 - 16 ), L_deposit_h( min_dist ) ) ); /* Q0 + Q9 , 1311 is 2.56 in Q9 */

    lsf_max = round_fx(L_sub(L_shr(L_mult0(extract_l(L_shr(fs,1)), 1311),9-16), L_deposit_h(min_dist))); /* Q0 + Q9 , 1311 is 2.56 in Q9 */
    n_m_1 = sub(n,1);
    IF (sub(lsf[n_m_1], lsf_max) > 0)    /* If danger of unstable filter in case of resonance in HF */
    {
@@ -196,8 +161,6 @@ void basop_reorder_lsf(
            lsf_max = sub(lsf[i], min_dist);
        }
    }

    return;
}


@@ -228,12 +191,8 @@ void basop_reorder_lsf(
 *   R.A.Salami    October 1990                              *
 *-----------------------------------------------------------*
 */
static Word16 E_LPC_f_lsp_pol_get(
    const Word16 lsp[],
    Word32 f[],
    const Word16 n,
    const Word16 past_Ovf,
    const Word16 isMODE1 )
static
Word16 E_LPC_f_lsp_pol_get(const Word16 lsp[], Word32 f[],  const Word16 n, const Word16 past_Ovf, const Word16 isMODE1)
{
    /* All computation in Q23 */
    const Word16 *plsp;
@@ -243,9 +202,6 @@ static Word16 E_LPC_f_lsp_pol_get(
    Word16 Ovf = 0;
    Word16 Q_out;
    Word16 m2;
#ifdef BASOP_NOGLOB
    Flag Overflow;
#endif /* BASOP_NOGLOB */


    Q_out = 31-23;
@@ -300,9 +256,6 @@ static Word16 E_LPC_f_lsp_pol_get(
    test();
    IF (Overflow>0 && isMODE1)
    {
#ifdef BASOP_NOGLOB
        assert( 0 );
#endif /* BASOP_NOGLOB */
        /* If an overflow is detected, redo the computation with 1 bit less */
        Ovf = add(Ovf,1);
        Ovf = E_LPC_f_lsp_pol_get(lsp, f, n ,Ovf, isMODE1);
@@ -310,4 +263,3 @@ static Word16 E_LPC_f_lsp_pol_get(
    return Ovf;
}
#undef WMC_TOOL_SKIP
+16 −51
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2024 IVAS codec Public Collaboration with portions copyright Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository. All Rights Reserved.

   This software is protected by copyright law and by international treaties.
   The IVAS codec Public Collaboration consisting of Dolby International AB, Ericsson AB,
   Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V., Huawei Technologies Co. LTD.,
   Koninklijke Philips N.V., Nippon Telegraph and Telephone Corporation, Nokia Technologies Oy, Orange,
   Panasonic Holdings Corporation, Qualcomm Technologies, Inc., VoiceAge Corporation, and other
   contributors to this repository retain full ownership rights in their respective contributions in
   the software. This notice grants no license of any kind, including but not limited to patent
   license, nor is any license granted by implication, estoppel or otherwise.

   Contributors are required to enter into the IVAS codec Public Collaboration agreement before making
   contributions.

   This software is provided "AS IS", without any express or implied warranties. The software is in the
   development stage. It is intended exclusively for experts who have experience with such software and
   solely for the purpose of inspection. All implied warranties of non-infringement, merchantability
   and fitness for a particular purpose are hereby disclaimed and excluded.

   Any dispute, controversy or claim arising under or in relation to providing this software shall be
   submitted to and settled by the final, binding jurisdiction of the courts of Munich, Germany in
   accordance with the laws of the Federal Republic of Germany excluding its conflict of law rules and
   the United Nations Convention on Contracts on the International Sales of Goods.

*******************************************************************************************************/

/*====================================================================================
    EVS Codec 3GPP TS26.443 Nov 04, 2021. Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
  ====================================================================================*/


#include "basop_mpy.h"
#include <stdint.h>
#include "options.h"
#ifdef DEBUGGING
#include "debug.h"
#endif

#define WMC_TOOL_SKIP

@@ -89,4 +54,4 @@ Word32 Mpy_32_32( Word32 x, Word32 y )
    return (mh);
}

#undef WMC_TOOL_SKIP
Loading