unsignedchar *buffer; unsignedchar *ptr; long storage;
} oggpack_buffer;
/* ogg_page is used to encapsulate the data in one Ogg bitstream page *****/
typedefstruct { unsignedchar *header; long header_len; unsignedchar *body; long body_len;
} ogg_page;
/* ogg_stream_state contains the current encode/decode state of a logical
Ogg bitstream **********************************************************/
typedefstruct { unsignedchar *body_data; /* bytes from packet bodies */ long body_storage; /* storage elements allocated */ long body_fill; /* elements stored; fill mark */ long body_returned; /* elements of fill returned */
int *lacing_vals; /* The values that will go to the segment table */
ogg_int64_t *granule_vals; /* granulepos values for headers. Not compact thisway,butitissimplecoupledtothe
lacing fifo */ long lacing_storage; long lacing_fill; long lacing_packet; long lacing_returned;
unsignedchar header[282]; /* working space for header encode */ int header_fill;
int e_o_s; /* set when we have buffered the last packet in the
logical bitstream */ int b_o_s; /* set after we've written the initial page
of a logical bitstream */ long serialno; long pageno;
ogg_int64_t packetno; /* sequence number for decode; the framing knowswherethere'saholeinthedata, butweneedcouplingsothatthecodec (whichisinaseparateabstraction
layer) also knows about the gap */
ogg_int64_t granulepos;
} ogg_stream_state;
/* ogg_packet is used to encapsulate the data and metadata belonging
to a single raw Ogg/Vorbis packet *************************************/
typedefstruct { unsignedchar *packet; long bytes; long b_o_s; long e_o_s;
ogg_int64_t granulepos;
ogg_int64_t packetno; /* sequence number for decode; the framing knowswherethere'saholeinthedata, butweneedcouplingsothatthecodec (whichisinaseparateabstraction
layer) also knows about the gap */
} ogg_packet;
typedefstruct { unsignedchar *data; int storage; int fill; int returned;
int unsynced; int headerbytes; int bodybytes;
} ogg_sync_state;
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.