cannam@86: cannam@86: cannam@86: cannam@86: libogg - datatype - ogg_page cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

libogg documentation

libogg release 1.3.0 - 20110804

cannam@86: cannam@86:

ogg_page

cannam@86: cannam@86:

declared in "ogg/ogg.h"

cannam@86: cannam@86:

cannam@86: The ogg_page struct encapsulates the data for an Ogg page. cannam@86:

cannam@86: Ogg pages are the fundamental unit of framing and interleave in an ogg bitstream. cannam@86: They are made up of packet segments of 255 bytes each. There can be as many as cannam@86: 255 packet segments per page, for a maximum page size of a little under 64 kB. cannam@86: This is not a practical limitation as the segments can be joined across cannam@86: page boundaries allowing packets of arbitrary size. In practice many cannam@86: applications will not completely fill all pages because they flush the cannam@86: accumulated packets periodically order to bound latency more tightly. cannam@86:

cannam@86:

For a complete description of ogg pages and headers, please refer to the framing document. cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:
cannam@86:

cannam@86: typedef struct {
cannam@86:   unsigned char *header;
cannam@86:   long           header_len;
cannam@86:   unsigned char *body;
cannam@86:   long           body_len;
cannam@86: } ogg_page;
cannam@86: 
cannam@86:
cannam@86: cannam@86:

Relevant Struct Members

cannam@86:
cannam@86:
header
cannam@86:
Pointer to the page header for this page. The exact contents of this header are defined in the framing spec document.
cannam@86:
header_len
cannam@86:
Length of the page header in bytes. cannam@86:
body
cannam@86:
Pointer to the data for this page.
cannam@86:
body_len
cannam@86:
Length of the body data in bytes.
cannam@86:
cannam@86: cannam@86: cannam@86:

cannam@86:
cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86: cannam@86:

copyright © 2000-2011 Xiph.Org

Ogg Container Format

libogg documentation

libogg release 1.3.0 - 20110804

cannam@86: cannam@86: cannam@86: cannam@86: