libopusenc.git
6 months agominor comment tweak v0.1
Jean-Marc Valin [Wed, 24 May 2017 00:12:48 +0000 (20:12 -0400)]
minor comment tweak

6 months agoRename opusenc makefile shortcuts to libopusenc.
Ralph Giles [Tue, 23 May 2017 22:29:25 +0000 (15:29 -0700)]
Rename opusenc makefile shortcuts to libopusenc.

Be consistent with the package name.

6 months agoUpdate makefile for libopusenc.pc name change.
Ralph Giles [Tue, 23 May 2017 22:27:39 +0000 (15:27 -0700)]
Update makefile for libopusenc.pc name change.

Fixes `make distcheck`.

6 months agoUpdate travis badge for the project rename.
Ralph Giles [Tue, 23 May 2017 22:17:58 +0000 (15:17 -0700)]
Update travis badge for the project rename.

Travis was initially configured to use the `opusenc`
repository name on github. Since it's been renamed
to `libopusenc` I've poked the travis config to pick
up the rename. However, that means the urls we use
for the build status have changed.

6 months agos/opusenc/libopusenc/
Jean-Marc Valin [Tue, 23 May 2017 22:06:09 +0000 (18:06 -0400)]
s/opusenc/libopusenc/

6 months agoAdd travis build status badge to the readme.
Ralph Giles [Fri, 19 May 2017 22:27:38 +0000 (15:27 -0700)]
Add travis build status badge to the readme.

This displays the current build status for the master branch
from travis-ci.org as part of the readme. This can be misleading
if one is working from a branch instead, but seems to be the
convention, at least until github gets better support for
the badges.

Signed-of-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
6 months agotravis: Require Ubuntu 14.04.
Ralph Giles [Fri, 19 May 2017 22:16:35 +0000 (15:16 -0700)]
travis: Require Ubuntu 14.04.

This is necessary to have an apt-packaged libopus
available as part of the build environment.

Signed-of-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
6 months agoAdd travis-ci.org build config.
Ralph Giles [Fri, 19 May 2017 22:10:22 +0000 (15:10 -0700)]
Add travis-ci.org build config.

This lets us get test feedback on github.

Signed-of-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
6 months agopackage name is libopusenc
Jean-Marc Valin [Sat, 20 May 2017 02:01:18 +0000 (22:01 -0400)]
package name is libopusenc

6 months agoremoving mentions of libogg
Jean-Marc Valin [Fri, 19 May 2017 21:18:27 +0000 (17:18 -0400)]
removing mentions of libogg

6 months agomisc fixes
Jean-Marc Valin [Fri, 19 May 2017 21:04:10 +0000 (17:04 -0400)]
misc fixes

6 months agoFixes mixed declaration and code
Jean-Marc Valin [Fri, 19 May 2017 20:18:01 +0000 (16:18 -0400)]
Fixes mixed declaration and code

6 months agoRemove http from configure.ac
Jean-Marc Valin [Fri, 19 May 2017 20:08:54 +0000 (16:08 -0400)]
Remove http from configure.ac

6 months agoAdd missing copyright header
Jean-Marc Valin [Fri, 19 May 2017 19:47:52 +0000 (15:47 -0400)]
Add missing copyright header

6 months agoAvoiding sign comparison warnings on the resampler
Jean-Marc Valin [Fri, 19 May 2017 17:28:13 +0000 (13:28 -0400)]
Avoiding sign comparison warnings on the resampler

6 months agoAvoiding using the packet after invalidated by oggp_commit_packet()
Jean-Marc Valin [Fri, 19 May 2017 16:59:05 +0000 (12:59 -0400)]
Avoiding using the packet after invalidated by oggp_commit_packet()

6 months agoUsing oggp_get_packet_buffer() instead of a fixed size on the stack
Jean-Marc Valin [Fri, 19 May 2017 05:55:23 +0000 (01:55 -0400)]
Using oggp_get_packet_buffer() instead of a fixed size on the stack

