#include <avio.h>
Data Fields | |
unsigned char * | buffer |
int | buffer_size |
unsigned char * | buf_ptr |
unsigned char * | buf_end |
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) |
int64_t | pos |
position in the file of the current buffer | |
int | must_flush |
true if the next seek should flush | |
int | eof_reached |
true if eof reached | |
int | write_flag |
true if open for writing | |
int | is_streamed |
int | max_packet_size |
unsigned long | checksum |
unsigned char * | checksum_ptr |
unsigned long(* | update_checksum )(unsigned long checksum, const uint8_t *buf, unsigned int size) |
int | error |
contains the error code or 0 if no error happened | |
int(* | read_pause )(void *opaque, int pause) |
int64_t(* | read_seek )(void *opaque, int stream_index, int64_t timestamp, int flags) |
New fields can be added to the end with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVIOContext) must not be used outside libav*.
Definition at line 342 of file avio.h.
unsigned char* AVIOContext::buffer |
Definition at line 343 of file avio.h.
Referenced by asf_write_trailer(), avio_close(), avio_read(), avio_seek(), ffio_init_context(), ffio_rewind_with_probe_data(), fill_buffer(), flush_buffer(), url_resetbuf(), and url_setbufsize().
Definition at line 344 of file avio.h.
Referenced by avio_read(), ff_gen_syncpoint_search(), ffio_init_context(), ffio_rewind_with_probe_data(), fill_buffer(), url_resetbuf(), and url_setbufsize().
unsigned char* AVIOContext::buf_ptr |
Definition at line 345 of file avio.h.
Referenced by asf_write_trailer(), av_url_read_fseek(), avio_r8(), avio_read(), avio_seek(), avio_w8(), avio_write(), ffio_fill(), ffio_init_context(), ffio_read_partial(), ffio_rewind_with_probe_data(), fill_buffer(), flush_buffer(), get_checksum(), init_checksum(), mxf_write_content_storage(), mxf_write_identification(), mxf_write_multi_descriptor(), mxf_write_package(), mxf_write_preface(), mxf_write_sequence(), mxf_write_structural_component(), mxf_write_track(), read_gab2_sub(), rv10_write_header(), url_fgetc(), and url_setbufsize().
unsigned char * AVIOContext::buf_end |
Definition at line 345 of file avio.h.
Referenced by av_url_read_fseek(), avio_r8(), avio_read(), avio_seek(), avio_w8(), avio_write(), ffio_fill(), ffio_init_context(), ffio_read_partial(), ffio_rewind_with_probe_data(), fill_buffer(), init_packetizer(), read_gab2_sub(), url_fgetc(), and url_resetbuf().
void* AVIOContext::opaque |
Definition at line 346 of file avio.h.
Referenced by av_url_read_fpause(), av_url_read_fseek(), avio_close(), avio_read(), avio_seek(), avio_size(), ffio_init_context(), fill_buffer(), flush_buffer(), url_fileno(), and wtvfile_close().
int(* AVIOContext::read_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by avio_read(), ffio_init_context(), and fill_buffer().
int(* AVIOContext::write_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by ffio_init_context(), and flush_buffer().
int64_t(* AVIOContext::seek)(void *opaque, int64_t offset, int whence) |
Referenced by av_url_read_fseek(), avio_seek(), avio_size(), ffio_init_context(), and nut_read_header().
int64_t AVIOContext::pos |
position in the file of the current buffer
Definition at line 350 of file avio.h.
Referenced by asfrtp_parse_packet(), av_url_read_fseek(), avio_read(), avio_seek(), avio_size(), ffio_init_context(), ffio_rewind_with_probe_data(), ffm_read_packet(), fill_buffer(), flush_buffer(), and init_packetizer().
true if the next seek should flush
Definition at line 351 of file avio.h.
Referenced by avio_seek(), ffio_init_context(), ffio_rewind_with_probe_data(), and put_flush_packet().
true if eof reached
Definition at line 352 of file avio.h.
Referenced by asfrtp_parse_packet(), avio_read(), avio_seek(), decode_thread(), ffio_init_context(), ffio_rewind_with_probe_data(), fill_buffer(), and url_feof().
true if open for writing
Definition at line 353 of file avio.h.
Referenced by avio_seek(), ffio_rewind_with_probe_data(), url_resetbuf(), and url_setbufsize().
Definition at line 354 of file avio.h.
Referenced by avio_seek(), ffio_init_context(), http_prepare_data(), http_receive_data(), and url_is_streamed().
Definition at line 355 of file avio.h.
Referenced by ffio_init_context(), fill_buffer(), rtp_write_header(), and url_fget_max_packet_size().
unsigned long AVIOContext::checksum |
Definition at line 356 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
unsigned char* AVIOContext::checksum_ptr |
Definition at line 357 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
unsigned long(* AVIOContext::update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size) |
Referenced by avio_read(), ffio_init_context(), fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
contains the error code or 0 if no error happened
Definition at line 359 of file avio.h.
Referenced by avio_read(), ffio_init_context(), fill_buffer(), flush_buffer(), and url_ferror().
int(* AVIOContext::read_pause)(void *opaque, int pause) |
Referenced by av_url_read_fpause(), and ffio_init_context().
int64_t(* AVIOContext::read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags) |
Referenced by av_url_read_fseek(), and ffio_init_context().