summaryrefslogtreecommitdiffstats
path: root/sbc/sbc.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't decode a frame if it is too smallMarcel Holtmann2008-12-231-0/+3
|
* Remove unnecessary code and fix a coding style.Luiz Augusto von Dentz2008-12-181-14/+11
|
* Fix for overflow bug in SBC quantization codeSiarhei Siamashka2008-12-181-1/+1
| | | | | | | The result of multiplication does not always fit into 32-bits. Using 64-bit calculations helps to avoid overflows and sound quality problems in encoded audio. Overflows are more likely to show up when using high values for bitpool setting.
* Bitstream writing optimization for SBC encoderSiarhei Siamashka2008-12-181-28/+37
| | | | | SBC encoder performance improvement up to 1.5x for ARM11 and almost twice faster for Intel Core2 in some cases.
* Fix SBC gain mismatchMarcel Holtmann2008-10-311-2/+2
|
* Avoid direct inclusion of malloc.hMarcel Holtmann2008-06-111-1/+0
|
* Cidorvan found another place where the spec had us saving a bunch of valuesBrad Midgley2008-03-081-24/+13
| | | | that were used immediately. Just compute and use instead of saving. In the decoder.
* decoder optimization, now using nested multiply callsBrad Midgley2008-03-061-48/+51
|
* Cidorvan's 4-subband overflow fixesBrad Midgley2008-02-291-1/+1
|
* Replace 64bits multiplies by 32bits to further optimize the codeJohan Hedberg2008-02-221-6/+4
|
* Introduce sbc new API.Luiz Augusto von Dentz2008-02-191-153/+157
|
* fix for decoder noise at high bitpoolsBrad Midgley2008-02-151-10/+2
|
* Update copyright informationMarcel Holtmann2008-02-021-2/+1
|
* change MUL/MULA semanticsBrad Midgley2008-01-301-168/+171
|
* one more .X 32-bitismBrad Midgley2008-01-291-1/+1
|
* revert 16-bit state.X change (bad on arm)Brad Midgley2008-01-291-4/+4
|
* revert arm conditional codeBrad Midgley2008-01-281-12/+1
|
* change function signature so the arm optimization will workBrad Midgley2008-01-281-1/+12
|
* remove 16x16 mult optimization--gcc actually generates more costly codeBrad Midgley2008-01-281-93/+93
|
* Whitespace cleanupJohan Hedberg2008-01-281-1/+1
|
* avoid an (unlikely) overflowBrad Midgley2008-01-271-2/+2
|
* get 32-bit products whenever we're sure the multiplicands are both 16 bitsBrad Midgley2008-01-271-95/+95
|
* shorten the encoder tables to 16 bits, take out mula32/mul32 for now for ↵Brad Midgley2008-01-261-67/+67
| | | | simplicity
* pcm input array should be 16 not 32 bitsBrad Midgley2008-01-261-75/+75
| | | | use 32-bit product when multiplying two values limited to 16 bits each
* update copyrightsBrad Midgley2008-01-191-1/+1
|
* coding styleBrad Midgley2008-01-141-7/+4
|
* comment typoBrad Midgley2008-01-141-1/+1
|
* fix initializationBrad Midgley2008-01-141-1/+4
|
* take out memmove in sbc analyzeBrad Midgley2008-01-141-21/+29
|
* tweak to the memmove for 4 subbandsBrad Midgley2008-01-111-1/+1
|
* optimizations: use memmove instead of a loop, unroll short loopBrad Midgley2008-01-081-11/+22
|
* smooth out last shift-in-place wrinkleBrad Midgley2007-12-141-11/+2
|
* push in-place-shift optimization up into scalefactors sectionBrad Midgley2007-12-141-7/+13
|
* shift-in-place opt is back in, with a bugfix for the 4-subband caseBrad Midgley2007-12-141-7/+15
|
* coding style on ?:Brad Midgley2007-12-141-1/+1
|
* be more strict about calculating from joint since client may set it toBrad Midgley2007-12-141-1/+1
| | | | a funky value other than 0/1
* roll back the shift-in-place bitpack optimization while we figure out ifBrad Midgley2007-12-141-7/+6
| | | | it tickles a bug or creates a bug for 4 subbands
* don't need to memset the data headerBrad Midgley2007-12-131-8/+4
|
* combine two conditionals in bit packingBrad Midgley2007-11-301-5/+1
|
* change inner loop bit packing to use shift-in-place instead of complex opsBrad Midgley2007-11-301-7/+8
|
* don't use the audio_sample array inside the frame structBrad Midgley2007-11-291-7/+5
| | | | it's totally unnecessary to keep all these temporary results around
* Remove unnecessary checks for output buffer length and some optimizations.Luiz Augusto von Dentz2007-11-291-26/+9
|
* eliminate another max_bitneed loop, eliminate extraneous loop termination testsBrad Midgley2007-11-271-11/+11
|
* eliminate extra loop for bitneed computeBrad Midgley2007-11-271-13/+9
| | | | make a couple while loops easier to read as for loops
* combine the blk loops inside the joint conditionalBrad Midgley2007-11-271-10/+7
|
* rework joint subband test--uses a lot less stack space, simplify multipleBrad Midgley2007-11-271-27/+31
| | | | loops into one, unroll one tiny loop
* Introduce sbc_get_frame_duration.Luiz Augusto von Dentz2007-11-231-2/+5
|
* Change name of sbc_fill_defaults to sbc_set_defaults.Luiz Augusto von Dentz2007-11-131-3/+3
|
* Add sbc_reinit.Luiz Augusto von Dentz2007-11-131-8/+30
|
* Make sbc codec to write directly in application buffers and so avoiding memcpys.Luiz Augusto von Dentz2007-11-121-39/+59
|