real_rmff.c File Reference

Include dependency graph for real_rmff.c:


Defines

#define BE_16(x)   ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
#define BE_32(x)

Functions

static int rmff_dump_fileheader (rmff_fileheader_t *fileheader, uint8_t *buffer, int bufsize)
static int rmff_dump_prop (rmff_prop_t *prop, uint8_t *buffer, int bufsize)
static int rmff_dump_mdpr (rmff_mdpr_t *mdpr, uint8_t *buffer, unsigned int bufsize)
static int rmff_dump_cont (rmff_cont_t *cont, uint8_t *buffer, int bufsize)
static int rmff_dump_dataheader (rmff_data_t *data, uint8_t *buffer, int bufsize)
int rmff_dump_header (rmff_header_t *h, void *buf_gen, int max)
void rmff_dump_pheader (rmff_pheader_t *h, char *data)
rmff_fileheader_trmff_new_fileheader (uint32_t num_headers)
rmff_prop_trmff_new_prop (uint32_t max_bit_rate, uint32_t avg_bit_rate, uint32_t max_packet_size, uint32_t avg_packet_size, uint32_t num_packets, uint32_t duration, uint32_t preroll, uint32_t index_offset, uint32_t data_offset, uint16_t num_streams, uint16_t flags)
rmff_mdpr_trmff_new_mdpr (uint16_t stream_number, uint32_t max_bit_rate, uint32_t avg_bit_rate, uint32_t max_packet_size, uint32_t avg_packet_size, uint32_t start_time, uint32_t preroll, uint32_t duration, const char *stream_name, const char *mime_type, uint32_t type_specific_len, const char *type_specific_data)
rmff_cont_trmff_new_cont (const char *title, const char *author, const char *copyright, const char *comment)
rmff_data_trmff_new_dataheader (uint32_t num_packets, uint32_t next_data_header)
void rmff_print_header (rmff_header_t *h)
void rmff_fix_header (rmff_header_t *h)
int rmff_get_header_size (rmff_header_t *h)
void rmff_free_header (rmff_header_t *h)

Define Documentation

#define BE_16 (  )     ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])

#define BE_32 (  ) 

Value:

((((uint8_t*)(x))[0] << 24) | \
                   (((uint8_t*)(x))[1] << 16) | \
                   (((uint8_t*)(x))[2] << 8) | \
                    ((uint8_t*)(x))[3])


Function Documentation

static int rmff_dump_cont ( rmff_cont_t cont,
uint8_t *  buffer,
int  bufsize 
) [static]

static int rmff_dump_dataheader ( rmff_data_t data,
uint8_t *  buffer,
int  bufsize 
) [static]

static int rmff_dump_fileheader ( rmff_fileheader_t fileheader,
uint8_t *  buffer,
int  bufsize 
) [static]

int rmff_dump_header ( rmff_header_t h,
void *  buf_gen,
int  max 
)

static int rmff_dump_mdpr ( rmff_mdpr_t mdpr,
uint8_t *  buffer,
unsigned int  bufsize 
) [static]

void rmff_dump_pheader ( rmff_pheader_t h,
char *  data 
)

static int rmff_dump_prop ( rmff_prop_t prop,
uint8_t *  buffer,
int  bufsize 
) [static]

void rmff_fix_header ( rmff_header_t h  ) 

void rmff_free_header ( rmff_header_t h  ) 

int rmff_get_header_size ( rmff_header_t h  ) 

rmff_cont_t* rmff_new_cont ( const char *  title,
const char *  author,
const char *  copyright,
const char *  comment 
)

rmff_data_t* rmff_new_dataheader ( uint32_t  num_packets,
uint32_t  next_data_header 
)

rmff_fileheader_t* rmff_new_fileheader ( uint32_t  num_headers  ) 

rmff_mdpr_t* rmff_new_mdpr ( uint16_t  stream_number,
uint32_t  max_bit_rate,
uint32_t  avg_bit_rate,
uint32_t  max_packet_size,
uint32_t  avg_packet_size,
uint32_t  start_time,
uint32_t  preroll,
uint32_t  duration,
const char *  stream_name,
const char *  mime_type,
uint32_t  type_specific_len,
const char *  type_specific_data 
)

rmff_prop_t* rmff_new_prop ( uint32_t  max_bit_rate,
uint32_t  avg_bit_rate,
uint32_t  max_packet_size,
uint32_t  avg_packet_size,
uint32_t  num_packets,
uint32_t  duration,
uint32_t  preroll,
uint32_t  index_offset,
uint32_t  data_offset,
uint16_t  num_streams,
uint16_t  flags 
)

void rmff_print_header ( rmff_header_t h  ) 


Generated on Tue May 25 08:05:08 2010 for VLC by  doxygen 1.5.6