6 months agoCall packet callback before committing the packet
Jean-Marc Valin [Fri, 19 May 2017 05:27:47 +0000 (01:27 -0400)]
Call packet callback before committing the packet

6 months agoImplement OPE_GET_* ctl() calls
Jean-Marc Valin [Fri, 19 May 2017 04:30:19 +0000 (00:30 -0400)]
Implement OPE_GET_* ctl() calls

6 months agoAdds OPUS_GET* calls
Jean-Marc Valin [Fri, 19 May 2017 04:22:40 +0000 (00:22 -0400)]
Adds OPUS_GET* calls

6 months agomisc fixes
Jean-Marc Valin [Fri, 19 May 2017 04:19:20 +0000 (00:19 -0400)]
misc fixes

6 months agoImplement ope_strerror()
Jean-Marc Valin [Fri, 19 May 2017 03:43:10 +0000 (23:43 -0400)]
Implement ope_strerror()

6 months agoReturn int error codes for pictures
Jean-Marc Valin [Fri, 19 May 2017 03:20:37 +0000 (23:20 -0400)]
Return int error codes for pictures

6 months agoChanging picture API
Jean-Marc Valin [Thu, 18 May 2017 21:47:05 +0000 (17:47 -0400)]
Changing picture API

6 months agoDon't need libogg anymore, but we need libopus 1.1 for the frame size API
Jean-Marc Valin [Thu, 18 May 2017 18:46:34 +0000 (14:46 -0400)]
Don't need libogg anymore, but we need libopus 1.1 for the frame size API

6 months agoreenable SSE and full sinc table
Jean-Marc Valin [Thu, 18 May 2017 18:39:58 +0000 (14:39 -0400)]
reenable SSE and full sinc table

6 months agoSync resampler with libspeexdsp
Jean-Marc Valin [Fri, 12 May 2017 23:13:08 +0000 (19:13 -0400)]
Sync resampler with libspeexdsp

6 months agoAdd support for header gain
Jean-Marc Valin [Tue, 16 May 2017 22:36:27 +0000 (18:36 -0400)]
Add support for header gain

6 months agoRemove const on OggOpusComments
Jean-Marc Valin [Sun, 14 May 2017 18:50:43 +0000 (14:50 -0400)]
Remove const on OggOpusComments

Will make it possible to do reference counting and copy-on-write

6 months agoRemove useless #includes
Jean-Marc Valin [Sun, 14 May 2017 18:13:56 +0000 (14:13 -0400)]
Remove useless #includes

6 months agoDocumenting API parameters
Jean-Marc Valin [Sun, 14 May 2017 18:13:44 +0000 (14:13 -0400)]
Documenting API parameters

6 months agoAdd some Doxygen doc
Jean-Marc Valin [Sun, 14 May 2017 02:09:45 +0000 (22:09 -0400)]
Add some Doxygen doc

6 months agoFIXME no longer applies (was only for libogg code)
Jean-Marc Valin [Fri, 12 May 2017 22:34:39 +0000 (18:34 -0400)]
FIXME no longer applies (was only for libogg code)

6 months agoProperly support > 8 channels
Jean-Marc Valin [Fri, 12 May 2017 22:24:17 +0000 (18:24 -0400)]
Properly support > 8 channels

6 months agocleanup
Jean-Marc Valin [Fri, 12 May 2017 22:20:44 +0000 (18:20 -0400)]
cleanup

6 months agoFix granulepos bug on empty streams
Jean-Marc Valin [Fri, 12 May 2017 22:17:28 +0000 (18:17 -0400)]
Fix granulepos bug on empty streams

6 months agoRemove use of ogg_packet
Jean-Marc Valin [Fri, 12 May 2017 19:15:30 +0000 (15:15 -0400)]
Remove use of ogg_packet

