Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/silk
AgeCommit message (Collapse)Author
2013-02-08Fixes a SILK fixed-point encoder issue reported by Cliff Parris ↵Jean-Marc Valin
<cliff@espico.com>
2013-02-07Fixes a minor CELT->SILK switching glitch in the decoderJean-Marc Valin
By not reinitializing the stereo state during a switch, the old stereo memory would create a false impulse (i.e. single sample) in the decoded audio. This change affects the normative part of the decoder. Fortunately, the modified decoder is still compliant with the specification because it still easily passes the testvectors. For example, for the float decoder at 48 kHz, the opus_compare (arbitrary) "quality score" changes from from 99.9333% to 99.925%.
2012-10-24Fix MSVC linker warningsJoshua Bowman
Specify the correct debug runtime libraries for the test and demo executables to prevent mismatch warnings with the default runtime. Signed-off-by: Ralph Giles <giles@mozilla.com>
2012-10-11Fix minor issues reported by scan-buildPhilip Jägenstedt
2012-10-10Fixes comment-in-comment warningJean-Marc Valin
2012-10-10Fixes a fixed-point overflow in the new pitch codeJean-Marc Valin
2012-10-10Improvements to the pitch searchKoen Vos
Normalizes the cost function by (x+y) instead of sqrt(x*y)
2012-09-27Typo: FIND_PITCH_BANDWI(D)TH_EXPANSIONPhilip Jägenstedt
2012-09-27Fix common misspellingsPhilip Jägenstedt
I stumbled upon the typo in README.draft, so took the opportunity to grep for common misspellings using List_of_common_misspellings.txt for hunspell.
2012-09-21Reduces rate/max rate to make room for redundancyJean-Marc Valin
This fixes a problem where we could end up starving the redundancy frame, especially for CBR. The solution is to make sure that some bits are left available -- assuming we use the same rate for redundancy as for the rest of the frame.
2012-09-12silk: move down- and upsamplers constants to the header file.Diego Elio Pettenò
These are only being used outside if the translation unit and only in a few codepaths; by making them static in the header, the compiler can optimize them quickly. This avoids GOT-based access to the external symbol on Unix, and can allow for constant propagation to optimize the code. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-09-12Move to comment a table that is never used in the code.Diego Elio Pettenò
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-09-12Mark tables static when not used outside of their translation unit.Diego Elio Pettenò
This is similar to the change for functions, but is only used to perform DCE. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-09-12Mark functions static if they are only used in their own translation unit.Diego Elio Pettenò
This allows the compiler to perform more optimization on them as it knows how the functions are being called. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-09-08Use dynamic stack allocations in SILK decoder.Timothy B. Terriberry
This allows the decoder to be compiled with NONTHREADSAFE_PSEUDOSTACK to move the memory for large buffers off the stack for devices where it is very limited. This patch only attempts to do this for the decoder. The encoder still requires more than 10 kB of stack.
2012-08-29Makes two static tables constJean-Marc Valin
2012-08-27Fixes an overflow in silk_log2lin() that was triggered only in debug modeJean-Marc Valin
2012-08-06Disable silk_get_TOC in the code, as it's not used or exposed.Gregory Maxwell
2012-08-06Fixed sizeof param in silk_get_TOC. Size for memset was calculated wrong.Cyril Lashkevich
Signed-off-by: Gregory Maxwell <greg@xiph.org> silk_get_TOC is unused, unreachable, and not useful without some packet pre-processing, but until we remove it it should be correct. This was also reported by Mozilla.
2012-07-20Small cleanups to MSVC build setup.Gian-Carlo Pascutto
Add more MSVC files to .gitignore. Make all configurations use default floating point model.
2012-07-20Fixes MSVC projects and adds git version generator toolChris Moeller
2012-07-17Output/intermediate dir cleanup and fixes in 64-bit mode.Gian-Carlo Pascutto
Also make the 64-bit builds use the default output directories. Fix the type of the default Opus output to be a library.
2012-07-17Make MSVC build work in parallel.Gian-Carlo Pascutto
The (non-default) temporary & output dirs configured in the projects could cause issues when doing compilation on a multiprocessor machine. Cleaned this up a little to use the defaults, which makes that work again and doesn't make the output structure any worse. Also removed debug output for release binaries & a tiny whitespace fix.
2012-07-13Remove non-existent ReadMe.txt references.Gian-Carlo Pascutto
2012-07-13Make compiler settings consistent. Actually produce the libary, remove the ↵Gian-Carlo Pascutto
opus_demo for now.
2012-06-01modified the Visual Studio 2010 projects and solution file to include a x64 ↵root
configuration. modified the output folders such that the architecture is included in the path (so you get Release64, Debug32, etc.) so you can have all build types in one tree.
2012-05-23Use 'frame' instead of 'signal', take out stdlib.h in silk/.Gregory Maxwell
On MacOS, stdlib.h ends up including sys/signal.h, generating warnings about the local variables called 'signal' shadowing the global symbol signal(3). This was originally done in 86476906 but it missed some use of 'signal' in prototypes in headers where it didn't cause warnings. Later the prototypes were moved around and the warnings came back. This also cleans up some cases in where stdlib.h was used but shouldn't be required.
2012-05-15Remove unused headers/defines in silk/typedef.h, improving portability to ↵Gregory Maxwell
AMIX4.0/GCC1.4.
2012-05-15SILK to print error line with FIXED_DEBUG, assert with FIXED_DEBUG_ASSERT.Gregory Maxwell
2012-05-10Fixes two fixed-point overflow issuesJean-Marc Valin
One in SILK, one in CELT, none of them causing real harm in practice it seems
2012-04-25Fixes a (harmless) numerical overflow in noise_shape_analysis_FIX.cJean-Marc Valin
Actual behaviour was correct on most architectures and breaking that code would have required a particularly smart compiler.
2012-04-25Uses opus_int32 for fs_API_Hz parameter in silk_decoder_set_fsJean-Marc Valin
2012-04-24Minor comment formatting changeGregory Maxwell
2012-04-24Merge commit '390c89225d'Jean-Marc Valin
2012-04-24Adds note on monic filterJean-Marc Valin
2012-04-21License update using the IETF Trust flavour of the BSD on the Silk codeJean-Marc Valin
2012-04-13Makes silk_ADD_SAT32() conform to the C standardJean-Marc Valin
This changes the saturation test to ensure that it relies on the unsigned overflow behaviour (which is allowed) rather than the signed overflow behaviour (which is undefined).
2012-04-02Remove trailing whitespace.Ralph Giles
Also fixes a minor typo.
2012-03-08Fixes a bunch of 16-bit issues that the C5X compiler warns aboutJean-Marc Valin
2012-03-08Fixes int vs opus_int32 compile errors on C5xJean-Marc Valin
2012-03-06Restore the windows-side #ifdef check in silk/MacroDebug.h.Ralph Giles
We still override the '#if 0' with FIXED_DEBUG, but this leaves whatever Koen intended here more intact. Suggestion from Greg Maxwell.
2012-03-06Enable the silk debug macros with FIXED_DEBUG.Ralph Giles
This isn't entirely accurate, since it's also used on integer math. However, the idea is similar: to add bounds checking. This code asserts rather than warning, so one must pass --enable-assertions to configure as well to get any output, and in that case the first instance is fatal. Quick testing shows both test_opus_decode and test_opus_encode trigger the assertions, but running the draft-10 test vectors does not.
2012-03-06Fix a signed-compare warning.Ralph Giles
The silk math debug macros include a bounds check on silk_abs. Because INT_MIN = (-INT_MAX - 1), abs(INT_MIN) can't be represented as an int. The macro was checking for this value as 0x8000... without a cast to signed, warning on gcc. silk/typedef.h already defines minimum values for the int types, so we correct the warning by using those.
2012-03-06Removes a number of macro definitions which are used nowhere in the codebase.Gregory Maxwell
2012-02-18Last updates for draft -11v0.9.9Jean-Marc Valin
- Draft updates - Updated code to produce and check test vectors - Making sure that the test vectors pass at all rates as well as for mono and stereo
2012-01-31Fixes MSVC warningsKoen Vos
2012-01-31Tweaks the CELT fractional resampling delay to get perfect alignmentJean-Marc Valin
Also using the same int->float conversion functions for SILK as for CELT and changed encoder implementation default to constrained VBR just to be safe when VBR gets more aggressive.
2012-01-31Last part of the LPC work stabilization work discussed at the last meetingKoen Vos
Also adds the encoder part of commit ee8adbe701 as well as a few minor cleanups.
2012-01-25Making the PLC robust to overflows caused by extreme bit-streamsJean-Marc Valin
This is not strictly necessary because the only streams that cause these already sound horrible, but it helps the testing process.
2012-01-24Fixes a non-bitstream-related PLC integer overflow.Jean-Marc Valin