summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0HEAD2.0masterMarcel Holtmann2022-06-202-1/+4
|
* build: Update library revision numberMarcel Holtmann2022-06-201-1/+1
|
* build: Update to support Libtool >= 2.2Marcel Holtmann2022-06-201-1/+2
|
* build: Switch to using tar.xz packagingMarcel Holtmann2022-06-201-1/+2
|
* build: Update to support Autoconf >= 2.69Marcel Holtmann2022-06-201-10/+16
|
* sbcenc: Fix build warningsLuiz Augusto von Dentz2022-06-161-4/+3
| | | | | | | | | | | | | | | | | | | | | This fixes the following warnings: In file included from /usr/include/stdio.h:894, from src/sbcenc.c:30: In function ‘fprintf’, inlined from ‘encode’ at src/sbcenc.c:160:3, inlined from ‘main’ at src/sbcenc.c:329:3: /usr/include/bits/stdio2.h:105:10: error: ‘srate’ may be used uninitialized [-Werror=maybe-uninitialized] 105 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/sbcenc.c: In function ‘main’: src/sbcenc.c:54:23: note: ‘srate’ was declared here 54 | int fd, size, srate, codesize, nframes; | ^~~~~ cc1: all warnings being treated as errors
* sbc_primitives: Fix build on non-x86.Marius Bakke2020-12-221-0/+2
| | | | | | | | | | | | | Don't call __builtin_cpu_init unless targeting i386 or x86_64. Otherwise we get an error at link time: CC sbc/sbc_primitives.lo sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’: sbc/sbc_primitives.c:596:2: warning: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Wimplicit-function-declaration] [...] CCLD src/sbcdec ld: sbc/.libs/libsbc-private.a(sbc_primitives.o): in function `sbc_init_primitives': sbc_primitives.c:(.text+0x3a30): undefined reference to `__builtin_cpu_init'
* Release 1.51.5Marcel Holtmann2020-12-072-1/+4
|
* sbc_primitives: Fix build on non-x86 archLuiz Augusto von Dentz2020-12-032-5/+2
| | | | | | | | | | | | | | | | | | | | | | Check if SBC_BUILD_WITH_MMX_SUPPORT is defined otherwise sbc_init_primitives_mmx will not be declared and _builtin_cpu_supports(“mmx”)) likely fail: CC sbc/sbc_primitives.lo sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’: sbc/sbc_primitives.c:599:3: warning: implicit declaration of function ‘sbc_init_primitives_mmx’; did you mean ‘sbc_init_primitives_x86’? [-Wimplicit-function-declaration] 599 | sbc_init_primitives_mmx(state); | ^~~~~~~~~~~~~~~~~~~~~~~ | sbc_init_primitives_x86 sbc/sbc_primitives.c: In function ‘sbc_init_primitives’: sbc/sbc_primitives.c:598:6: error: hwcap ‘mmx’ is an invalid argument to builtin ‘__builtin_cpu_supports’ 598 | if (__builtin_cpu_supports(“mmx”)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:711: sbc/sbc_primitives.lo] Error 1 make: *** [Makefile:453: all] Error 2
* sbc: Add sbc_reinit_msbcPali Rohár2020-12-034-3/+27
| | | | | This adds a new API function sbc_reinit_msbc. Like sbc_reinit or sbc_reinit_a2dp but for msbc.
* sbc/sbc_primitives_sse: Optimize sbc_analyze_8sLuiz Augusto von Dentz2020-08-181-65/+44
| | | | | | | | | | | | | | | | This makes use 128 bit XMM registers whenever possible. $ time src/sbcenc_mmx -s 8 sin_64m.au > /dev/null real 0m1.064s user 0m1.012s sys 0m0.049s === After ==== $ time src/sbcenc -s 8 sin_64m.au > /dev/null real 0m1.032s user 0m0.996s sys 0m0.033s
* sbc/sbc_primitives_sse: Optimize sbc_analyze_4sLuiz Augusto von Dentz2020-08-181-33/+25
| | | | | | | | | | | | | | | | This makes use 128 bit XMM registers whenever possible. $ time src/sbcenc_mmx -s 4 sin_4m.au > /dev/null real 0m1.073s user 0m1.039s sys 0m0.030s === After ==== $ time src/sbcenc -s 4 sin_4m.au > /dev/null real 0m1.049s user 0m1.000s sys 0m0.047s
* sbc: Add initial code for SSE primitivesLuiz Augusto von Dentz2020-08-185-43/+428
|
* sbcenc: Remove duplicate check for num of channelsPali Rohár2020-08-111-1/+0
|
* sbcenc: Add missing error check for unsupported sample ratesPali Rohár2020-08-111-0/+4
|
* sbc: Style fixes for sbc.sym fileMarcel Holtmann2019-12-101-0/+2
|
* AUTHORS: Mention John's contributionsMarcel Holtmann2019-12-101-0/+1
|
* sbc: Fix visibility of sbc_reinit_a2dp()John Keeping2019-12-101-1/+1
| | | | | sbc_reinit_a2dp() is missing the SBC_EXPORT attribute so it's not visibile to be used by consumers of the shared object.
* Release 1.41.4Marcel Holtmann2018-09-192-1/+4
|
* build: Update library revision numberMarcel Holtmann2018-09-191-1/+1
|
* AUTHORS: Mention Joshua's and Tanu's contributionsMarcel Holtmann2018-09-191-0/+2
|
* sbc: fix frame_length and codesize documentationTanu Kaskinen2018-09-111-2/+2
| | | | | | | | frame_length is the output block size when encoding and the input block size when decoding, with codesize it's vice versa. The documentation was inaccurate regarding this. Using the terms "compressed" and "uncompressed" instead of "output" and "input" should make the function semantics clear.
* sbc: Fix stack overflow read in sbc_crc8.Joshua Kessinger2018-09-111-1/+1
| | | | | | When encoding or decoding with JOINT_STEREO and 8 subbands the crc_pos is 88 bits. In this case there are no extra bits which need to be added to the CRC, but there is still a read 1 byte past the end of the crc_header stack variable.
* Release 1.31.3Marcel Holtmann2014-10-302-1/+4
|
* AUTHORS: Mention Aurélien's contributionsMarcel Holtmann2014-10-301-0/+1
|
* build: Update library revision numberMarcel Holtmann2014-10-301-1/+1
|
* sbc: use an uint16 to store frame length in internal frame structureAurélien Zanelli2014-10-241-1/+1
| | | | | | Otherwise it could overflow in some cases. For instance in DUAL_CHANNEL mode, with subbands set to SBC_SB_8, blocks set to SBC_BLK_16 and bitpool set to 64 results in a frame length of 268.
* sbc: fix frame length calculation for DUAL_CHANNEL modeAurélien Zanelli2014-10-241-1/+1
| | | | | According to A2DP specification, section 12.9, for DUAL_CHANNEL mode, we shall use the same formula as for MONO mode.
* Release 1.21.2Marcel Holtmann2014-01-232-1/+5
|
* sbc: Add sbc_reinit_a2dp to sbc.symLuiz Augusto von Dentz2014-01-231-0/+1
|
* sbc: Add sbc_reinit_a2dpLuiz Augusto von Dentz2014-01-232-14/+37
| | | | | This adds sbc_reinit_a2dp that can be used to reconfigure a previous initialized sbc_t with new A2DP configuration.
* TODO: Update entries in TODO listMarcel Holtmann2014-01-222-31/+28
|
* sbc: Use bool variable for priv->initMarcel Holtmann2014-01-221-4/+4
|
* sbc: Add Intel copyright to public header fileMarcel Holtmann2014-01-221-0/+1
|
* build: Update library version for new sbc_init_a2dp() functionMarcel Holtmann2014-01-221-2/+2
|
* build: Keep high precision support disabled by defaultMarcel Holtmann2014-01-222-10/+8
|
* sbc: Add sbc_init_a2dp to sbc.symLuiz Augusto von Dentz2014-01-211-0/+4
|
* sbc: Add sbc_init_a2dpLuiz Augusto von Dentz2014-01-212-0/+146
| | | | | This adds sbc_init_a2dp that can be used to convert A2DP configuration to the internal representation since they are not binary compatible.
* build: Add configure option --disable-high-precisionLuiz Augusto von Dentz2013-09-162-2/+8
| | | | | This enables high precision using 64 bits accumulators by default which can be disabled with --disable-high-precision.
* sbc: Fix declaration of sbc_init_msbc symbolMarcel Holtmann2013-08-251-1/+4
|
* Release 1.11.1Marcel Holtmann2013-04-302-1/+4
|
* build: Update library version for new sbc_init_msbc() functionMarcel Holtmann2013-04-301-2/+2
|
* AUTHORS: Mention Frédéric's contributionsMarcel Holtmann2013-04-151-0/+1
|
* TODO: Add TODO listFrédéric Dalleau2013-04-151-0/+49
|
* sbc: Update sbcinfo for msbcFrédéric Dalleau2013-04-151-14/+40
|
* sbc: Update sbcenc for msbcFrédéric Dalleau2013-04-151-43/+65
|
* sbc: Update sbcdec for msbcFrédéric Dalleau2013-04-151-5/+17
|
* sbc: Add support for mSBC frame headerFrédéric Dalleau2013-04-151-90/+138
| | | | | | | | Traditionnal SBC frame header describe encoding parameters for each frame: nr of blocks, subbands, allocation method, and bitpool. In mSBC, only one combination of parameter is defined. That combination cannot be expressed using a traditionnal SBC header. Because of this, a specific header is defined with 0xAD followed by two reserved zero bytes.
* sbc: Declare and implement sbc_init_msbcFrédéric Dalleau2013-04-153-0/+36
|
* sbc: Add a private boolean flag to enable 15 block encodingFrédéric Dalleau2013-04-151-8/+29
| | | | | | This patch introduce a new private member which purpose is to encode 15 blocks. It is private to the library and can't be set from standard API. sbc_init_msbc() function will be defined to set this flag.