summaryrefslogtreecommitdiff
path: root/silk
Commit message (Collapse)AuthorAgeFilesLines
* Correct SILK encoder gain limitMark Harris2016-11-161-0/+1
| | | | | | | Ensure that the SILK encoder's log gain is 63, not 64, when encoding a maximum-value delta gain index of 40. This matches the decoder and RFC 6716 4.2.7.4, and prevents an assertion failure in the rare case that the gain is later independently coded.
* Remove SILK_DEBUG define when _WIN32 and _DEBUG are defined.Ralph Giles2016-11-101-17/+4
| | | | | This was just enabling commented-out code, setting a fixed default removes dead code.
* Remove commented-out DEBUG_STORE_DATA calls. r=keonRalph Giles2016-11-105-6/+0
| | | | | | | | | | | | | | Also remove the SILK_DEBUG_STORE_CLOSE_FILES flush call from opus_demo. This is debugging code which is no longer used, but defining the symbols for SILK_DEBUG_STORE_CLOSE_FILES and calling it from opus_demo causes linking problems on Microsoft Visual Studio where we have strict controls on public symbols and want to test the compiled DLL. Since the code isn't in active use, it's better to remove it to avoid clutter and address the linking issue.
* Eliminate trailing spacesMark Harris2016-11-022-4/+4
|
* Fixing some opus_int vs opus_int32 mismatchesJean-Marc Valin2016-10-052-3/+4
| | | | Reported by Mark Warner.
* Fixes an overflow in LPC_inverse_pred_gain_QA()Jean-Marc Valin2016-08-171-2/+13
| | | | We now declare that anything that would overflow is not stable enough
* Speeding up PVQ using unlikely() and moving first position out of the loopJean-Marc Valin2016-08-061-8/+0
| | | | Speeds up encoding by another ~1-2%
* Making it clearer to Coverity that nStates cannot exceed ↵Jean-Marc Valin2016-08-051-1/+1
| | | | NLSF_QUANT_DEL_DEC_STATES
* Fixes overflow in CNGJean-Marc Valin2016-07-301-1/+1
| | | | (found through fuzzing)
* Ensure that NLSF cannot be negative when computing a min distance between themFelicia Lim2016-07-281-1/+1
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Disabling the use of celt_fir() in silk_LPC_analysis_filter() by defaultJean-Marc Valin2016-07-251-2/+9
|
* Fixes an overflow in limit_warped_coefs()Jean-Marc Valin2016-07-251-4/+7
| | | | | For large values of maxabs_Q20, silk_MUL( maxabs_Q20, ind + 1 ) could overflow.
* Avoiding an overflow in the LTP quantizationJean-Marc Valin2016-07-221-1/+1
| | | | | Reduces the XX values to avoid an overflow in silk_VQ_WMat_EC(), even in floating-point.
* Disables MIPS silk_noise_shape_analysis_FIX() until it's updatedJean-Marc Valin2016-07-221-1/+2
|
* More headroom in fixed-point silk_burg_modified() to avoid an overflowJean-Marc Valin2016-07-221-1/+1
|
* Increase headroom in silk_warped_autocorrelation_FIX()Jean-Marc Valin2016-07-221-1/+1
|
* Increase headroom to avoid overflow in silk_pitch_analysis_core()Jean-Marc Valin2016-07-221-1/+1
|
* Avoids undefined behaviour from left-shifting negative valuesJean-Marc Valin2016-07-201-2/+2
|
* Fix include warningTristan Matthews2016-07-191-0/+1
|
* Fix include warningTristan Matthews2016-07-191-0/+1
|
* Moving FEC decision to the Opus encoder level (from SILK level)Jean-Marc Valin2016-07-195-27/+14
|
* CBR: set gains to their previons values where we're busting the budgetJean-Marc Valin2016-07-192-6/+42
|
* Set pulses to zero if we can't meet rate targetJean-Marc Valin2016-07-192-0/+26
|
* Now that we're preventing huge gains, we no longer need to pretend there'sJean-Marc Valin2016-07-192-7/+0
| | | | no dither
* CBR: lock the gain on a subframe when the number of pulses stops going downJean-Marc Valin2016-07-192-2/+50
|
* merge back in the LTP gain safety limiterKoen Vos2016-07-1910-9/+74
|
* CBR: Using the same gain increase for fixed-point as for floatJean-Marc Valin2016-07-191-5/+10
|
* comment about reduced codelength component in LTP quantizer error metricKoen Vos2016-07-191-2/+3
|
* avoid double if statement for finding best quantized LTP coefsKoen Vos2016-07-191-4/+2
|
* increase NSQ decision delay from 32 to 40Koen Vos2016-07-195-14/+20
|
* reduced noise floor in noise shaping analysis by 2 dBKoen Vos2016-07-191-1/+1
|
* increase order of noise shaping filterKoen Vos2016-07-196-13/+12
|
* more conservative scaling of LTP corrs; remove assert that checks for ↵Koen Vos2016-07-197-36/+31
| | | | negative residual energy; discard CB entries leading to such negative energies
* Clean up: alignment of commentsKoen Vos2016-07-174-36/+36
|
* Clean up: replace tabs by spacesKoen Vos2016-07-1723-146/+146
|
* removed prefilterKoen Vos2016-07-1729-975/+256
| | | | The NSQ SSE optimizations are disabled for now because they need to be updated
* slight clean upKoen Vos2016-07-178-93/+133
|
* undo some loop unrollingKoen Vos2016-07-173-20/+6
|
* pitch analysis (in FIX) now scales the input down at the start, instead of ↵Koen Vos2016-07-172-58/+46
| | | | at every stage
* minor clean up of pointer offsetsKoen Vos2016-07-175-16/+13
|
* simplified computation of LTP coefsKoen Vos2016-07-1721-1040/+268
|
* Attenuate SILK PLC gain only for unvoiced speechFelicia Lim2016-07-172-2/+5
|
* Makes the encoder more aggressive about meeting the rate targetJean-Marc Valin2016-07-173-6/+45
|
* Using more fine-grained complexity settings for SILKJean-Marc Valin2016-07-171-2/+24
| | | | | Only complexity 0-1 now uses the plain non-delayed-decision NSQ since its quality is pretty bad. Previously 0-3 were using that plain NSQ.
* Fixes signed integer overlof in silk_ADD_POS_SAT32()Jean-Marc Valin2016-07-173-12/+2
| | | | Removes unused 64-bit version
* New DTX that works in all modes (SILK/CELT/HYBRID)Felicia Lim2016-07-171-0/+1
| | | | | | | | | | | A frame is marked as valid for DTX if it contains noise or only digital silence. As before, there is an overhang period of 200 ms and a maximum consecutive DTX period of 400 ms. If the new DTX cannot be used because of the complexity setting and sampling frequency chosen, the SILK DTX will be used instead. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* NLSF_VQ_MAX_SURVIVORS is no longer usefulJean-Marc Valin2016-07-173-3/+0
|
* take advantage of more efficient NLSF quantization by reducing number of ↵Koen Vos2016-07-176-35/+12
| | | | | | survivors in search JMV: edited to be a little more conservative
* NLSF_del_dec_quant minor clean upKoen Vos2016-07-171-5/+3
|
* NLSF_encode now also uses NLSF weights from tableKoen Vos2016-07-171-22/+10
|