6 months agoRemove use of Ogg integer types
Jean-Marc Valin [Fri, 12 May 2017 19:08:05 +0000 (15:08 -0400)]
Remove use of Ogg integer types

6 months agoRemove libogg-based implementation
Jean-Marc Valin [Fri, 12 May 2017 19:02:14 +0000 (15:02 -0400)]
Remove libogg-based implementation

6 months agoVersioning
Jean-Marc Valin [Fri, 12 May 2017 06:32:31 +0000 (02:32 -0400)]
Versioning

7 months agoFix Makefile.am
Jean-Marc Valin [Thu, 11 May 2017 22:01:20 +0000 (18:01 -0400)]
Fix Makefile.am

7 months agomake sampling rate, page sizes, and packet sizes 32-bit values
Jean-Marc Valin [Thu, 11 May 2017 21:45:11 +0000 (17:45 -0400)]
make sampling rate, page sizes, and packet sizes 32-bit values

7 months agoA few more type changes
Jean-Marc Valin [Thu, 11 May 2017 21:39:28 +0000 (17:39 -0400)]
A few more type changes

7 months agoUsing size_t for things that could be beyond 4GB
Jean-Marc Valin [Thu, 11 May 2017 21:33:33 +0000 (17:33 -0400)]
Using size_t for things that could be beyond 4GB

7 months agoUsing oggp_int32 instead of some usage of int and long
Jean-Marc Valin [Thu, 11 May 2017 21:25:15 +0000 (17:25 -0400)]
Using oggp_int32 instead of some usage of int and long

7 months agoAdd explicit user data for packet callback, add OPUS_GET_LOOKAHEAD, fix error code
Jean-Marc Valin [Thu, 11 May 2017 21:18:30 +0000 (17:18 -0400)]
Add explicit user data for packet callback, add OPUS_GET_LOOKAHEAD, fix error code

7 months agoCalling packet callback on headers too
Jean-Marc Valin [Thu, 11 May 2017 04:43:28 +0000 (00:43 -0400)]
Calling packet callback on headers too

7 months agooops, forgot a break in switch() statement
Jean-Marc Valin [Thu, 11 May 2017 02:33:14 +0000 (22:33 -0400)]
oops, forgot a break in switch() statement

7 months agoMaking it possible to add a full comment string
Jean-Marc Valin [Wed, 10 May 2017 22:24:07 +0000 (18:24 -0400)]
Making it possible to add a full comment string

7 months agoPrefix OggOpusEnc functions with ope_encoder_
Jean-Marc Valin [Wed, 10 May 2017 20:52:30 +0000 (16:52 -0400)]
Prefix OggOpusEnc functions with ope_encoder_

7 months agoAdded comments object
Jean-Marc Valin [Wed, 10 May 2017 20:48:31 +0000 (16:48 -0400)]
Added comments object

7 months agoFixing window generation
Jean-Marc Valin [Sun, 7 May 2017 16:11:41 +0000 (12:11 -0400)]
Fixing window generation

Initialization was slightly off

7 months agoComputing the exact (I think) padding size
Jean-Marc Valin [Sun, 7 May 2017 15:57:19 +0000 (11:57 -0400)]
Computing the exact (I think) padding size

7 months agoMerge branch 'exp_lpc1'
Jean-Marc Valin [Sat, 6 May 2017 17:25:05 +0000 (13:25 -0400)]
Merge branch 'exp_lpc1'

7 months agoMisc fixes to LPC exp_lpc1
Jean-Marc Valin [Sat, 6 May 2017 17:24:42 +0000 (13:24 -0400)]
Misc fixes to LPC

7 months agoAdds windowing to the LPC output
Jean-Marc Valin [Sat, 6 May 2017 16:10:30 +0000 (12:10 -0400)]
Adds windowing to the LPC output

7 months agoFix indexing
Jean-Marc Valin [Sat, 6 May 2017 05:49:19 +0000 (01:49 -0400)]
Fix indexing

