rockbox/lib/rbcodec/codecs/libopus
William Wilgus 9367ef1ed6 [BugFix] Fix some Shif related UB -- ASAN
these are the low hanging fruit identified by ASAN

cast the byte values before shift

Change-Id: Ifc5645354a10c15ccd09d1343e1705857a51e011
2023-01-04 22:00:25 -05:00
..
celt Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
ogg [BugFix] Fix some Shif related UB -- ASAN 2023-01-04 22:00:25 -05:00
silk fix uninitialized warning in libopus 2022-06-21 22:05:17 -04:00
analysis.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
analysis.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
config.h Sync to upstream libopus 2014-07-13 11:12:40 +02:00
libopus.make Change CODECFLAGS to a "simply-expanded" var to give the individual 2013-08-23 18:34:30 +02:00
mapping_matrix.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
mapping_matrix.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
mlp.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
mlp.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
mlp_data.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_compare.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_custom.h Sync libopus to upstream release 1.1 2013-12-16 21:13:23 +01:00
opus_decoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_defines.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_demo.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_encoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_header.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_header.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_multistream.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_multistream.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_multistream_decoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_multistream_encoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_private.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_projection.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_projection_decoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_projection_encoder.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
opus_types.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
README.rockbox Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
repacketizer.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
repacketizer_demo.c Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
SOURCES Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00
tansig_table.h Sync opus codec to upstream git 2021-04-23 14:23:04 +00:00

Libraries:  Opus (snapshot) / Opus-tools (snapshot) / libogg 1.3
Imported:   January 1st, 2019

Steps taken to adapt original opus/opus-tool/ogg source files to rockbox
(useful when for example syncing a new snapshot)

Opus:
* copied .c/.h files from opus/src lib/rbcodec/codecs/libopus
* copied .h files from opus/include to lib/rbcodec/codecs/libopus
* copied .c/.h files from opus/celt to lib/rbcodec/codecs/libopus/celt
* copied .c/.h files from opus/silk to lib/rbcodec/codecs/libopus/silk

Celt:
* changed #if FIXED_POINT to #ifdef FIXED_POINT in bands.c
* changed #elif OPUS_ARM_INLINE_EDSP to #elif defined (OPUS_ARM_INLINE_EDSP)
* add #define ABS(a)(((a) < 0) ? - (a) :(a)) to mathops.h

Opus-tools:
* copied src/opus_header.h and src/opus_header.c to lib/rbcodec/codecs/libopus
* changed #include <ogg/ogg.h> to #include "ogg/ogg.h" in opus_header.h

Ogg:
* copied libogg/src/framing.c to lib/rbcodec/codecs/libopus/ogg
* copied libogg/include/ogg.h to lib/rbcodec/codecs/libopus/ogg
* copied libogg/include/crctable.h to lib/rbcodec/codecs/libopus/ogg
* changed #include "ogg/ogg.h" to #include "ogg.h" in framing.c
* -- added os_config.h to lib/rbcodec/codecs/libopus/ogg
* added our own os_types.h
* changed #include <ogg/os_types.h> to #include "os_types.h" in ogg.h
* changed #include <ogg/os_types.h> to #include "os_types.h" in crctable.h