From 740291cf2ae7f360b4ab119746da9ac2ef6611e4 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 13 Jul 2026 12:40:00 +0000 Subject: Import xiph/ogg @ 36f969bb37559345ee03796ed625a9abd42c6db9 Snapshot for re3/reVC vendoring, per @lzcnt. Source: https://github.com/xiph/ogg (36f969bb37559345ee03796ed625a9abd42c6db9). --- doc/libogg/ogg_sync_state.html | 77 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 doc/libogg/ogg_sync_state.html (limited to 'doc/libogg/ogg_sync_state.html') diff --git a/doc/libogg/ogg_sync_state.html b/doc/libogg/ogg_sync_state.html new file mode 100644 index 0000000..a274a31 --- /dev/null +++ b/doc/libogg/ogg_sync_state.html @@ -0,0 +1,77 @@ + + + +libogg - datatype - ogg_sync_state + + + + + + + + + +

libogg documentation

libogg release 1.3.4 - 20190830

+ +

ogg_sync_state

+ +

declared in "ogg/ogg.h"

+ +

+The ogg_sync_state struct tracks the synchronization of the current page. +

It is used during decoding to track the status of data as it is read in, synchronized, verified, and parsed into pages belonging to the various logical bistreams in the current physical bitstream link. +

+ + + + + +
+

+typedef struct {
+  unsigned char *data;
+  int storage;
+  int fill;
+  int returned;
+
+  int unsynced;
+  int headerbytes;
+  int bodybytes;
+} ogg_sync_state;
+
+
+ +

Relevant Struct Members

+
+
data
+
Pointer to buffered stream data.
+
storage
+
Current allocated size of the stream buffer held in *data.
+
fill
+
The number of valid bytes currently held in *data; functions as the buffer head pointer.
+
returned
+
The number of bytes at the head of *data that have already been returned as pages; functions as the buffer tail pointer.
+
unsynced
+
Synchronization state flag; nonzero if sync has not yet been attained or has been lost.
+
headerbytes
+
If synced, the number of bytes used by the synced page's header.
+
bodybytes
+
If synced, the number of bytes used by the synced page's body.
+
+ + +

+
+ + + + + + + + +

copyright © 2000-2019 Xiph.Org Foundation

Ogg Container Format

libogg documentation

libogg release 1.3.4 - 20190830

+ + + + -- cgit v1.2.3