- more work on EVS

This commit is contained in:
2020-06-15 17:54:28 +03:00
parent 46c355e29a
commit 3bffbb446d
29 changed files with 236 additions and 171 deletions

View File

@@ -6,6 +6,8 @@
#include "cnst.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* get_next_coeff_mapped()
@@ -71,3 +73,5 @@ int update_mixed_context(
return (ctx & 0xf) * 16 + t + 13;
}
} // end of namespace evs

View File

@@ -14,6 +14,7 @@
#define int32 int
#endif
namespace evs {
/*---------------------------------------------------------------
@@ -37,3 +38,5 @@ long mul_sbc_14bits(long r,long c)
/*function in line*/
}
} // end of namespace

View File

@@ -10,6 +10,8 @@
#include "prot.h"
#include "rom_com.h"
namespace evs {
/*-------------------------------------------------------------------*
* UnmapIndex()
@@ -268,3 +270,5 @@ void tcx_hm_modify_envelope(
return;
}
} // end of namespace

View File

@@ -10,8 +10,7 @@
#include "basop_util.h"
#include "basop_proto_func.h"
namespace evs {
/*-------------------------------------------------------*
* expfp()
@@ -508,3 +507,5 @@ void tcx_arith_render_envelope(
return;
}
} // end of namespace

View File

@@ -130,7 +130,9 @@ HISTORY:
#include <stdlib.h>
#include "stl.h"
namespace evs {
}
/*___________________________________________________________________________
| |
| Local Functions |
@@ -2535,6 +2537,6 @@ Word32 L_msu0 (Word32 L_var3, Word16 var1, Word16 var2)
return(L_var_out);
}
} // end of namespace evs
/* end of file */

View File

@@ -7,6 +7,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* ACcontextMapping_decode2_no_mem_s17_LC()
*
@@ -276,3 +278,5 @@ long ACcontextMapping_decode2_no_mem_s17_LC( /* o: resQBits */
return resQBits;
}
} // end of namespace EVS

View File

@@ -7,6 +7,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* acelp_core_dec()
*
@@ -917,3 +919,5 @@ void acelp_core_dec(
return;
}
} // end of namespace EVS

View File

@@ -7,6 +7,7 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*---------------------------------------------------------------------*
* Local functions
@@ -558,3 +559,5 @@ static void decod_gen_voic_core_switch(
return;
}
} // end of namespace

View File

@@ -8,6 +8,8 @@
#include "prot.h"
namespace evs {
/*------------------------------------------------------------------*
* amr_wb_dec()
*
@@ -863,3 +865,5 @@ void amr_wb_dec(
return;
}
} // end of namespace

View File

@@ -10,6 +10,7 @@
#include "assert.h"
#include "basop_util.h"
namespace evs {
/*---------------------------------------------------------------
@@ -637,3 +638,4 @@ long ari_decode_14bits_sign(const int *ptr, long bp, long bits, int *res, Tastat
return bp;
}
} // end of namespace

View File

@@ -10,6 +10,8 @@
#include "prot.h"
#include "rom_com.h"
namespace evs {
/*-------------------------------------------------------------------*
* DecodeIndex()
*
@@ -125,3 +127,5 @@ void tcx_hm_decode(
return;
}
} // end of namespace

View File

@@ -11,6 +11,7 @@
#include "basop_util.h"
#include "basop_proto_func.h"
namespace evs {
/*-------------------------------------------------------*
* tcx_arith_decode()
@@ -180,3 +181,5 @@ void tcx_arith_decode_envelope(
return;
}
} // end of namespace

View File

@@ -8,6 +8,8 @@
#include "options.h"
#include "cnst.h"
namespace evs {
/*-----------------------------------------------------------------*
* AVQ_demuxdec()
@@ -218,3 +220,5 @@ void AVQ_dec_lpc(
return;
}
} // end of namespace

View File

@@ -8,6 +8,7 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* ACcontextMapping_encode2_no_mem_s17_LC()
@@ -634,3 +635,5 @@ int ACcontextMapping_encode2_estimate_no_mem_s17_LC(
return nbits_old;
}
} // end of namespace

View File

@@ -10,6 +10,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* acelp_core_enc()
*
@@ -583,3 +585,5 @@ void acelp_core_enc(
return;
}
} // end of namespace

View File

@@ -11,6 +11,8 @@
#include "prot.h"
#include "prot.h"
namespace evs {
/*---------------------------------------------------------------------*
* Local functions
*---------------------------------------------------------------------*/
@@ -436,3 +438,5 @@ static void bwe_switch_enc(
return;
}
} // end of namespace

View File

@@ -11,6 +11,7 @@
#include "cnst.h"
#include "rom_com.h"
namespace evs {
/*-------------------------------------------------------------------*
* E_ACELP_toeplitz_mul()
@@ -45,3 +46,5 @@ void E_ACELP_toeplitz_mul(
return;
}
} // end of namespace evs

View File

@@ -10,6 +10,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* amr_wb_enc()
*
@@ -537,3 +539,5 @@ void amr_wb_enc(
return;
}
} // end of namespace

View File

@@ -7,6 +7,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
/*-------------------------------------------------------------------*
* analy_lp()
*
@@ -141,3 +143,4 @@ void analy_lp_AMR_WB(
return;
}
// end of namespace

View File

@@ -9,6 +9,8 @@
#include "rom_com.h"
#include "prot.h"
namespace evs {
static void find_enr( const float data[], float band[], float *ptE, float *Etot, const short min_band,
const short max_band, float *Bin_E, const short bin_freq, float *band_ener );
@@ -207,3 +209,5 @@ static void find_enr(
return;
}
} // end of namespace

View File

@@ -10,8 +10,7 @@
#include "assert.h"
#include "basop_util.h"
namespace evs {
/**
* \brief Copy state
@@ -408,3 +407,4 @@ long ari_done_cbr_encoding_14bits(int *ptr, long bp, long bits, Tastat *s)
return bp;
}
} // end of namespace

View File

@@ -11,6 +11,7 @@
#include "prot.h"
#include "rom_com.h"
namespace evs {
/*-------------------------------------------------------------------*
* EncodeIndex()
@@ -587,3 +588,5 @@ void tcx_hm_analyse(
return;
}
} // end of namespace

View File

@@ -14,6 +14,7 @@
#include "basop_util.h"
#include "basop_proto_func.h"
namespace evs {
/*-------------------------------------------------------------------*
* Local constants
@@ -623,3 +624,5 @@ void tcx_arith_encode_envelope(
return;
}
} // end of namespace

View File

@@ -7,6 +7,8 @@
#include "prot.h"
#include "rom_com.h"
namespace evs {
/*-------------------------------------------------------------------*
* Function AVQ_cod() *
* *
@@ -377,3 +379,5 @@ void AVQ_cod_lpc(
return;
}
} // end of namespace