7 months agooops
Jean-Marc Valin [Sat, 6 May 2017 05:26:46 +0000 (01:26 -0400)]
oops

7 months agoAdding some LPC extension code
Jean-Marc Valin [Sat, 6 May 2017 05:25:38 +0000 (01:25 -0400)]
Adding some LPC extension code

7 months agoPreventing further damage when in unrecoverable error state
Jean-Marc Valin [Sat, 6 May 2017 01:36:49 +0000 (21:36 -0400)]
Preventing further damage when in unrecoverable error state

7 months agowip for handling unrecoverable errors
Jean-Marc Valin [Sat, 6 May 2017 01:25:38 +0000 (21:25 -0400)]
wip for handling unrecoverable errors

7 months agoProperly cleanup on failure to open a file
Jean-Marc Valin [Sat, 6 May 2017 01:12:33 +0000 (21:12 -0400)]
Properly cleanup on failure to open a file

7 months agoProperly cleanup even when ope_drain() isn't called
Jean-Marc Valin [Sat, 6 May 2017 01:04:55 +0000 (21:04 -0400)]
Properly cleanup even when ope_drain() isn't called

7 months agoFix copyright (using libogg's CRC code)
Jean-Marc Valin [Sat, 6 May 2017 00:48:39 +0000 (20:48 -0400)]
Fix copyright (using libogg's CRC code)

7 months agoImplement pull API
Jean-Marc Valin [Fri, 5 May 2017 21:35:14 +0000 (17:35 -0400)]
Implement pull API

7 months agosplit the calls for draining and destroying the object
Jean-Marc Valin [Fri, 5 May 2017 21:11:45 +0000 (17:11 -0400)]
split the calls for draining and destroying the object

7 months agoremove page callback
Jean-Marc Valin [Fri, 5 May 2017 21:03:20 +0000 (17:03 -0400)]
remove page callback

7 months agoFix leak
Jean-Marc Valin [Fri, 5 May 2017 21:00:37 +0000 (17:00 -0400)]
Fix leak

7 months agoMerge branch 'exp_oggpacker2'
Jean-Marc Valin [Fri, 5 May 2017 20:54:40 +0000 (16:54 -0400)]
Merge branch 'exp_oggpacker2'

7 months agoenable new packer
Jean-Marc Valin [Fri, 5 May 2017 20:53:57 +0000 (16:53 -0400)]
enable new packer

7 months agocleaning up exp_oggpacker2
Jean-Marc Valin [Fri, 5 May 2017 20:52:06 +0000 (16:52 -0400)]
cleaning up

7 months agomore splitting
Jean-Marc Valin [Fri, 5 May 2017 20:43:13 +0000 (16:43 -0400)]
more splitting

7 months agoswitch for the packer
Jean-Marc Valin [Fri, 5 May 2017 20:38:20 +0000 (16:38 -0400)]
switch for the packer

7 months agosetting the muxing delay
Jean-Marc Valin [Fri, 5 May 2017 20:30:39 +0000 (16:30 -0400)]
setting the muxing delay

7 months agochaining seems to be working
Jean-Marc Valin [Fri, 5 May 2017 19:43:17 +0000 (15:43 -0400)]
chaining seems to be working

7 months agoFix bos and eos (I think)
Jean-Marc Valin [Fri, 5 May 2017 19:15:23 +0000 (15:15 -0400)]
Fix bos and eos (I think)

7 months agoCan now reallocate page
Jean-Marc Valin [Fri, 5 May 2017 17:41:05 +0000 (13:41 -0400)]
Can now reallocate page

7 months agoshifting the buffer to avoid growing it all the time
Jean-Marc Valin [Fri, 5 May 2017 17:24:51 +0000 (13:24 -0400)]
shifting the buffer to avoid growing it all the time

7 months agosplit pages seem to work
Jean-Marc Valin [Fri, 5 May 2017 08:07:31 +0000 (04:07 -0400)]
split pages seem to work

7 months agoAdding some page-splitting code (not quite correct)
Jean-Marc Valin [Fri, 5 May 2017 07:48:30 +0000 (03:48 -0400)]
Adding some page-splitting code (not quite correct)

7 months agorefactor
Jean-Marc Valin [Fri, 5 May 2017 06:32:56 +0000 (02:32 -0400)]
refactor

7 months agoboth ogg libraries side-by-side
Jean-Marc Valin [Fri, 5 May 2017 06:08:28 +0000 (02:08 -0400)]
both ogg libraries side-by-side

7 months agoAdd EOS support exp_oggpacker1
Jean-Marc Valin [Fri, 5 May 2017 05:14:02 +0000 (01:14 -0400)]
Add EOS support

7 months agomore fixes
Jean-Marc Valin [Fri, 5 May 2017 05:04:03 +0000 (01:04 -0400)]
more fixes

7 months agoFixes some bugs
Jean-Marc Valin [Fri, 5 May 2017 04:28:12 +0000 (00:28 -0400)]
Fixes some bugs

7 months agolacing resize
Jean-Marc Valin [Fri, 5 May 2017 02:56:45 +0000 (22:56 -0400)]
lacing resize

7 months agoresize packet buffer
Jean-Marc Valin [Fri, 5 May 2017 02:48:16 +0000 (22:48 -0400)]
resize packet buffer

7 months agotracking the user buffer pointer
Jean-Marc Valin [Fri, 5 May 2017 02:07:18 +0000 (22:07 -0400)]
tracking the user buffer pointer

7 months agowip
Jean-Marc Valin [Fri, 5 May 2017 01:09:22 +0000 (21:09 -0400)]
wip

7 months agomore packer code
Jean-Marc Valin [Thu, 4 May 2017 22:50:33 +0000 (18:50 -0400)]
more packer code

7 months agoNew ogg packer instead of libogg
Jean-Marc Valin [Thu, 4 May 2017 22:06:19 +0000 (18:06 -0400)]
New ogg packer instead of libogg

7 months agoAdd packet and page callbacks
Jean-Marc Valin [Thu, 4 May 2017 05:59:16 +0000 (01:59 -0400)]
Add packet and page callbacks

7 months agoAdd support for OPUS_MULTISTREAM_GET_ENCODER_STATE
Jean-Marc Valin [Thu, 4 May 2017 05:41:56 +0000 (01:41 -0400)]
Add support for OPUS_MULTISTREAM_GET_ENCODER_STATE

7 months agomerge libopus and libopusenc ctl() calls
Jean-Marc Valin [Thu, 4 May 2017 02:34:58 +0000 (22:34 -0400)]
merge libopus and libopusenc ctl() calls

7 months agoerror handling changes
Jean-Marc Valin [Thu, 4 May 2017 02:18:05 +0000 (22:18 -0400)]
error handling changes

7 months agooops
Jean-Marc Valin [Thu, 4 May 2017 02:08:15 +0000 (22:08 -0400)]
oops

7 months agoImplements changing the vendor string
Jean-Marc Valin [Thu, 4 May 2017 02:05:52 +0000 (22:05 -0400)]
Implements changing the vendor string

7 months agoImplement ope_continue_new_file()
Jean-Marc Valin [Wed, 3 May 2017 22:41:09 +0000 (18:41 -0400)]
Implement ope_continue_new_file()

7 months agoShould remove remaining chaining glitches by increasing the overlap
Jean-Marc Valin [Wed, 3 May 2017 19:15:32 +0000 (15:15 -0400)]
Should remove remaining chaining glitches by increasing the overlap

A side effect of this is that it breaks gstreamer

7 months agoFixes Ogg delay for chaining
Jean-Marc Valin [Wed, 3 May 2017 03:47:17 +0000 (23:47 -0400)]
Fixes Ogg delay for chaining