Consts
AVIO_FLAG_DIRECT = 0x00008000
AVIO_FLAG_READ = 1
AVIO_FLAG_WRITE = 2
AVSEEK_FORCE = 0x00020000
AVSEEK_SIZE = 0x00010000
SEEK_CUR = 0
Procs
proc avio_accept(s: ptr AVIOContext; c: ptr ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_alloc_context(buffer: ptr uint8; buffer_size, write_flag: cint; opaque: pointer; read_packet: proc (opaque: pointer; buf: ptr uint8; buf_size: cint): cint; write_packet: proc (opaque: pointer; buf: uint8; buf_size: cint): cint; seek: proc (opaque: pointer; offset: int64; whence: cint): int64): ptr AVIOContext {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_check(url: cstring; flags: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_close(s: ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_close_dir(s: ptr ptr AVIODirContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_close_dyn_buf(s: ptr AVIOContext; pbuffer: ptr uint8): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_closep(s: ptr ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_context_free(s: ptr ptr AVIOContext) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_enum_protocols(opaque: pointer; output: cint): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_feof(s: ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_find_protocol_name(url: cstring): cstring {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_flush(s: ptr AVIOContext) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_free_directory_entry(entry: ptr ptr AVIODirEntry) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_get_dyn_buf(s: ptr AVIOContext; pbuffer: ptr ptr uint8): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_get_str(pb: ptr AVIOContext; maxlen: cint; buf: cstring; buflen: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_get_str16be(pb: ptr AVIOContext; maxlen: cint; buf: cstring; buflen: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_get_str16le(pb: ptr AVIOContext; maxlen: cint; buf: cstring; buflen: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_handshake(c: ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_open(s: ptr ptr AVIOContext; url: cstring; flags: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_open2(s: ptr ptr AVIOContext; url: cstring; flags: cint; int_cb: ptr AVIOInterruptCB; options: ptr ptr AVDictionary): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_open_dir(s: ptr ptr AVIODirContext; url: cstring; options: ptr ptr AVDictionary): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_open_dyn_buf(s: ptr ptr AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_pause(h: ptr AVIOContext; pause: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_print_string_array(s: ptr AVIOContext; strings: cstringArray) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_printf(s: ptr AVIOContext; fmt: cstring): cint {.varargs, importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_protocol_get_class(name: cstring): ptr AVClass {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_put_str(s: ptr AVIOContext; str: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_put_str16be(s: ptr AVIOContext; str: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_put_str16le(s: ptr AVIOContext; str: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_r8(s: AVIOContext): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rb16(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rb24(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rb32(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rb64(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_read(s: ptr AVIOContext; buf: ptr uint8; size: cint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_read_dir(s: ptr AVIODirContext; next: ptr ptr AVIODirEntry): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_read_partial(s: ptr AVIOContext; buf: ptr uint8; size: cint): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_read_to_bprint(h: ptr AVIOContext; pb: ptr AVBPrint; max_size: csize_t): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rl16(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rl24(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rl32(s: AVIOContext): cuint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_rl64(s: AVIOContext): uint64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_seek(s: ptr AVIOContext; offset: int64; whence: cint): int64 {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_seek_time(h: ptr AVIOContext; stream_index: cint; timestamp: int64; flags: cint): int64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_size(s: ptr AVIOContext): int64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_skip(s: ptr AVIOContext; offset: int64): int64 {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_tell(s: ptr AVIOContext): int64 {.inline, importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_w8(s: ptr AVIOContext; b: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wb16(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wb24(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wb32(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wb64(s: ptr AVIOContext; val: uint64) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wl16(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wl24(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wl32(s: ptr AVIOContext; val: cuint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_wl64(s: ptr AVIOContext; val: uint64) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_write(s: ptr AVIOContext; buf: ptr uint8; size: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avio_write_marker(s: ptr AVIOContext; time: int64; type: AVIODataMarkerType) {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avpriv_io_delete(url: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc avpriv_io_move(url_src, url_dst: cstring): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
Templates
template avio_print(s: varargs[untyped]): untyped