#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(ByteIOContext) must not be used outside libav*.
Definition at line 269 of file avio.h.
unsigned char * ByteIOContext::buf_end |
Definition at line 272 of file avio.h.
Referenced by av_url_read_fseek(), ff_rewind_with_probe_data(), fill_buffer(), get_buffer(), get_byte(), get_partial_buffer(), init_packetizer(), init_put_byte(), put_buffer(), put_byte(), url_fgetc(), url_fseek(), and url_resetbuf().
unsigned char* ByteIOContext::buf_ptr |
Definition at line 272 of file avio.h.
Referenced by asf_write_trailer(), av_url_read_fseek(), ff_rewind_with_probe_data(), fill_buffer(), flush_buffer(), get_buffer(), get_byte(), get_checksum(), get_partial_buffer(), init_checksum(), init_put_byte(), 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(), put_buffer(), put_byte(), rv10_write_header(), url_fgetc(), url_fseek(), and url_setbufsize().
unsigned char* ByteIOContext::buffer |
Definition at line 270 of file avio.h.
Referenced by asf_write_trailer(), ff_rewind_with_probe_data(), fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), url_fclose(), url_fseek(), url_resetbuf(), and url_setbufsize().
Definition at line 271 of file avio.h.
Referenced by ff_gen_syncpoint_search(), ff_rewind_with_probe_data(), fill_buffer(), get_buffer(), init_put_byte(), url_resetbuf(), and url_setbufsize().
unsigned long ByteIOContext::checksum |
Definition at line 283 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
unsigned char* ByteIOContext::checksum_ptr |
Definition at line 284 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
true if eof reached
Definition at line 279 of file avio.h.
Referenced by asfrtp_parse_packet(), decode_thread(), ff_rewind_with_probe_data(), fill_buffer(), get_buffer(), init_put_byte(), url_feof(), and url_fseek().
contains the error code or 0 if no error happened
Definition at line 286 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), and url_ferror().
Definition at line 281 of file avio.h.
Referenced by http_prepare_data(), http_receive_data(), init_put_byte(), url_fseek(), and url_is_streamed().
Definition at line 282 of file avio.h.
Referenced by fill_buffer(), init_put_byte(), and url_fget_max_packet_size().
true if the next seek should flush
Definition at line 278 of file avio.h.
Referenced by ff_rewind_with_probe_data(), init_put_byte(), put_flush_packet(), and url_fseek().
void* ByteIOContext::opaque |
Definition at line 273 of file avio.h.
Referenced by av_url_read_fpause(), av_url_read_fseek(), fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), url_fclose(), url_fileno(), url_fseek(), url_fsize(), and url_resetbuf().
int64_t ByteIOContext::pos |
position in the file of the current buffer
Definition at line 277 of file avio.h.
Referenced by asfrtp_parse_packet(), av_url_read_fseek(), ff_rewind_with_probe_data(), ffm_read_packet(), fill_buffer(), flush_buffer(), get_buffer(), init_packetizer(), init_put_byte(), url_fseek(), and url_fsize().
int(* ByteIOContext::read_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by fill_buffer(), get_buffer(), and init_put_byte().
int(* ByteIOContext::read_pause)(void *opaque, int pause) |
Referenced by av_url_read_fpause(), and init_put_byte().
int64_t(* ByteIOContext::read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags) |
Referenced by av_url_read_fseek(), and init_put_byte().
int64_t(* ByteIOContext::seek)(void *opaque, int64_t offset, int whence) |
Referenced by av_url_read_fseek(), init_put_byte(), nut_read_header(), url_fseek(), and url_fsize().
unsigned long(* ByteIOContext::update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size) |
Referenced by fill_buffer(), flush_buffer(), get_buffer(), get_checksum(), init_checksum(), and init_put_byte().
true if open for writing
Definition at line 280 of file avio.h.
Referenced by ff_rewind_with_probe_data(), url_fseek(), url_resetbuf(), and url_setbufsize().
int(* ByteIOContext::write_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by flush_buffer(), and init_put_byte().