- Apr 02, 2012
-
-
Also fixes a minor typo.
-
- Mar 08, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
- Mar 06, 2012
-
-
Gregory Maxwell authored
CLANG IOC no longer likes the 'deterministic random' bitstreams, so move the test_opus_decode bailout up.
-
Ralph Giles authored
Doxygen is smart enough to insert a period if the paragraph before the @see directive, which starts a new section, doesn't have one. Unfortunately it's not smart enough to convert a comma to a period. So while the "description, @see foo" idiom used for the CTL documentation scans well in the header file, the Doxygen output end up with "description,.\n". Minimal change to remove the offending commas.
-
Ralph Giles authored
opus_decode() takes a sixth 'enable_fec' option. Naive invocations shoudl set this to zero.
-
Ralph Giles authored
We still override the '#if 0' with FIXED_DEBUG, but this leaves whatever Koen intended here more intact. Suggestion from Greg Maxwell.
-
Ralph Giles authored
-
Ralph Giles authored
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.
-
Ralph Giles authored
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.
-
Ralph Giles authored
The versions of UADD32 and USUB32 in fixed_debug.h take unsigned long long (ideally 64 bit) inputs, and range check the arguments. However, the printed warnings cast them to (unsigned), which is confusing. Instead, print the full value passed in. NB this will make negative values print has huge, rather than negative, values.
-
Ralph Giles authored
-
Ralph Giles authored
Corrects a signed-compare warning.
-
Ralph Giles authored
On my system this speeds up 'make -j8 check' by about 50%. The drawback is that we don't get to see Greg's nice output from the test programmes. It's hidden in a log file, even on failure or 'make V=1'. Probably this is better for most people; developers can run the tests manually.
-
Ralph Giles authored
Use the celt_mips defined in fixed_debug.h from the unit tests by defining CELT_C earlier. We must export celt_mips so it can be used by clients calling the library, like opus_custom_demo.
-
-
-
Jean-Marc Valin authored
Thanks to Vincent Penquerc'h
-
Jean-Marc Valin authored
-
- Mar 05, 2012
-
-
-
Fixes the encoder bitrate CTLs to correctly apply to all streams, prevents the MS encoder from starving the latter streams by not reserving a reasonable minimum amount of space for them.
-
Also change the packet length in the API from int to opus_int32 because repacketized frames are able to go beyond 32767 bytes in size.
-
This fixes some problems with cross-compiles.
-
Jean-Marc Valin authored
-
- Feb 17, 2012
-
-
Jean-Marc Valin authored
- 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
-
- Feb 09, 2012
-
-
Jean-Marc Valin authored
-
- Jan 31, 2012
-
-
-
Jean-Marc Valin authored
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.
-
Also adds the encoder part of commit ee8adbe7 as well as a few minor cleanups.
-
- Jan 24, 2012
-
-
No changes to the codec itself.
-
Jean-Marc Valin authored
This is not strictly necessary because the only streams that cause these already sound horrible, but it helps the testing process.
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
- Safer gain clamping for PLC - Makes opus_decoder_get_nb_samples() report an error on invalid ToC - Giving a free license to the text ofthe draft (not just the code)
-
- Dec 14, 2011
-
-
Also clamps the gain to avoid forcing a float decoder to emulate the state rescaling.
-
- Dec 13, 2011
-
-
Jean-Marc Valin authored
- When it cannot produce the rate it's being asked, the encoder now returns a "PLC packet" - Makes it possible to use the CELT PLC for more than 20 ms
-
-
decoder: - fixed incorrect scaling of filter states for the smallest quantization step sizes - NLSF2A now limits the prediction gain of LPC filters encoder: - increased damping of LTP coefficients in LTP analysis - increased white noise fraction in noise shaping LPC analysis - introduced maximum total prediction gain. Used by Burg's method to exit early if prediction gain is exceeded. This improves packet loss robustness and numerical robustness in Burg's method - Prefiltered signal is now in int32 Q10 domain, from int16 Q0 - Increased max number of iterations in CBR gain control loop from 5 to 6 - Removed useless code from LTP scaling control - Optimization: smarter LPC loop unrolling - Switched default win32 compile mode to be floating-point resampler: - made resampler have constant delay of 0.75 ms; removed delay compensation from silk code. - removed obsolete table entries (~850 Bytes) - increased downsampling filter order from 16 to 18/24/36 (depending on frequency ratio) - reoptimized filter coefficients
-
- Dec 02, 2011
-
-
The range decoder used to initialize nbits_total after the renormalization loop, even though the renormalization loop modifies it. This was presumably safe, because nothing actually used the value before it was initialized, but I'm tired of it triggering the integer overflow checking.
-
This has no impact on opus_demo, test vectors, or "normal" codec operation
-
Jean-Marc Valin authored
SHARK compiler treaks "bank" as a reserved keyword -- go figure.
-