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

7 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

7 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

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

7 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.

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

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

7 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

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

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

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

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

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

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

7 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

7 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

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

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

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

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

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

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

7 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

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

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

7 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

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

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

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

7 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

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

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

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

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

7 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

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

7 months agowriting pages
Jean-Marc Valin [Sun, 30 Apr 2017 03:24:29 +0000 (23:24 -0400)]
writing pages

7 months agoreturn values, setting framesize
Jean-Marc Valin [Sun, 30 Apr 2017 01:40:50 +0000 (21:40 -0400)]
return values, setting framesize

7 months agocreating Ogg packets
Jean-Marc Valin [Sat, 29 Apr 2017 21:58:38 +0000 (17:58 -0400)]
creating Ogg packets

7 months agooops
Jean-Marc Valin [Fri, 28 Apr 2017 21:18:36 +0000 (17:18 -0400)]
oops

7 months agoSome encoding code
Jean-Marc Valin [Fri, 28 Apr 2017 21:13:51 +0000 (17:13 -0400)]
Some encoding code

7 months agofilling the audio buffer
Jean-Marc Valin [Fri, 28 Apr 2017 20:37:05 +0000 (16:37 -0400)]
filling the audio buffer

7 months agocleanup
Jean-Marc Valin [Thu, 27 Apr 2017 20:56:03 +0000 (16:56 -0400)]
cleanup

7 months agoMore comments code
Jean-Marc Valin [Thu, 27 Apr 2017 19:34:41 +0000 (15:34 -0400)]
More comments code

7 months agowip
Jean-Marc Valin [Thu, 27 Apr 2017 19:11:00 +0000 (15:11 -0400)]
wip

7 months agowriting some example code
Jean-Marc Valin [Thu, 27 Apr 2017 18:52:13 +0000 (14:52 -0400)]
writing some example code

7 months agowriting comment
Jean-Marc Valin [Thu, 27 Apr 2017 06:32:50 +0000 (02:32 -0400)]
writing comment

7 months agoChange comment API
Jean-Marc Valin [Thu, 27 Apr 2017 05:45:08 +0000 (01:45 -0400)]
Change comment API

7 months agowriting header
Jean-Marc Valin [Tue, 25 Apr 2017 07:37:49 +0000 (03:37 -0400)]
writing header

7 months agostream allocation
Jean-Marc Valin [Tue, 25 Apr 2017 05:19:08 +0000 (01:19 -0400)]
stream allocation

7 months agoallocate buffer
Jean-Marc Valin [Tue, 25 Apr 2017 04:59:29 +0000 (00:59 -0400)]
allocate buffer

7 months agoAdd header code from opus-tools
Jean-Marc Valin [Tue, 25 Apr 2017 04:52:41 +0000 (00:52 -0400)]
Add header code from opus-tools

7 months agoMore init code, silencing warnings
Jean-Marc Valin [Tue, 25 Apr 2017 04:33:41 +0000 (00:33 -0400)]
More init code, silencing warnings

7 months agowip
Jean-Marc Valin [Mon, 24 Apr 2017 22:28:46 +0000 (18:28 -0400)]
wip

7 months agoStarting implementation (mostly still placeholders)
Jean-Marc Valin [Mon, 24 Apr 2017 21:45:20 +0000 (17:45 -0400)]
Starting implementation (mostly still placeholders)