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

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-10-31Fixes a redundancy bug in glitchless SILK-SILK switchingJean-Marc Valin
The CELT encoder could end up using a non-max bit-rate and not use all the bytes it's supposed to use.
2011-10-31Fix multistream packet corruption, implement GET_FINAL_RANGE for ↵Gregory Maxwell
multistream, and add many tests. Multistream encode was failing to add the length of the extra length for self-delimited packets causing corrupted output. Multistream decode was not properly handling lost frames (and potentially reading out of bounds as a result). GET_FINAL_RANGE has been implemented as the xor of the final range of all the streams in the packet. test_opus_encode now does the mono narrowband tests using dual-mono multistream.
2011-10-30Fix a number of multistream decoder bugs; add some very basic multistream ↵Gregory Maxwell
decoder tests.
2011-10-30Fix some inconsequential file descriptor leaks in the demo tools to silence ↵Gregory Maxwell
cppcheck warnings.
2011-10-29Newly introduced check_encoder_option failed unconditionally instead of only ↵Gregory Maxwell
when you used the wrong options.
2011-10-29Considers the case where SILK busts its budget in hybrid modeJean-Marc Valin
2011-10-29Checking that encoder options aren't used for decoding in opus_demoJean-Marc Valin
And vice versa
2011-10-29Reformatting changes with an update to the MSVC project filesKoen Vos
2011-10-28opus_demo now returns 1 on mismatchJean-Marc Valin
2011-10-28Gives the Opus code direct access to (non-opaque) OpusRepacketizerJean-Marc Valin
This avoids potential alignment issues with allocating a char array on the stack.
2011-10-28Checking error codes internally and return OPUS_INTERNAL_ERROR on failureJean-Marc Valin
2011-10-28Make CBR code a bit less aggressive about low rateJean-Marc Valin
2011-10-28Fixes a hybrid bug when operating with a max bit-rateJean-Marc Valin
2011-10-27Makes OPUS_SET_VOICE_RATIO privateJean-Marc Valin
Let's put it back in if/when we have a clearer view of voice/music detection
2011-10-27Making sure DTX for voice still works at high bit-rateJean-Marc Valin
2011-10-27Convert tabs to spaces in the opus and celt code.Ralph Giles
Also reformat some, but by no means all, of the opus code for line length and three-character indents.
2011-10-27Moves the main headers from src/ to include/Jean-Marc Valin
2011-10-27Rename test_repacketizer to repacketizer_demo.Gregory Maxwell
2011-10-27Renames test_opus to opus_demo and adds the test_opus_api, test_opus_encode, ↵Gregory Maxwell
test_opus_decode test programs.
2011-10-25Adjusts the bandwidth thresholds depending on complexity and CBRJean-Marc Valin
2011-10-25Implements OPUS_SET_MAX_BANDWIDTH()Jean-Marc Valin
2011-10-25Disable CELT when FEC is on and we're losing too many packetsJean-Marc Valin
2011-10-24Some SILK CBR tuningJean-Marc Valin
2011-10-24Optimization of the CBR loopKoen Vos
Also some comment/warning fixes
2011-10-22Implements glitchless switching between SILK bandwidthsJean-Marc Valin
Only encoder changes were necessary because this uses the same "redundant frames" mechanism as SILK<->CELT switching. This also fixes a regression introduced in 78291b27 that was causing the encoder to go back and forth between bandwidths when SILK wasn't ready to change.
2011-10-21Make the encoder output a "PLC packet" when SILK can't reach the targetJean-Marc Valin
2011-10-20Overrides the SILK delayed bandwidth changes when CBR might bustJean-Marc Valin
2011-10-20Implements hard CBR for SILKJean-Marc Valin
This is achieved by running the encoding process in a loop and padding when we don't reach the exact rate. It also implements VBR-with-cap, which means we no longer need to artificially decrease the SILK bandwidth when it's close to the cap.
2011-10-19Simplfies the condition for resetting the CELT stateJean-Marc Valin
2011-10-17This should fix switching from SILK/hybrid to 60ms CELTJean-Marc Valin
2011-10-16Correct rare mismatch between the encoder and decoder introduced by e9b53212.Gregory Maxwell
Only one of the two required checks in the encoder were updated. Thanks to Tim for tracking down the actual cause of the mismatch.
2011-10-14Fixes CELT->Hybrid glitchesJean-Marc Valin
These were caused by not prefilling the hybrid CELT state
2011-10-14Improved test for fishy redundancy lengthJean-Marc Valin
2011-10-14Tim says it's safeJean-Marc Valin
2011-10-14JM puts on a brown paper bagJean-Marc Valin
2011-10-13Doing a best for "unprotected" switches to 2.5 ms framesJean-Marc Valin
2011-10-12Misc bug fixesJean-Marc Valin
- There was a bug where the decoder resampler was not properly initialized when fs_kHz == API_fs_kHz. In that case the resampler would continue to upsample, and the output was corrupt. - The delay value in the decoder was taken from the state before it was potentially updated. This caused the decoder to apply the new dalay value one frame late - The encoder and decoder states are now updated more consistently, when the sampling rate changes (pesq liked these changes) - Properly resetting the side channel encoder and decoder for the first frame with side coding active again - Faster updating the "ratio" value in the LR_to_MS() code for large prediction values means that for certain extreme/artificial input signals the output looks better
2011-10-11Fixes a corruption when decoding FEC framesJean-Marc Valin
2011-10-11Misc SILK fixes:Koen Vos
- compile warning in opus_decoder.c - decoder state reduced by ~3 kB (by merging buffers, as Tim suggested) - some minor decoder optimizations (only the PLC is non-bit exact, so should be ok)
2011-10-10Make repacketizer API use opus_int32 for lengths and add some additional ↵Gregory Maxwell
error handling.
2011-10-10Minor fixesKoen Vos
- fixes the test_opus "skip" for stereo - fixes 6 visual studio compile warnings - adds several header files to visual studio's include folder
2011-10-10Make opus_repacketizer_create handle malloc failure gracefully.Gregory Maxwell
2011-10-09Fixes a stereo SILK->CELT switching bugJean-Marc Valin
Making sure not to abruptly "de-collapse" the stereo for such transitions
2011-10-09Increase the floor on nb_compr_bytes when we enable redundancy.Jean-Marc Valin
2011-10-09Fixes a redundancy mismatch bugJean-Marc Valin
When SILK decided not to use the desired bandwidth, the redundancy could be encoded at the desired bandwidth rather than at the actual bandwidth used.
2011-10-08Fixes a rare integer overflow in the SILK "50% of max rate" ruleJean-Marc Valin
2011-10-08Redundancy fixesJean-Marc Valin
No longer encoding the redundancy flag for SILK since we can infer redundancy from the length of the frame. Also, we skip encoding the flag for hybrid mode when we know the decoder will not read it.
2011-10-08Not delaying stereo->mono transitions to/from CELTJean-Marc Valin
Also not fuzzing the mode when it's forced
2011-10-08Fixes a problem with the SILK toMono when we're encoding 40/60 ms framesJean-Marc Valin
2011-10-07Proper SILK delay compensation for resamplingJean-Marc Valin
Adds SILK delay compensation that depends on encode and decode sampling rate, as well as SILK internal coding rate. This ensures that the SILK part of Opus is always in sync with the CELT part no matter what the sampling rates are. It also increases the resampling delay to 1.15 ms (was previously 0.48 ms).