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_stream_pageout_fill.html | 89 +++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 doc/libogg/ogg_stream_pageout_fill.html (limited to 'doc/libogg/ogg_stream_pageout_fill.html') diff --git a/doc/libogg/ogg_stream_pageout_fill.html b/doc/libogg/ogg_stream_pageout_fill.html new file mode 100644 index 0000000..a1d1e89 --- /dev/null +++ b/doc/libogg/ogg_stream_pageout_fill.html @@ -0,0 +1,89 @@ + + + +libogg - function - ogg_stream_pageout_fill + + + + + + + + + +

libogg documentation

libogg release 1.3.4 - 20190830

+ +

ogg_stream_pageout_fill

+ +

declared in "ogg/ogg.h";

+ +

This function forms packets into pages, similar +to ogg_stream_pageout(), but +allows applications to explicitly request a specific page spill +size.

+ +

In a typical encoding situation, this would be called after using ogg_stream_packetin() to submit +data packets to the bitstream. Internally, this function assembles +the accumulated packet bodies into an Ogg page suitable for writing +to a stream. The function is typically called in a loop until there +are no more pages ready for output.

+ +

This function will return a page when at least four packets have +been accumulated and accumulated packet data meets or exceeds the +specified number of bytes, and/or when the accumulated packet +data meets/exceeds the maximum page size regardless of accumulated +packet count. +Call ogg_stream_flush() or +ogg_stream_flush_fill() if +immediate page generation is desired regardless of accumulated data.

+ +

+ + + + +
+

+int ogg_stream_pageout_fill(ogg_stream_state *os, ogg_page *og, int fillbytes);
+
+
+ +

Parameters

+
+
os
+
Pointer to a previously declared ogg_stream struct, which represents the current logical bitstream.
+
og
+
Pointer to an ogg_page structure to fill +in. Data pointed to is owned by libogg. The structure is valid until the +next call to ogg_stream_pageout(), ogg_stream_packetin(), or +ogg_stream_flush().
+
fillbytes
+
Packet data watermark in bytes.
+
+ + +

Return Values

+
+
  • Zero means that insufficient data has accumulated to fill a page, or an internal error occurred. In +this case og is not modified.
  • +
  • Non-zero means that a page has been completed and returned.
  • +
    +

    + +

    +


    + + + + + + + + +

    copyright © 2000-2019 Xiph.Org Foundation

    Ogg Container Format

    libogg documentation

    libogg release 1.3.4 - 20190830

    + + + + + -- cgit v1.2.3