cannam@86: cannam@86: cannam@86:
cannam@86:libogg documentation |
cannam@86: libogg release 1.3.0 - 20110804 |
cannam@86:
declared in "ogg/ogg.h"
cannam@86: cannam@86:cannam@86: The ogg_stream_state struct tracks the current encode/decode state of the current logical bitstream. cannam@86:
cannam@86: cannam@86:
cannam@86: cannam@86: typedef struct { cannam@86: unsigned char *body_data; /* bytes from packet bodies */ cannam@86: long body_storage; /* storage elements allocated */ cannam@86: long body_fill; /* elements stored; fill mark */ cannam@86: long body_returned; /* elements of fill returned */ cannam@86: cannam@86: cannam@86: int *lacing_vals; /* The values that will go to the segment table */ cannam@86: ogg_int64_t *granule_vals; /* granulepos values for headers. Not compact cannam@86: this way, but it is simple coupled to the cannam@86: lacing fifo */ cannam@86: long lacing_storage; cannam@86: long lacing_fill; cannam@86: long lacing_packet; cannam@86: long lacing_returned; cannam@86: cannam@86: unsigned char header[282]; /* working space for header encode */ cannam@86: int header_fill; cannam@86: cannam@86: int e_o_s; /* set when we have buffered the last packet in the cannam@86: logical bitstream */ cannam@86: int b_o_s; /* set after we've written the initial page cannam@86: of a logical bitstream */ cannam@86: long serialno; cannam@86: int pageno; cannam@86: ogg_int64_t packetno; /* sequence number for decode; the framing cannam@86: knows where there's a hole in the data, cannam@86: but we need coupling so that the codec cannam@86: (which is in a seperate abstraction cannam@86: layer) also knows about the gap */ cannam@86: ogg_int64_t granulepos; cannam@86: cannam@86: } ogg_stream_state; cannam@86:cannam@86: |
cannam@86:
copyright © 2000-2011 Xiph.Org |
cannam@86: cannam@86: |
libogg documentation |
cannam@86: libogg release 1.3.0 - 20110804 |
cannam@86: