libopusenc.git
13 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

13 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

13 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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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_

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

13 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

13 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

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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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)

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

13 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

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

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

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

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

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

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

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

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

13 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

13 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)

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

13 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

13 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

13 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)

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

13 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

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

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

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

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

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

13 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

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

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

13 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

13 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

13 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

13 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

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

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

13 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

13 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()

13 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

13 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

13 months agorestart granule at zero on chaining
Jean-Marc Valin [Tue, 2 May 2017 23:49:53 +0000 (19:49 -0400)]
restart granule at zero on chaining

Seems to fix the preskip issue, but not sure why

13 months agoDisabling prediction on chaining joint
Jean-Marc Valin [Tue, 2 May 2017 22:27:18 +0000 (18:27 -0400)]
Disabling prediction on chaining joint

13 months agotrying to compute preskip (doesn't work)
Jean-Marc Valin [Tue, 2 May 2017 21:51:59 +0000 (17:51 -0400)]
trying to compute preskip (doesn't work)

13 months agoCalling srand() was probably not a good idea add_chaining1
Jean-Marc Valin [Tue, 2 May 2017 19:48:47 +0000 (15:48 -0400)]
Calling srand() was probably not a good idea

Not a good thing to do from a library and if chains are short, we get the
same random number twice, which is even worse.

13 months agoAdded actual chaning code (untested)
Jean-Marc Valin [Tue, 2 May 2017 19:39:15 +0000 (15:39 -0400)]
Added actual chaning code (untested)

13 months agoFix error codes
Jean-Marc Valin [Tue, 2 May 2017 19:11:15 +0000 (15:11 -0400)]
Fix error codes

13 months agoApplying comments to the last created stream
Jean-Marc Valin [Tue, 2 May 2017 19:08:54 +0000 (15:08 -0400)]
Applying comments to the last created stream

13 months agoper-stream end granule
Jean-Marc Valin [Tue, 2 May 2017 18:49:17 +0000 (14:49 -0400)]
per-stream end granule

13 months agosome refactoring
Jean-Marc Valin [Tue, 2 May 2017 18:39:27 +0000 (14:39 -0400)]
some refactoring

13 months agochaining wip
Jean-Marc Valin [Tue, 2 May 2017 18:13:29 +0000 (14:13 -0400)]
chaining wip

13 months agoSome refactoring for chaining
Jean-Marc Valin [Tue, 2 May 2017 17:13:30 +0000 (13:13 -0400)]
Some refactoring for chaining

13 months agowip
Jean-Marc Valin [Tue, 2 May 2017 16:50:21 +0000 (12:50 -0400)]
wip

13 months agoImplement ope_flush_header()
Jean-Marc Valin [Tue, 2 May 2017 15:53:59 +0000 (11:53 -0400)]
Implement ope_flush_header()

13 months agoMaking it possible to set the serialno
Jean-Marc Valin [Mon, 1 May 2017 23:49:56 +0000 (19:49 -0400)]
Making it possible to set the serialno

13 months agoMore pass-through ctl() requests
Jean-Marc Valin [Mon, 1 May 2017 22:13:30 +0000 (18:13 -0400)]
More pass-through ctl() requests

13 months agoAdd picture code (completely untested)
Jean-Marc Valin [Mon, 1 May 2017 21:18:46 +0000 (17:18 -0400)]
Add picture code (completely untested)

13 months agoAdd setting for comment padding (untested)
Jean-Marc Valin [Mon, 1 May 2017 21:03:24 +0000 (17:03 -0400)]
Add setting for comment padding (untested)

13 months agosetting decision delay and muxing delay (untested)
Jean-Marc Valin [Mon, 1 May 2017 20:59:52 +0000 (16:59 -0400)]
setting decision delay and muxing delay (untested)

13 months agoFrame size support (untested)
Jean-Marc Valin [Mon, 1 May 2017 20:19:13 +0000 (16:19 -0400)]
Frame size support (untested)

13 months agoenforcing Ogg delay constraint
Jean-Marc Valin [Mon, 1 May 2017 20:08:39 +0000 (16:08 -0400)]
enforcing Ogg delay constraint

13 months agoFix leaks
Jean-Marc Valin [Mon, 1 May 2017 19:27:16 +0000 (15:27 -0400)]
Fix leaks

13 months agoDon't resample at 48 kHz
Jean-Marc Valin [Mon, 1 May 2017 19:15:28 +0000 (15:15 -0400)]
Don't resample at 48 kHz

13 months agosupporting some encoder requests (untested)
Jean-Marc Valin [Mon, 1 May 2017 19:12:04 +0000 (15:12 -0400)]
supporting some encoder requests (untested)

13 months agoAdd resampling support
Jean-Marc Valin [Mon, 1 May 2017 18:26:21 +0000 (14:26 -0400)]
Add resampling support

13 months agoFix preskip, granule position, eos flag
Mark Harris [Mon, 1 May 2017 06:31:03 +0000 (23:31 -0700)]
Fix preskip, granule position, eos flag

13 months agoInitialize resampler
Jean-Marc Valin [Mon, 1 May 2017 06:09:07 +0000 (02:09 -0400)]
Initialize resampler

13 months agoAdding resampler code (not used yet)
Jean-Marc Valin [Mon, 1 May 2017 06:01:44 +0000 (02:01 -0400)]
Adding resampler code (not used yet)

13 months agoexporting symbols
Jean-Marc Valin [Sun, 30 Apr 2017 15:38:47 +0000 (11:38 -0400)]
exporting symbols

13 months agoHandle the end of stream
Jean-Marc Valin [Sun, 30 Apr 2017 07:19:49 +0000 (03:19 -0400)]
Handle the end of stream

13 months agomissing initialization
Jean-Marc Valin [Sun, 30 Apr 2017 06:40:43 +0000 (02:40 -0400)]
missing initialization

13 months agooops
Jean-Marc Valin [Sun, 30 Apr 2017 04:56:12 +0000 (00:56 -0400)]
oops

13 months agomissing const
Jean-Marc Valin [Sun, 30 Apr 2017 04:46:35 +0000 (00:46 -0400)]
missing const

13 months agooops
Jean-Marc Valin [Sun, 30 Apr 2017 04:44:48 +0000 (00:44 -0400)]
oops

13 months agoforgot to init on write
Jean-Marc Valin [Sun, 30 Apr 2017 04:40:23 +0000 (00:40 -0400)]
forgot to init on write

13 months agoFixing some bugs (still won't encode a file)
Jean-Marc Valin [Sun, 30 Apr 2017 04:14:49 +0000 (00:14 -0400)]
Fixing some bugs (still won't encode a file)