avi.c File Reference

Go to the source code of this file.

Functions

static uint32_t getle32 (uint8_t *buf)
static uint32_t getbe32 (uint8_t *buf)
static void printhead (uint8_t *buf)
static uint32_t getsize (int fd)
static uint32_t getsize_buf (uint8_t *buf)
int check_riff (avi_context *ac, uint8_t *buf, int len)
static int new_idx_frame (avi_context *ac, uint32_t pos, uint32_t len, uint32_t fl, uint32_t id)
static void print_index (avi_context *ac, int num)
int avi_read_index (avi_context *ac, int fd)
int read_avi_header (avi_context *ac, int fd)
int get_avi_from_index (pes_in_t *p, int fd, avi_context *ac, void(*func)(pes_in_t *p), int insize)
void get_avi (pes_in_t *p, uint8_t *buf, int count, void(*func)(pes_in_t *p))

Function Documentation

static uint32_t getle32 ( uint8_t buf  )  [static]
static uint32_t getbe32 ( uint8_t buf  )  [static]

Definition at line 51 of file avi.c.

static void printhead ( uint8_t buf  )  [static]

Definition at line 56 of file avi.c.

static uint32_t getsize ( int  fd  )  [static]

Definition at line 61 of file avi.c.

Referenced by avi_read_index(), and read_avi_header().

static uint32_t getsize_buf ( uint8_t buf  )  [static]

Definition at line 70 of file avi.c.

Referenced by get_avi(), and get_avi_from_index().

int check_riff ( avi_context ac,
uint8_t buf,
int  len 
)

Definition at line 76 of file avi.c.

Referenced by check_stream_type(), and init_replex().

static int new_idx_frame ( avi_context ac,
uint32_t  pos,
uint32_t  len,
uint32_t  fl,
uint32_t  id 
) [static]

Definition at line 97 of file avi.c.

Referenced by avi_read_index().

static void print_index ( avi_context ac,
int  num 
) [static]

Definition at line 126 of file avi.c.

Referenced by get_avi_from_index().

int avi_read_index ( avi_context ac,
int  fd 
)

Definition at line 135 of file avi.c.

Referenced by init_replex().

int read_avi_header ( avi_context ac,
int  fd 
)

Definition at line 208 of file avi.c.

Referenced by init_replex().

int get_avi_from_index ( pes_in_t p,
int  fd,
avi_context ac,
void(*)(pes_in_t *p func,
int  insize 
)

Definition at line 412 of file avi.c.

Referenced by replex_fill_buffers().

void get_avi ( pes_in_t p,
uint8_t buf,
int  count,
void(*)(pes_in_t *p func 
)

Definition at line 508 of file avi.c.

Referenced by get_avi(), and replex_fill_buffers().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Wed May 23 06:41:50 2012 for MythTV by  doxygen 1.6.3