#include <avio.h>
Definition at line 111 of file avio.h.
Public Attributes | |
| 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) |
| offset_t(* | seek )(void *opaque, offset_t offset, int whence) |
| offset_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 | |
| unsigned char* ByteIOContext::buffer |
Definition at line 112 of file avio.h.
Referenced by asf_write_trailer(), av_open_input_stream(), AvFormatDecoder::CloseContext(), fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), AvFormatDecoder::SeekReset(), url_close_buf(), url_fclose(), url_fseek(), url_resetbuf(), and url_setbufsize().
Definition at line 113 of file avio.h.
Referenced by fill_buffer(), get_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), url_resetbuf(), and url_setbufsize().
| unsigned char* ByteIOContext::buf_ptr |
Definition at line 114 of file avio.h.
Referenced by ape_tag_read_field(), asf_write_trailer(), fill_buffer(), flush_buffer(), get_buffer(), get_byte(), get_checksum(), get_partial_buffer(), init_checksum(), init_put_byte(), AvFormatDecoder::InitByteContext(), put_buffer(), put_byte(), rv10_write_header(), AvFormatDecoder::SeekReset(), url_close_buf(), url_fgetc(), url_fseek(), and url_setbufsize().
| unsigned char * ByteIOContext::buf_end |
Definition at line 114 of file avio.h.
Referenced by fill_buffer(), get_buffer(), get_byte(), get_partial_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), put_buffer(), put_byte(), AvFormatDecoder::SeekReset(), url_fgetc(), url_fseek(), and url_resetbuf().
| void* ByteIOContext::opaque |
Definition at line 115 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), url_close_dyn_buf(), url_fclose(), url_fileno(), url_fseek(), url_fsize(), and url_resetbuf().
| int(* ByteIOContext::read_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by fill_buffer(), get_buffer(), init_put_byte(), and AvFormatDecoder::InitByteContext().
| int(* ByteIOContext::write_packet)(void *opaque, uint8_t *buf, int buf_size) |
Referenced by flush_buffer(), init_put_byte(), and AvFormatDecoder::InitByteContext().
| offset_t(* ByteIOContext::seek)(void *opaque, offset_t offset, int whence) |
Referenced by init_put_byte(), AvFormatDecoder::InitByteContext(), nut_read_header(), url_fseek(), and url_fsize().
position in the file of the current buffer
Definition at line 119 of file avio.h.
Referenced by ffm_read_packet(), fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), AvFormatDecoder::SeekReset(), url_fseek(), and url_fsize().
true if the next seek should flush
Definition at line 120 of file avio.h.
Referenced by init_put_byte(), AvFormatDecoder::InitByteContext(), put_flush_packet(), and url_fseek().
true if eof reached
Definition at line 121 of file avio.h.
Referenced by fill_buffer(), get_buffer(), init_put_byte(), AvFormatDecoder::InitByteContext(), AvFormatDecoder::SeekReset(), url_feof(), and url_fseek().
true if open for writing
Definition at line 122 of file avio.h.
Referenced by AvFormatDecoder::InitByteContext(), url_fseek(), url_resetbuf(), and url_setbufsize().
Definition at line 123 of file avio.h.
Referenced by av_estimate_timings(), init_put_byte(), AvFormatDecoder::InitByteContext(), ogg_get_length(), url_fdopen(), url_fseek(), and url_is_streamed().
Definition at line 124 of file avio.h.
Referenced by init_put_byte(), AvFormatDecoder::InitByteContext(), url_fdopen(), url_fget_max_packet_size(), and url_open_dyn_buf_internal().
| unsigned long ByteIOContext::checksum |
Definition at line 125 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
| unsigned char* ByteIOContext::checksum_ptr |
Definition at line 126 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().
| 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().
contains the error code or 0 if no error happened
Definition at line 128 of file avio.h.
Referenced by fill_buffer(), flush_buffer(), get_buffer(), init_put_byte(), and url_ferror().
1.5.5