Chris@1: Chris@1: Chris@1: Chris@1: libogg - datatype - ogg_page Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

libogg documentation

libogg release 1.3.0 - 20110804

Chris@1: Chris@1:

ogg_page

Chris@1: Chris@1:

declared in "ogg/ogg.h"

Chris@1: Chris@1:

Chris@1: The ogg_page struct encapsulates the data for an Ogg page. Chris@1:

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

Chris@1:

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

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

Relevant Struct Members

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

Chris@1:
Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

copyright © 2000-2011 Xiph.Org

Ogg Container Format

libogg documentation

libogg release 1.3.0 - 20110804

Chris@1: Chris@1: Chris@1: Chris@1: