opus.git
8 years agoImplementing bit-stream padding
Jean-Marc Valin [Wed, 30 Mar 2011 13:46:42 +0000 (15:46 +0200)]
Implementing bit-stream padding

8 years agoFixes a declaration-after-statement error when using ALLOC_STACK
Jean-Marc Valin [Tue, 29 Mar 2011 05:54:27 +0000 (07:54 +0200)]
Fixes a declaration-after-statement error when using ALLOC_STACK

8 years agoTypo in C5X macro
Jean-Marc Valin [Tue, 29 Mar 2011 05:43:51 +0000 (07:43 +0200)]
Typo in C5X macro

8 years agoAdds support for decoding stereo streams with a mono decoder
Jean-Marc Valin [Mon, 28 Mar 2011 05:39:41 +0000 (01:39 -0400)]
Adds support for decoding stereo streams with a mono decoder

We don't allow *encoding* a stereo stream with a mono encoder
because that's just silly.

8 years agoBuild fixes
Jean-Marc Valin [Wed, 23 Mar 2011 10:51:36 +0000 (06:51 -0400)]
Build fixes

8 years agoUpdated MSVC project file
Jean-Marc Valin [Wed, 23 Mar 2011 00:32:49 +0000 (20:32 -0400)]
Updated MSVC project file

8 years agoMaking mode switching use the same window as CELT (squared)
Jean-Marc Valin [Mon, 21 Mar 2011 17:53:40 +0000 (13:53 -0400)]
Making mode switching use the same window as CELT (squared)

8 years agoMaking CELT_GET_MODE "private"
Jean-Marc Valin [Mon, 21 Mar 2011 17:26:03 +0000 (13:26 -0400)]
Making CELT_GET_MODE "private"

8 years agoRemoves the celt_mode_info() call.
Jean-Marc Valin [Mon, 21 Mar 2011 15:32:50 +0000 (11:32 -0400)]
Removes the celt_mode_info() call.

Adds a CELT_GET_LOOKAHEAD() ctl() call instead. Other uses of
celt_mode_info() should not be needed anymore.

8 years agoUsing the Opus header in 48k/2.5-20 ms modes
Jean-Marc Valin [Mon, 21 Mar 2011 11:06:09 +0000 (07:06 -0400)]
Using the Opus header in 48k/2.5-20 ms modes

8 years agoSimplifying PLC switching to have an overlap of 2.5 ms too
Jean-Marc Valin [Fri, 18 Mar 2011 20:41:40 +0000 (16:41 -0400)]
Simplifying PLC switching to have an overlap of 2.5 ms too

8 years agoMinor code simplifications
Jean-Marc Valin [Fri, 18 Mar 2011 20:35:40 +0000 (16:35 -0400)]
Minor code simplifications

8 years agoMinor redundant frame fixes
Jean-Marc Valin [Fri, 18 Mar 2011 20:29:15 +0000 (16:29 -0400)]
Minor redundant frame fixes

8 years agoCELT update
Jean-Marc Valin [Fri, 18 Mar 2011 19:48:39 +0000 (15:48 -0400)]
CELT update

With minor fixes

8 years agoFixes tandem-test.c
Jean-Marc Valin [Fri, 18 Mar 2011 19:47:53 +0000 (15:47 -0400)]
Fixes tandem-test.c

8 years agoBump version number
Jean-Marc Valin [Fri, 18 Mar 2011 19:42:56 +0000 (15:42 -0400)]
Bump version number

8 years agoNon-fatal bit-stream errors are now reported through ctl()
Jean-Marc Valin [Fri, 18 Mar 2011 19:34:11 +0000 (15:34 -0400)]
Non-fatal bit-stream errors are now reported through ctl()

8 years agoMore project files update
Jean-Marc Valin [Fri, 18 Mar 2011 10:40:35 +0000 (06:40 -0400)]
More project files update

8 years agoMSVC files
Jean-Marc Valin [Fri, 18 Mar 2011 10:40:03 +0000 (06:40 -0400)]
MSVC files

8 years agoProject files update
Jean-Marc Valin [Fri, 18 Mar 2011 05:30:36 +0000 (01:30 -0400)]
Project files update

8 years agoFixing DTX for fixed-point too, updating project files
Jean-Marc Valin [Fri, 18 Mar 2011 05:29:17 +0000 (01:29 -0400)]
Fixing DTX for fixed-point too, updating project files

8 years agoDTX fix
Jean-Marc Valin [Thu, 17 Mar 2011 20:56:54 +0000 (16:56 -0400)]
DTX fix

8 years agoFixes a bug in the handling of the first packet after DTX
Jean-Marc Valin [Thu, 17 Mar 2011 20:55:42 +0000 (16:55 -0400)]
Fixes a bug in the handling of the first packet after DTX

We were using the last frame's DTX decision at the beginning
of the encoding

8 years agoFixes leak in test_opus
Jean-Marc Valin [Thu, 17 Mar 2011 10:51:58 +0000 (06:51 -0400)]
Fixes leak in test_opus

8 years agoFixes a few PLC/DTX bugs due to the recent decode API change
Jean-Marc Valin [Thu, 17 Mar 2011 02:11:53 +0000 (22:11 -0400)]
Fixes a few PLC/DTX bugs due to the recent decode API change

8 years agoTaking into account the start and end bands in CNG
Jean-Marc Valin [Thu, 17 Mar 2011 02:03:15 +0000 (22:03 -0400)]
Taking into account the start and end bands in CNG

8 years agoFixes return value on lost packet
Jean-Marc Valin [Thu, 17 Mar 2011 00:56:28 +0000 (20:56 -0400)]
Fixes return value on lost packet

8 years agoversion bump
Jean-Marc Valin [Mon, 14 Mar 2011 22:06:23 +0000 (18:06 -0400)]
version bump

8 years agoFixed missing tags in draft
Jean-Marc Valin [Mon, 14 Mar 2011 21:58:09 +0000 (17:58 -0400)]
Fixed missing tags in draft

8 years agoVersion change
Jean-Marc Valin [Mon, 14 Mar 2011 21:48:20 +0000 (17:48 -0400)]
Version change

8 years agoDraft revisions for the entropy coder.
Timothy B. Terriberry [Mon, 14 Mar 2011 21:29:18 +0000 (17:29 -0400)]
Draft revisions for the entropy coder.

Also includes some other minor grammar revisions.

8 years agoAdding constrained VBR mode
Jean-Marc Valin [Mon, 14 Mar 2011 19:11:44 +0000 (15:11 -0400)]
Adding constrained VBR mode

8 years agoRenamed --noltp to --nopf in celtenc.c
Jean-Marc Valin [Mon, 14 Mar 2011 18:52:54 +0000 (14:52 -0400)]
Renamed --noltp to --nopf in celtenc.c

8 years agoMinor draft update
Jean-Marc Valin [Mon, 14 Mar 2011 18:41:45 +0000 (14:41 -0400)]
Minor draft update

and s/maximums/maxima/

8 years agoDraft update (allocation
Gregory Maxwell [Mon, 14 Mar 2011 18:04:56 +0000 (14:04 -0400)]
Draft update (allocation

8 years agoMore error handling
Jean-Marc Valin [Mon, 14 Mar 2011 15:44:16 +0000 (11:44 -0400)]
More error handling

8 years agoError handling
Jean-Marc Valin [Mon, 14 Mar 2011 10:45:17 +0000 (06:45 -0400)]
Error handling

8 years agoCode for handling multiple frames per packet
Jean-Marc Valin [Mon, 14 Mar 2011 00:41:52 +0000 (20:41 -0400)]
Code for handling multiple frames per packet

Barely tested

8 years agoAdding some packet parsing code
Jean-Marc Valin [Sun, 13 Mar 2011 16:41:08 +0000 (12:41 -0400)]
Adding some packet parsing code

8 years agoceltdec update for change in celt_decode() return value
Jean-Marc Valin [Sun, 13 Mar 2011 01:36:26 +0000 (20:36 -0500)]
celtdec update for change in celt_decode() return value

8 years agoDisable newly introduced CELT signalling
Jean-Marc Valin [Fri, 11 Mar 2011 22:49:10 +0000 (17:49 -0500)]
Disable newly introduced CELT signalling

8 years agoFix missing break statements
Jean-Marc Valin [Fri, 11 Mar 2011 22:46:02 +0000 (17:46 -0500)]
Fix missing break statements

8 years agoAdds in-band signalling of the CELT frame size and bandwidth
Jean-Marc Valin [Fri, 11 Mar 2011 21:31:24 +0000 (16:31 -0500)]
Adds in-band signalling of the CELT frame size and bandwidth

8 years agoSpeeds up compute_allocation() by removing potential aliasing
Jean-Marc Valin [Fri, 11 Mar 2011 15:36:11 +0000 (10:36 -0500)]
Speeds up compute_allocation() by removing potential aliasing

8 years agoNothing to see here
Jean-Marc Valin [Thu, 10 Mar 2011 15:14:12 +0000 (10:14 -0500)]
Nothing to see here

8 years agoversion bump
Jean-Marc Valin [Thu, 10 Mar 2011 02:31:14 +0000 (21:31 -0500)]
version bump

8 years agoBump version to 0.11.2
Jean-Marc Valin [Wed, 9 Mar 2011 21:47:34 +0000 (16:47 -0500)]
Bump version to 0.11.2

8 years agodraft version bump
Jean-Marc Valin [Wed, 9 Mar 2011 19:52:46 +0000 (14:52 -0500)]
draft version bump

8 years agoDraft Makefile update
Jean-Marc Valin [Wed, 9 Mar 2011 19:15:32 +0000 (14:15 -0500)]
Draft Makefile update

8 years agoMinor draft distribution update
Jean-Marc Valin [Wed, 9 Mar 2011 18:24:24 +0000 (13:24 -0500)]
Minor draft distribution update

8 years agoCELT update
Jean-Marc Valin [Wed, 9 Mar 2011 16:57:13 +0000 (11:57 -0500)]
CELT update

8 years agoFix for global stack
Jean-Marc Valin [Wed, 9 Mar 2011 16:56:29 +0000 (11:56 -0500)]
Fix for global stack

8 years agoUpdating the build of the draft and adding fixed-point support
Jean-Marc Valin [Wed, 9 Mar 2011 16:42:15 +0000 (11:42 -0500)]
Updating the build of the draft and adding fixed-point support

8 years agoAutomatic bandwidth selection
Jean-Marc Valin [Wed, 9 Mar 2011 03:12:43 +0000 (22:12 -0500)]
Automatic bandwidth selection

8 years agoremoving debug code
Jean-Marc Valin [Wed, 9 Mar 2011 02:13:23 +0000 (21:13 -0500)]
removing debug code

8 years agoCleanup
Jean-Marc Valin [Tue, 8 Mar 2011 23:05:45 +0000 (18:05 -0500)]
Cleanup

8 years agoSimple mode selection logic
Jean-Marc Valin [Tue, 8 Mar 2011 19:57:46 +0000 (14:57 -0500)]
Simple mode selection logic

8 years agoFixes a few issues with PLC-based mode switching
Jean-Marc Valin [Tue, 8 Mar 2011 04:53:53 +0000 (23:53 -0500)]
Fixes a few issues with PLC-based mode switching

8 years agoSupport for glitchles mode switching
Jean-Marc Valin [Tue, 8 Mar 2011 01:54:33 +0000 (20:54 -0500)]
Support for glitchles mode switching

Uses a 5ms redundant CELT frame embedded into the SILK or hybrid
packet to handle the switching. It's still possible to use the
PLC-based method when no redundant packet is included.

8 years agoShouldn't include config.h from a header
Jean-Marc Valin [Mon, 7 Mar 2011 21:15:55 +0000 (16:15 -0500)]
Shouldn't include config.h from a header

8 years agofixes error in definition of V(N,K)
Jean-Marc Valin [Mon, 7 Mar 2011 17:18:45 +0000 (12:18 -0500)]
fixes error in definition of V(N,K)

8 years agoSILK bugfix
Jean-Marc Valin [Thu, 3 Mar 2011 22:31:45 +0000 (17:31 -0500)]
SILK bugfix

8 years agousing memmove() instead of memcpy() when necessary
Jean-Marc Valin [Thu, 3 Mar 2011 22:31:11 +0000 (17:31 -0500)]
using memmove() instead of memcpy() when necessary

8 years agoFix redundancy mismatch
Jean-Marc Valin [Thu, 3 Mar 2011 21:53:32 +0000 (16:53 -0500)]
Fix redundancy mismatch

8 years agoFix PLC-based mode transition code.
Jean-Marc Valin [Thu, 3 Mar 2011 20:50:08 +0000 (15:50 -0500)]
Fix PLC-based mode transition code.

9 years agoEliminate the ec_int32 and ec_uint32 typedefs.
Timothy B. Terriberry [Thu, 3 Mar 2011 00:24:32 +0000 (16:24 -0800)]
Eliminate the ec_int32 and ec_uint32 typedefs.

These were used because the entropy coder originally came from
 outside libcelt, and thus did not have a common type system.
It's now undergone enough modification that it's not ever likely to
 be used as-is in another codec without some porting effort, so
 there's no real reason to maintain the typedefs separately.
Hopefully we'll replace these all again somedate with a common set
 of Opus typedefs, but for now this will do.

This fixes an issue caused by commit 6c8acbf1, which moved the
 ec_ilog() prototype from entcode.h to ecintrin.h, where the
 ec_uint32 typedef was not yet available.
Thanks to John Ridges for the report.

9 years agoFix CNG when effEBands is less than nbEBands.
Timothy B. Terriberry [Wed, 2 Mar 2011 23:28:08 +0000 (15:28 -0800)]
Fix CNG when effEBands is less than nbEBands.

We were trying to normalize bands that didn't actually exist (e.g.,
 the last band with 320-sample frames at 32kHz).
Thanks to John Ridges for the report.

9 years agoImplementing decoder-side support for redundant mode switching (bemasc's idea)
Jean-Marc Valin [Wed, 2 Mar 2011 22:54:43 +0000 (17:54 -0500)]
Implementing decoder-side support for redundant mode switching (bemasc's idea)

9 years agoA float variable and a bug left in transient_analysis()
Jean-Marc Valin [Wed, 2 Mar 2011 22:26:48 +0000 (17:26 -0500)]
A float variable and a bug left in transient_analysis()

9 years agoSILK update
Jean-Marc Valin [Wed, 2 Mar 2011 20:58:42 +0000 (15:58 -0500)]
SILK update

9 years agoRevert de32a5bf617f782f6a478c5cd50fb040b0fbffe9
Jean-Marc Valin [Wed, 2 Mar 2011 20:43:31 +0000 (15:43 -0500)]
Revert de32a5bf617f782f6a478c5cd50fb040b0fbffe9

Moves all the delay compensation back into the encoder only

9 years agoShouldn't have been commented out
Jean-Marc Valin [Wed, 2 Mar 2011 20:40:45 +0000 (15:40 -0500)]
Shouldn't have been commented out

9 years agoEC_ILOG cleanups.
Timothy B. Terriberry [Tue, 1 Mar 2011 20:54:04 +0000 (12:54 -0800)]
EC_ILOG cleanups.

Mark _BitScanReverse as an intrinsic, as this is not done by default
 in _DEBUG mode (thanks to Bjoern D. Rasmussen for the suggestion).
Move the declaration of ec_ilog() to where the macro using it is
 defined, to ensure it is available when the macro is used.
Thanks to John Ridges for the report.

9 years agoFix effectiveBytes computation for VBR
Jean-Marc Valin [Tue, 1 Mar 2011 23:08:15 +0000 (18:08 -0500)]
Fix effectiveBytes computation for VBR

9 years agoSILK/CELT update
Jean-Marc Valin [Mon, 28 Feb 2011 21:29:02 +0000 (16:29 -0500)]
SILK/CELT update

9 years agoSquashed commit of the following:
Koen Vos [Mon, 28 Feb 2011 21:07:58 +0000 (16:07 -0500)]
Squashed commit of the following:

commit 7721daf733c6986cb2c2511c81e6fc14fea1ec6a
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Mon Feb 28 16:00:52 2011 -0500

    Makefile.am update

commit 47dcc4edad849f57240b0c364036a378b5d22a9a
Author: Koen Vos <koen.vos@skype.net>
Date:   Mon Feb 28 15:46:23 2011 -0500

    SILK update (prefill, new LSF quant)

9 years agodraft: PVQ work
Jean-Marc Valin [Fri, 25 Feb 2011 22:42:21 +0000 (17:42 -0500)]
draft: PVQ work

9 years agodraft work
Jean-Marc Valin [Thu, 24 Feb 2011 23:54:22 +0000 (18:54 -0500)]
draft work

9 years agoanti-collapse
Jean-Marc Valin [Thu, 24 Feb 2011 16:04:26 +0000 (11:04 -0500)]
anti-collapse

9 years agoenergy decoding
Jean-Marc Valin [Wed, 23 Feb 2011 22:29:42 +0000 (17:29 -0500)]
energy decoding

9 years agoSILK can now build in fixed-point
Jean-Marc Valin [Tue, 22 Feb 2011 22:46:03 +0000 (17:46 -0500)]
SILK can now build in fixed-point

9 years agoTransients
Jean-Marc Valin [Tue, 22 Feb 2011 22:10:45 +0000 (17:10 -0500)]
Transients

9 years agoMoved common info from encoder to decoder
Jean-Marc Valin [Tue, 22 Feb 2011 02:30:56 +0000 (21:30 -0500)]
Moved common info from encoder to decoder

9 years agoPost-filter description
Jean-Marc Valin [Tue, 22 Feb 2011 02:00:59 +0000 (21:00 -0500)]
Post-filter description

9 years agoSplitting the resampler buffering between encode and decode
Jean-Marc Valin [Mon, 21 Feb 2011 19:05:10 +0000 (14:05 -0500)]
Splitting the resampler buffering between encode and decode

9 years agoBuffer pre-filling in the encoder
Jean-Marc Valin [Sun, 20 Feb 2011 17:23:48 +0000 (12:23 -0500)]
Buffer pre-filling in the encoder

9 years agoSILK can't use more than 80% of the bits in hybrid mode
Koen Vos [Thu, 17 Feb 2011 21:54:44 +0000 (16:54 -0500)]
SILK can't use more than 80% of the bits in hybrid mode

9 years agoSILK update
Jean-Marc Valin [Thu, 17 Feb 2011 21:44:21 +0000 (16:44 -0500)]
SILK update

9 years agoSquashed commit of the following:
Koen Vos [Thu, 17 Feb 2011 21:35:44 +0000 (16:35 -0500)]
Squashed commit of the following:

commit 8501776e52242de200b48841b0a19a512f78085d
Author: Jean-Marc Valin <jean-marc.valin@octasic.com>
Date:   Thu Feb 17 16:35:02 2011 -0500

    Remove useless file

commit 8fdc775812f84df1bb75aa4366760c768b101d02
Author: Koen Vos <koen.vos@skype.net>
Date:   Thu Feb 17 16:22:05 2011 -0500

    SILK update (fixes a bandwidth control bug and adds encoder prefill)

9 years agoFixes a prototype mismatch in compute_allocation()
Jean-Marc Valin [Wed, 16 Feb 2011 18:21:13 +0000 (13:21 -0500)]
Fixes a prototype mismatch in compute_allocation()

9 years agoMakes sure there's a PLC-only region in the mode transition
Jean-Marc Valin [Wed, 16 Feb 2011 05:41:04 +0000 (00:41 -0500)]
Makes sure there's a PLC-only region in the mode transition

9 years agoFixes infinite loop for frame size <= 5 ms
Jean-Marc Valin [Wed, 16 Feb 2011 01:01:14 +0000 (20:01 -0500)]
Fixes infinite loop for frame size <= 5 ms

9 years agoImproved transitions between the different modes
Jean-Marc Valin [Tue, 15 Feb 2011 19:31:21 +0000 (14:31 -0500)]
Improved transitions between the different modes

Uses the PLC to prevent glitches

9 years agofix make dist
Jean-Marc Valin [Tue, 15 Feb 2011 05:04:38 +0000 (00:04 -0500)]
fix make dist

9 years agoMakefile.am minus old .sln's
Jean-Marc Valin [Tue, 15 Feb 2011 05:04:13 +0000 (00:04 -0500)]
Makefile.am minus old .sln's

9 years agopreparing the next version
Jean-Marc Valin [Tue, 15 Feb 2011 04:58:41 +0000 (23:58 -0500)]
preparing the next version

9 years agoVersion bump
Jean-Marc Valin [Tue, 15 Feb 2011 04:57:54 +0000 (23:57 -0500)]
Version bump

9 years agoWin32 config.h
Jean-Marc Valin [Tue, 15 Feb 2011 04:14:23 +0000 (23:14 -0500)]
Win32 config.h

9 years agoCELT/Hybrid fix for in-band FEC.
Koen Vos [Tue, 15 Feb 2011 02:49:42 +0000 (21:49 -0500)]
CELT/Hybrid fix for in-band FEC.

9 years agomissing files
Jean-Marc Valin [Tue, 15 Feb 2011 02:18:08 +0000 (21:18 -0500)]
missing files