"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "xmovie-1.9.13/quicktime/libogg-1.0/doc/ogg/ogg_page_granulepos.html" of archive xmovie-1.9.13-src.tar.gz:


Caution: In this restricted "SfR Fresh" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

libogg documentation

libogg release 1.0 - 20000615

ogg_page_granulepos

declared in "ogg/ogg.h";

Returns the exact granular position of the packet data contained at the end of this page.

This is useful for tracking location when seeking or decoding.

For example, in audio codecs this position is the pcm sample number and in video this is the frame number.




int ogg_page_granulepos(ogg_page *og);

Parameters

og
Pointer to the current ogg_page struct.

Return Values

  • n is the specific last granular position of the decoded data contained in the page.



  • copyright © 2000 xiph.org

    Ogg Vorbis
    team@xiph.org

    libogg documentation

    libogg release 1.0 - 20000615