aboutsummaryrefslogtreecommitdiff
path: root/src/mlp.c
AgeCommit message (Collapse)Author
2018-11-22Refactoring: Isolating the matrix-vector product in gemm_accum()Jean-Marc Valin
2017-10-05float constantsJean-Marc Valin
2017-10-05Add RNN for VAD and speech/music classificationJean-Marc Valin
Based on two dense layers with a GRU layer in the middle
2014-10-03There are no tabs in source code.Timothy B. Terriberry
There is also no trailing whitespace.
2013-12-09Making NaN detection more robust to -ffast-math.Jean-Marc Valin
2013-10-28Replace "inline" with OPUS_INLINE.Gregory Maxwell
Newer versions of MSVC are unhappy with the strategy of the build environment redefining "inline" (even though they don't support the actual keyword). Instead we define OPUS_INLINE to the right thing in opus_defines.h. This is the same approach we use for restrict.
2013-10-21Fixes a potential crash when encoding NaNsJean-Marc Valin
This fixes tansig_approx() to avoid crashing when the input is NaN. The problem could only be triggered when calling the float API with a float build at a complexity of 7 or more (i.e. analysis called). Since the crash was due to an out-of-bound read (typically the index is INT_MIN), it's unlikely to be exploitable in any other way than causing a crash.
2013-09-06Makes speech/music detection work with FIXED_POINT (code still float)Jean-Marc Valin
2013-09-06First pass at making the analysis code run with FIXED_POINTJean-Marc Valin
Code is still float, but at least tonality esitmation seems to work. Speech/music analysis is still disabled.
2012-12-21Fixes MSVC warnings for double->float and float->int conversionJean-Marc Valin
2012-10-23Fix the MSVC build.Joshua Bowman
Updates the project files to include the new encoder source files. Use OPUS_RESTRICT and include config.h to set the proper defines for build under MSVC.
2012-10-10Using floor(.5+x) instead of lrint(x) for C90 compilersJean-Marc Valin
2012-09-14Shrinks tansig table, makes data static constJean-Marc Valin
2012-07-13Speech/music discrimination (not used for anything yet)Jean-Marc Valin
Also, reducing the VBR rate on panned mono