package vendor:ogg

⌘K
Ctrl+K
or
/

    Index

    Constants (0)

    This section is empty.

    Variables (0)

    This section is empty.

    Procedures (71)
    Procedure Groups (0)

    This section is empty.

    Types

    ogg_int16_t ¶

    ogg_int16_t :: i16

    ogg_int8_t ¶

    ogg_int8_t :: u8
    Related Procedures With Parameters
    Related Procedures With Returns

    ogg_iovec_t ¶

    ogg_iovec_t :: struct {
    	iov_base: rawptr,
    	iov_len:  uint,
    }
    Related Procedures With Parameters

    ogg_packet ¶

    ogg_packet :: struct {
    	packet:     [^]u8,
    	// unsigned char pointer in C
    	bytes:      i64,
    	b_o_s:      i64,
    	e_o_s:      i64,
    	granulepos: i64,
    	packetno:   i64,
    }
    Related Procedures With Parameters

    ogg_stream_state ¶

    ogg_stream_state :: struct {
    	body_data:       [^]u8,
    	// bytes from packet bodies 
    	body_storage:    i64,
    	// storage elements allocated
    	body_fill:       i64,
    	// elements stored; fill mark
    	body_returned:   i64,
    	// elements of fill returned
    	lacing_vals:     [^]i32,
    	// The values that will go to the segment table
    	granule_vals:    [^]i64,
    	lacing_storage:  i64,
    	lacing_fill:     i64,
    	lacing_packet:   i64,
    	lacing_returned: i64,
    	header:          [282]u8,
    	// working space for header encode
    	header_fill:     i32,
    	e_o_s:           i32,
    	// logical bitstream
    	b_o_s:           i32,
    	serialno:        i64,
    	pageno:          i64,
    	packetno:        i64,
    	granulepos:      i64,
    }
    Related Procedures With Parameters

    ogg_sync_state ¶

    ogg_sync_state :: struct {
    	data:        [^]u8,
    	// unsigned char pointer in C
    	storage:     i32,
    	fill:        i32,
    	returned:    i32,
    	unsynced:    i32,
    	headerbytes: i32,
    	bodybytes:   i32,
    }
    Related Procedures With Parameters

    ogg_uint16_t ¶

    ogg_uint16_t :: u16

    ogg_uint32_t ¶

    ogg_uint32_t :: u32

    ogg_uint64_t ¶

    ogg_uint64_t :: u64
    Related Procedures With Parameters

    ogg_uint8_t ¶

    ogg_uint8_t :: u8
    Related Procedures With Parameters
    Related Procedures With Returns

    Constants

    This section is empty.

    Variables

    This section is empty.

    Procedures

    ogg_packet_clear ¶

    ogg_packet_clear :: proc "c" (op: ^ogg_packet) ---

    ogg_page_bos ¶

    ogg_page_bos :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_page_checksum_set ¶

    ogg_page_checksum_set :: proc "c" (og: ^ogg_page) ---

    ogg_page_continued ¶

    ogg_page_continued :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_page_eos ¶

    ogg_page_eos :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_page_granulepos ¶

    ogg_page_granulepos :: proc "c" (og: ^ogg_page) -> i64 ---

    ogg_page_packets ¶

    ogg_page_packets :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_page_pageno ¶

    ogg_page_pageno :: proc "c" (og: ^ogg_page) -> i64 ---

    ogg_page_serialno ¶

    ogg_page_serialno :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_page_version ¶

    ogg_page_version :: proc "c" (og: ^ogg_page) -> i32 ---

    ogg_stream_check ¶

    ogg_stream_check :: proc "c" (os: ^ogg_stream_state) -> i32 ---

    ogg_stream_clear ¶

    ogg_stream_clear :: proc "c" (os: ^ogg_stream_state) -> i32 ---

    ogg_stream_destroy ¶

    ogg_stream_destroy :: proc "c" (os: ^ogg_stream_state) -> i32 ---

    ogg_stream_eos ¶

    ogg_stream_eos :: proc "c" (os: ^ogg_stream_state) -> i32 ---

    ogg_stream_flush ¶

    ogg_stream_flush :: proc "c" (os: ^ogg_stream_state, og: ^ogg_page) -> i32 ---

    ogg_stream_flush_fill ¶

    ogg_stream_flush_fill :: proc "c" (os: ^ogg_stream_state, og: ^ogg_page, nfill: i32) -> i32 ---

    ogg_stream_init ¶

    ogg_stream_init :: proc "c" (os: ^ogg_stream_state, serialno: i32) -> i32 ---
     

    General Ogg bitstream primitives

    ogg_stream_iovecin ¶

    ogg_stream_iovecin :: proc "c" (os: ^ogg_stream_state, iov: ^ogg_iovec_t, count: i32, e_o_s: i64, granulepos: i64) -> i32 ---

    ogg_stream_packetin ¶

    ogg_stream_packetin :: proc "c" (os: ^ogg_stream_state, op: ^ogg_packet) -> i32 ---
     

    Ogg bitstream encoding primitives

    ogg_stream_packetout ¶

    ogg_stream_packetout :: proc "c" (os: ^ogg_stream_state, op: ^ogg_packet) -> i32 ---

    ogg_stream_packetpeek ¶

    ogg_stream_packetpeek :: proc "c" (os: ^ogg_stream_state, op: ^ogg_packet) -> i32 ---

    ogg_stream_pagein ¶

    ogg_stream_pagein :: proc "c" (os: ^ogg_stream_state, og: ^ogg_page) -> i32 ---

    ogg_stream_pageout ¶

    ogg_stream_pageout :: proc "c" (os: ^ogg_stream_state, og: ^ogg_page) -> i32 ---

    ogg_stream_pageout_fill ¶

    ogg_stream_pageout_fill :: proc "c" (os: ^ogg_stream_state, og: ^ogg_page, nfill: i32) -> i32 ---

    ogg_stream_reset ¶

    ogg_stream_reset :: proc "c" (os: ^ogg_stream_state) -> i32 ---

    ogg_stream_reset_serialno ¶

    ogg_stream_reset_serialno :: proc "c" (os: ^ogg_stream_state, serialno: i32) -> i32 ---

    ogg_sync_buffer ¶

    ogg_sync_buffer :: proc "c" (oy: ^ogg_sync_state, size: i64) -> cstring ---

    ogg_sync_check ¶

    ogg_sync_check :: proc "c" (oy: ^ogg_sync_state) -> i32 ---

    ogg_sync_clear ¶

    ogg_sync_clear :: proc "c" (oy: ^ogg_sync_state) -> i32 ---

    ogg_sync_destroy ¶

    ogg_sync_destroy :: proc "c" (oy: ^ogg_sync_state) -> i32 ---

    ogg_sync_init ¶

    ogg_sync_init :: proc "c" (oy: ^ogg_sync_state) -> i32 ---
     

    Ogg bitstream decoding primitives

    ogg_sync_pageout ¶

    ogg_sync_pageout :: proc "c" (oy: ^ogg_sync_state, og: ^ogg_page) -> i32 ---

    ogg_sync_pageseek ¶

    ogg_sync_pageseek :: proc "c" (oy: ^ogg_sync_state, og: ^ogg_page) -> i64 ---

    ogg_sync_reset ¶

    ogg_sync_reset :: proc "c" (oy: ^ogg_sync_state) -> i32 ---

    ogg_sync_wrote ¶

    ogg_sync_wrote :: proc "c" (oy: ^ogg_sync_state, bytes: i64) -> i32 ---

    oggpackB_adv ¶

    oggpackB_adv :: proc "c" (b: ^oggpack_buffer, bits: i32) ---

    oggpackB_adv1 ¶

    oggpackB_adv1 :: proc "c" (b: ^oggpack_buffer) ---

    oggpackB_bits ¶

    oggpackB_bits :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpackB_bytes ¶

    oggpackB_bytes :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpackB_get_buffer ¶

    oggpackB_get_buffer :: proc "c" (b: ^oggpack_buffer) -> [^]u8 ---

    oggpackB_look ¶

    oggpackB_look :: proc "c" (b: ^oggpack_buffer, bits: i32) -> i64 ---

    oggpackB_look1 ¶

    oggpackB_look1 :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpackB_read ¶

    oggpackB_read :: proc "c" (b: ^oggpack_buffer, bits: i32) -> i64 ---

    oggpackB_read1 ¶

    oggpackB_read1 :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpackB_readinit ¶

    oggpackB_readinit :: proc "c" (b: ^oggpack_buffer, buf: [^]u8, bytes: i32) ---

    oggpackB_reset ¶

    oggpackB_reset :: proc "c" (b: ^oggpack_buffer) ---

    oggpackB_write ¶

    oggpackB_write :: proc "c" (b: ^oggpack_buffer, value: u64, bits: i32) ---

    oggpackB_writealign ¶

    oggpackB_writealign :: proc "c" (b: ^oggpack_buffer) ---

    oggpackB_writecheck ¶

    oggpackB_writecheck :: proc "c" (b: ^oggpack_buffer) -> i32 ---

    oggpackB_writeclear ¶

    oggpackB_writeclear :: proc "c" (b: ^oggpack_buffer) ---

    oggpackB_writecopy ¶

    oggpackB_writecopy :: proc "c" (b: ^oggpack_buffer, source: rawptr, bits: i64) ---

    oggpackB_writeinit ¶

    oggpackB_writeinit :: proc "c" (b: ^oggpack_buffer) ---
     

    OggpackB functions (big-endian version)

    oggpackB_writetrunc ¶

    oggpackB_writetrunc :: proc "c" (b: ^oggpack_buffer, bits: i64) ---

    oggpack_adv ¶

    oggpack_adv :: proc "c" (b: ^oggpack_buffer, bits: i32) ---

    oggpack_adv1 ¶

    oggpack_adv1 :: proc "c" (b: ^oggpack_buffer) ---

    oggpack_bits ¶

    oggpack_bits :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpack_bytes ¶

    oggpack_bytes :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpack_get_buffer ¶

    oggpack_get_buffer :: proc "c" (b: ^oggpack_buffer) -> [^]u8 ---

    oggpack_look ¶

    oggpack_look :: proc "c" (b: ^oggpack_buffer, bits: i32) -> i64 ---

    oggpack_look1 ¶

    oggpack_look1 :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpack_read ¶

    oggpack_read :: proc "c" (b: ^oggpack_buffer, bits: i32) -> i64 ---

    oggpack_read1 ¶

    oggpack_read1 :: proc "c" (b: ^oggpack_buffer) -> i64 ---

    oggpack_readinit ¶

    oggpack_readinit :: proc "c" (b: ^oggpack_buffer, buf: [^]u8, bytes: i32) ---

    oggpack_reset ¶

    oggpack_reset :: proc "c" (b: ^oggpack_buffer) ---

    oggpack_write ¶

    oggpack_write :: proc "c" (b: ^oggpack_buffer, value: u64, bits: i32) ---

    oggpack_writealign ¶

    oggpack_writealign :: proc "c" (b: ^oggpack_buffer) ---

    oggpack_writecheck ¶

    oggpack_writecheck :: proc "c" (b: ^oggpack_buffer) -> i32 ---

    oggpack_writeclear ¶

    oggpack_writeclear :: proc "c" (b: ^oggpack_buffer) ---

    oggpack_writecopy ¶

    oggpack_writecopy :: proc "c" (b: ^oggpack_buffer, source: rawptr, bits: i64) ---

    oggpack_writeinit ¶

    oggpack_writeinit :: proc "c" (b: ^oggpack_buffer) ---
     

    Ogg pack functions

    oggpack_writetrunc ¶

    oggpack_writetrunc :: proc "c" (b: ^oggpack_buffer, bits: i64) ---

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:18.237882127 +0000 UTC