diff options
author | Monty <xiphmont@xiph.org> | 2003-12-30 11:02:22 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2003-12-30 11:02:22 +0000 |
commit | 7bda064c9abe668e996cc5d41e4f51d3b3e3085e (patch) | |
tree | 06a2514a19e26451f9d1b8fb06cbd9906754f7ad /lib/backends.h | |
parent | 44ab215bdf57b19647d33fd912e6975b09531a45 (diff) | |
download | libvorbis-git-7bda064c9abe668e996cc5d41e4f51d3b3e3085e.tar.gz |
Replace time-windowed bitrate management setup with a one-pass
'greedy' bit reservoir system.
Advantages:
no additional encoder latency
more predictable buffering
lower memory usage
These changes introduce two new vorbis_encode_ctls to get to the new
functionality. The old ectl calls are still supported for
compatability and binary library compatability is not broken (but
libvorbis/file/enc need to be upgraded as a set).
...now going to update oggenc.
Monty
svn path=/trunk/vorbis/; revision=5726
Diffstat (limited to 'lib/backends.h')
-rw-r--r-- | lib/backends.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/backends.h b/lib/backends.h index 57f4cd21..c781f8a8 100644 --- a/lib/backends.h +++ b/lib/backends.h @@ -12,7 +12,7 @@ function: libvorbis backend and mapping structures; needed for static mode headers - last mod: $Id: backends.h,v 1.14 2002/07/11 06:40:48 xiphmont Exp $ + last mod: $Id: backends.h,v 1.15 2003/12/30 11:02:22 xiphmont Exp $ ********************************************************************/ @@ -94,7 +94,8 @@ typedef struct{ void (*free_look) (vorbis_look_residue *); long **(*class) (struct vorbis_block *,vorbis_look_residue *, float **,int *,int); - int (*forward) (struct vorbis_block *,vorbis_look_residue *, + int (*forward) (oggpack_buffer *,struct vorbis_block *, + vorbis_look_residue *, float **,float **,int *,int,long **); int (*inverse) (struct vorbis_block *,vorbis_look_residue *, float **,int *,int); |