typedefstruct vorbis_block{ /* necessary stream state for linking to the framing abstraction */ float **pcm; /* this is a pointer into local storage */
oggpack_buffer opb;
long lW; long W; long nW; int pcmend; int mode;
int eofflag;
ogg_int64_t granulepos;
ogg_int64_t sequence;
vorbis_dsp_state *vd; /* For read-only access of configuration */
/* local storage to avoid remallocing; it's up to the mapping to
structure it */ void *localstore; long localtop; long localalloc; long totaluse; struct alloc_chain *reap;
/* bitmetrics for the frame */ long glue_bits; long time_bits; long floor_bits; long res_bits;
void *internal;
} vorbis_block;
/* vorbis_block is a single block of data to be processed as part of theanalysis/synthesisstream;itbelongstoaspecificlogical bitstream,butisindependentfromothervorbis_blocksbelongingto
that logical bitstream. *************************************************/
/* vorbis_info contains all the setup information specific to the specificcompression/decompressionmodeinprogress(eg, psychoacousticsettings,channelsetup,options,codebook etc).vorbis_infoandsubstructuresareinbackends.h.
*********************************************************************/
/* the comments are not part of vorbis_info so that vorbis_info can be
static storage */ typedefstruct vorbis_comment{ /* unlimited user comment fields. libvorbis writes 'libvorbis'
whatever vendor is set to in encode */ char **user_comments; int *comment_lengths; int comments; char *vendor;
} vorbis_comment;
/* libvorbis encodes in two abstraction layers; first we perform DSP andproduceapacket(seedocs/analysis.txt).Thepacketisthen codedintoaframedOggSquishbitstreambythesecondlayer(see docs/framing.txt).Decodeisthereverseprocess;wesync/frame thebitstreamandextractindividualpackets,thendecodethe packetbackintoPCMaudio.
Theextraframing/packetizingisusedinstreamingformats,suchas files.Overthenet(suchaswithUDP),theframingand packetizationaren'tnecessaryasthey'reprovidedbythetransport
and the streaming layer is not used */
/* Vorbis PRIMITIVES: general ***************************************/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.