├── NEWS
├── ChangeLog
├── config.h.cmake.in
├── tests
├── opus_decode_fuzzer.options
├── test_opus_padding.c
└── test_opus_common.h
├── opus_headers.mk
├── AUTHORS
├── training
├── txt2hdf5.py
└── rnn_dump.py
├── opus-uninstalled.pc.in
├── opus_sources.mk
├── opus.pc.in
├── .travis.yml
├── autogen.sh
├── win32
├── VS2015
│ ├── test_opus_api.vcxproj.filters
│ ├── test_opus_decode.vcxproj.filters
│ ├── test_opus_encode.vcxproj.filters
│ └── opus_demo.vcxproj.filters
├── genversion.bat
└── config.h
├── OpusConfig.cmake.in
├── LICENSE_PLEASE_READ.txt
├── doc
├── footer.html
├── Makefile.am
├── release.txt
├── opus_in_isobmff.css
├── header.html
├── build_isobmff.sh
└── build_oggdraft.sh
├── opus_buildtype.cmake
├── celt
├── dump_modes
│ ├── Makefile
│ └── dump_modes_arch.h
├── arm
│ ├── fixed_arm64.h
│ ├── armopts.s.in
│ ├── fft_arm.h
│ ├── armcpu.h
│ ├── mdct_arm.h
│ └── fixed_armv4.h
├── tests
│ ├── test_unit_types.c
│ ├── test_unit_rotation.c
│ └── test_unit_laplace.c
├── cwrs.h
├── x86
│ ├── vq_sse.h
│ ├── celt_lpc_sse.h
│ └── celt_lpc_sse4_1.c
├── laplace.h
├── mfrngcod.h
├── fixed_c6x.h
├── celt_lpc.h
├── cpu_support.h
├── modes.h
├── fixed_c5x.h
├── quant_bands.h
└── vq.h
├── .appveyor.yml
├── m4
├── opus-intrinsics.m4
├── ax_add_fortify_source.m4
└── as-gcc-inline-assembly.m4
├── celt_sources.mk
├── silk_headers.mk
├── celt_headers.mk
├── opus_config.cmake
├── silk
├── arm
│ ├── macros_arm64.h
│ ├── SigProc_FIX_armv4.h
│ ├── SigProc_FIX_armv5e.h
│ └── LPC_inv_pred_gain_arm.h
├── lin2log.c
├── mips
│ ├── sigproc_fix_mipsr1.h
│ └── macros_mipsr1.h
├── float
│ ├── scale_vector_FLP.c
│ ├── bwexpander_FLP.c
│ ├── regularize_correlations_FLP.c
│ ├── scale_copy_vector_FLP.c
│ ├── energy_FLP.c
│ ├── inner_product_FLP.c
│ ├── k2a_FLP.c
│ ├── autocorrelation_FLP.c
│ ├── LTP_scale_ctrl_FLP.c
│ └── schur_FLP.c
├── init_decoder.c
├── inner_prod_aligned.c
├── bwexpander_32.c
├── tables_gain.c
├── interpolate.c
├── fixed
│ ├── regularize_correlations_FIX.c
│ ├── k2a_Q16_FIX.c
│ ├── k2a_FIX.c
│ ├── autocorr_FIX.c
│ └── LTP_scale_ctrl_FIX.c
├── log2lin.c
├── resampler_structs.h
├── resampler_private_AR2.c
├── bwexpander.c
├── init_encoder.c
├── stereo_encode_pred.c
├── NLSF_unpack.c
└── tables_pitch_lag.c
├── COPYING
├── scripts
├── dump_rnn.py
└── rnn_train.py
├── opus_sources.cmake
├── src
├── mlp.h
├── tansig_table.h
└── opus_multistream.c
└── README.draft
/NEWS:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ChangeLog:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/config.h.cmake.in:
--------------------------------------------------------------------------------
1 | #cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
--------------------------------------------------------------------------------
/tests/opus_decode_fuzzer.options:
--------------------------------------------------------------------------------
1 | [libfuzzer]
2 | max_len = 1000000
3 |
--------------------------------------------------------------------------------
/opus_headers.mk:
--------------------------------------------------------------------------------
1 | OPUS_HEAD = \
2 | include/opus.h \
3 | include/opus_multistream.h \
4 | include/opus_projection.h \
5 | src/opus_private.h \
6 | src/analysis.h \
7 | src/mapping_matrix.h \
8 | src/mlp.h \
9 | src/tansig_table.h
10 |
--------------------------------------------------------------------------------
/AUTHORS:
--------------------------------------------------------------------------------
1 | Jean-Marc Valin (jmvalin@jmvalin.ca)
2 | Koen Vos (koenvos74@gmail.com)
3 | Timothy Terriberry (tterribe@xiph.org)
4 | Karsten Vandborg Sorensen (karsten.vandborg.sorensen@skype.net)
5 | Soren Skak Jensen (ssjensen@gn.com)
6 | Gregory Maxwell (greg@xiph.org)
7 |
--------------------------------------------------------------------------------
/training/txt2hdf5.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/python
2 |
3 | from __future__ import print_function
4 |
5 | import numpy as np
6 | import h5py
7 | import sys
8 |
9 | data = np.loadtxt(sys.argv[1], dtype='float32')
10 | h5f = h5py.File(sys.argv[2], 'w');
11 | h5f.create_dataset('data', data=data)
12 | h5f.close()
13 |
--------------------------------------------------------------------------------
/opus-uninstalled.pc.in:
--------------------------------------------------------------------------------
1 | # Opus codec reference implementation uninstalled pkg-config file
2 |
3 | libdir=${pcfiledir}/.libs
4 | includedir=${pcfiledir}
5 |
6 | Name: opus uninstalled
7 | Description: Opus IETF audio codec (not installed, @PC_BUILD@)
8 | Version: @VERSION@
9 | Requires:
10 | Conflicts:
11 | Libs: ${libdir}/libopus.la @LIBM@
12 | Cflags: -I${pcfiledir}/@top_srcdir@/include
13 |
--------------------------------------------------------------------------------
/opus_sources.mk:
--------------------------------------------------------------------------------
1 | OPUS_SOURCES = \
2 | src/opus.c \
3 | src/opus_decoder.c \
4 | src/opus_encoder.c \
5 | src/opus_multistream.c \
6 | src/opus_multistream_encoder.c \
7 | src/opus_multistream_decoder.c \
8 | src/repacketizer.c \
9 | src/opus_projection_encoder.c \
10 | src/opus_projection_decoder.c \
11 | src/mapping_matrix.c
12 |
13 | OPUS_SOURCES_FLOAT = \
14 | src/analysis.c \
15 | src/mlp.c \
16 | src/mlp_data.c
17 |
--------------------------------------------------------------------------------
/opus.pc.in:
--------------------------------------------------------------------------------
1 | # Opus codec reference implementation pkg-config file
2 |
3 | prefix=@prefix@
4 | exec_prefix=@exec_prefix@
5 | libdir=@libdir@
6 | includedir=@includedir@
7 |
8 | Name: Opus
9 | Description: Opus IETF audio codec (@PC_BUILD@ build)
10 | URL: https://opus-codec.org/
11 | Version: @VERSION@
12 | Requires:
13 | Conflicts:
14 | Libs: -L${libdir} -lopus
15 | Libs.private: @LIBM@
16 | Cflags: -I${includedir}/opus
17 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: c
2 |
3 | compiler:
4 | - gcc
5 | - clang
6 |
7 | os:
8 | - linux
9 | - osx
10 |
11 | env:
12 | - CONFIG=""
13 | - CONFIG="--enable-assertions"
14 | - CONFIG="--enable-fixed-point"
15 | - CONFIG="--enable-fixed-point --disable-float-api"
16 | - CONFIG="--enable-fixed-point --enable-assertions"
17 |
18 | script:
19 | - ./autogen.sh
20 | - ./configure $CONFIG
21 | - make distcheck
22 |
--------------------------------------------------------------------------------
/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Copyright (c) 2010-2015 Xiph.Org Foundation and contributors.
3 | # Use of this source code is governed by a BSD-style license that can be
4 | # found in the COPYING file.
5 |
6 | # Run this to set up the build system: configure, makefiles, etc.
7 | set -e
8 |
9 | srcdir=`dirname $0`
10 | test -n "$srcdir" && cd "$srcdir"
11 |
12 | echo "Updating build configuration files, please wait...."
13 |
14 | autoreconf -isf
15 |
--------------------------------------------------------------------------------
/win32/VS2015/test_opus_api.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
$doxygenversion | 14 | For more information visit the Opus Website. 15 | | 16 |17 | 18 | Generated by 19 | doxygen 20 | $doxygenversion 21 | 22 | | 23 |