ByteIOContext Struct Reference

#include <avio.h>

List of all members.


Detailed Description

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

Member Data Documentation

unsigned char* ByteIOContext::buffer

unsigned char* ByteIOContext::buf_ptr

unsigned char * ByteIOContext::buf_end

int(* ByteIOContext::read_packet)(void *opaque, uint8_t *buf, int buf_size)

int(* ByteIOContext::write_packet)(void *opaque, uint8_t *buf, int buf_size)

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 open for writing

Definition at line 122 of file avio.h.

Referenced by AvFormatDecoder::InitByteContext(), url_fseek(), url_resetbuf(), and url_setbufsize().

unsigned long ByteIOContext::checksum

Definition at line 125 of file avio.h.

Referenced by fill_buffer(), flush_buffer(), get_checksum(), and init_checksum().

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)

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().


The documentation for this struct was generated from the following file:

Generated on Sat Dec 18 05:16:00 2010 for MythTV by  doxygen 1.5.5