World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
20 #ifndef AVFORMAT_AVIO_H
21 #define AVFORMAT_AVIO_H
40 #define AVIO_SEEKABLE_NORMAL (1 << 0)
45 #define AVIO_SEEKABLE_TIME (1 << 1)
467 int (*read_packet)(
void *opaque,
uint8_t *
buf,
int buf_size),
468 int (*write_packet)(
void *opaque,
uint8_t *
buf,
int buf_size),
531 #define AVSEEK_SIZE 0x10000
539 #define AVSEEK_FORCE 0x20000
654 #define AVIO_FLAG_READ 1
655 #define AVIO_FLAG_WRITE 2
656 #define AVIO_FLAG_READ_WRITE (AVIO_FLAG_READ|AVIO_FLAG_WRITE)
673 #define AVIO_FLAG_NONBLOCK 8
681 #define AVIO_FLAG_DIRECT 0x8000
int64_t(* read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags)
enum AVIODataMarkerType current_type
@ AVIO_DATA_MARKER_BOUNDARY_POINT
int64_t modification_timestamp
int avio_close(AVIOContext *s)
struct AVIOContext AVIOContext
void avio_context_free(AVIOContext **s)
int avio_get_str16be(AVIOContext *pb, int maxlen, char *buf, int buflen)
int avio_read_dir(AVIODirContext *s, AVIODirEntry **next)
const char * avio_enum_protocols(void **opaque, int output)
void avio_wl64(AVIOContext *s, uint64_t val)
int(* read_pause)(void *opaque, int pause)
int(* write_data_type)(void *opaque, uint8_t *buf, int buf_size, enum AVIODataMarkerType type, int64_t time)
int64_t avio_size(AVIOContext *s)
int avio_get_dyn_buf(AVIOContext *s, uint8_t **pbuffer)
const char * protocol_whitelist
void avio_wl16(AVIOContext *s, unsigned int val)
int avio_handshake(AVIOContext *c)
void avio_write_marker(AVIOContext *s, int64_t time, enum AVIODataMarkerType type)
int avio_open2(AVIOContext **s, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options)
int avio_close_dir(AVIODirContext **s)
int ignore_boundary_point
int64_t avio_seek_time(AVIOContext *h, int stream_index, int64_t timestamp, int flags)
@ AVIO_ENTRY_CHARACTER_DEVICE
static av_always_inline int64_t avio_tell(AVIOContext *s)
unsigned __int64 uint64_t
unsigned int avio_rl16(AVIOContext *s)
GLfloat GLfloat GLfloat GLfloat h
int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer)
unsigned int avio_rb32(AVIOContext *s)
struct URLContext * url_context
@ AVIO_ENTRY_SYMBOLIC_LINK
int avio_get_str16le(AVIOContext *pb, int maxlen, char *buf, int buflen)
int avio_open_dyn_buf(AVIOContext **s)
void avio_free_directory_entry(AVIODirEntry **entry)
int avio_read_to_bprint(AVIOContext *h, struct AVBPrint *pb, size_t max_size)
EGLContext EGLenum EGLClientBuffer buffer
GLenum GLuint GLenum GLsizei const GLchar * buf
unsigned char * buf_ptr_max
@ AVIO_DATA_MARKER_TRAILER
struct AVIODirContext AVIODirContext
uint64_t avio_rb64(AVIOContext *s)
int avio_accept(AVIOContext *s, AVIOContext **c)
int avio_pause(AVIOContext *h, int pause)
void avio_w8(AVIOContext *s, int b)
unsigned int avio_rl32(AVIOContext *s)
unsigned int avio_rb24(AVIOContext *s)
int avio_get_str(AVIOContext *pb, int maxlen, char *buf, int buflen)
struct AVIODirEntry AVIODirEntry
int64_t(* seek)(void *opaque, int64_t offset, int whence)
@ AVIO_DATA_MARKER_SYNC_POINT
void avio_write(AVIOContext *s, const unsigned char *buf, int size)
void avio_wb32(AVIOContext *s, unsigned int val)
int avio_r8(AVIOContext *s)
void avio_wl32(AVIOContext *s, unsigned int val)
int avio_closep(AVIOContext **s)
unsigned int avio_rl24(AVIOContext *s)
const char * protocol_blacklist
int64_t status_change_timestamp
AVIOContext * avio_alloc_context(unsigned char *buffer, int buffer_size, int write_flag, void *opaque, int(*read_packet)(void *opaque, uint8_t *buf, int buf_size), int(*write_packet)(void *opaque, uint8_t *buf, int buf_size), int64_t(*seek)(void *opaque, int64_t offset, int whence))
GLboolean GLboolean GLboolean b
int avio_check(const char *url, int flags)
@ AVIO_DATA_MARKER_UNKNOWN
@ AVIO_ENTRY_BLOCK_DEVICE
int avpriv_io_delete(const char *url)
int avpriv_io_move(const char *url_src, const char *url_dst)
int64_t avio_seek(AVIOContext *s, int64_t offset, int whence)
unsigned int avio_rb16(AVIOContext *s)
unsigned char * checksum_ptr
int avio_printf(AVIOContext *s, const char *fmt,...) av_printf_format(2
int avio_put_str16be(AVIOContext *s, const char *str)
@ AVIO_DATA_MARKER_HEADER
struct AVDictionary AVDictionary
int avio_read(AVIOContext *s, unsigned char *buf, int size)
int avio_open(AVIOContext **s, const char *url, int flags)
int64_t avio_skip(AVIOContext *s, int64_t offset)
void avio_wb64(AVIOContext *s, uint64_t val)
struct AVIOInterruptCB AVIOInterruptCB
const char * avio_find_protocol_name(const char *url)
int(* read_packet)(void *opaque, uint8_t *buf, int buf_size)
int(* write_packet)(void *opaque, uint8_t *buf, int buf_size)
void avio_wb24(AVIOContext *s, unsigned int val)
int void avio_flush(AVIOContext *s)
int(* short_seek_get)(void *opaque)
uint64_t avio_rl64(AVIOContext *s)
int avio_put_str16le(AVIOContext *s, const char *str)
void avio_wb16(AVIOContext *s, unsigned int val)
void avio_wl24(AVIOContext *s, unsigned int val)
int avio_open_dir(AVIODirContext **s, const char *url, AVDictionary **options)
int avio_put_str(AVIOContext *s, const char *str)
int avio_read_partial(AVIOContext *s, unsigned char *buf, int size)
unsigned long(* update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size)
int avio_feof(AVIOContext *s)
@ AVIO_DATA_MARKER_FLUSH_POINT