Commit 1805f843 authored by malenov's avatar malenov
Browse files

remove control.h and replace it with wmc_auto.h

parent 8f1032c9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -283,7 +283,6 @@
    <ClInclude Include="..\lib_com\basop_util.h" />
    <ClInclude Include="..\lib_com\cnst.h" />
    <ClInclude Include="..\lib_com\common_api_types.h" />
    <ClInclude Include="..\lib_com\control.h" />
    <ClInclude Include="..\lib_com\enh1632.h" />
    <ClInclude Include="..\lib_com\enh40.h" />
    <ClInclude Include="..\lib_com\ivas_cnst.h" />
+0 −3
Original line number Diff line number Diff line
@@ -489,9 +489,6 @@
    <ClInclude Include="..\lib_com\basop32.h">
      <Filter>common_h</Filter>
    </ClInclude>
    <ClInclude Include="..\lib_com\control.h">
      <Filter>common_h</Filter>
    </ClInclude>
    <ClInclude Include="..\lib_com\cnst.h">
      <Filter>common_h</Filter>
    </ClInclude>
+1 −1
Original line number Diff line number Diff line
@@ -38,8 +38,8 @@
#include <stdint.h>
#include "options.h"
#include "basop_proto_func.h"
#include "control.h"
#include "basop_util.h"
#include "wmc_auto.h"

#define WMC_TOOL_SKIP

+1 −1
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@
#include "rom_com.h"
#include "basop_settings.h"
#include "basop_mpy.h"
#include "control.h"
#include "cnst.h"
#include "wmc_auto.h"

#define WMC_TOOL_SKIP

lib_com/control.h

deleted100644 → 0
+0 −82
Original line number Diff line number Diff line
/******************************************************************************************************

   (C) 2022-2023 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
  ====================================================================================*/

#ifndef _CONTROL_H
#define _CONTROL_H

/* BASOP -> FLC brigde: flow control instructions */

#include "stl.h"

#define FOR( a )        \
    if ( incrFor(), 0 ) \
        ;               \
    else                \
        for ( a )
static __inline void incrFor( void )
{
}

#define WHILE( a )           \
    if ( incrFlcWhile(), 0 ) \
        ;                    \
    else                     \
        while ( a )
static __inline void incrFlcWhile( void )
{
}

#define DO do

#define IF( a ) if ( incrIf(), a )
static __inline void incrIf( void )
{
}

#define ELSE else

#define SWITCH( a ) switch ( incrSwitch(), a )
static __inline void incrSwitch( void )
{
}

#define CONTINUE continue

#define BREAK break

#define GOTO goto

#endif /* _CONTROL_H */
Loading