xine-lib 1.2.11
Macros | Functions
rmff.c File Reference
#include <xine/xineutils.h>
#include "bswap.h"
#include "rmff.h"

Macros

#define LOG_MODULE   "rmff"
 
#define LOG_VERBOSE
 

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, 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, uint8_t *data)
 
static rmff_fileheader_trmff_scan_fileheader (const char *data)
 
static rmff_prop_trmff_scan_prop (const char *data)
 
static rmff_mdpr_trmff_scan_mdpr (const char *data)
 
static rmff_cont_trmff_scan_cont (const char *data)
 
static rmff_data_trmff_scan_dataheader (const char *data)
 
rmff_header_trmff_scan_header (const 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_fix_header (rmff_header_t *h)
 

Macro Definition Documentation

◆ LOG_MODULE

#define LOG_MODULE   "rmff"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ rmff_dump_cont()

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

◆ rmff_dump_dataheader()

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

◆ rmff_dump_fileheader()

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

◆ rmff_dump_header()

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

◆ rmff_dump_mdpr()

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

◆ rmff_dump_pheader()

void rmff_dump_pheader ( rmff_pheader_t h,
uint8_t *  data 
)

◆ rmff_dump_prop()

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

◆ rmff_fix_header()

void rmff_fix_header ( rmff_header_t h)

◆ rmff_new_cont()

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

◆ rmff_new_dataheader()

rmff_data_t * rmff_new_dataheader ( uint32_t  num_packets,
uint32_t  next_data_header 
)

◆ rmff_new_fileheader()

rmff_fileheader_t * rmff_new_fileheader ( uint32_t  num_headers)

◆ rmff_new_mdpr()

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

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 
)

◆ rmff_scan_cont()

static rmff_cont_t * rmff_scan_cont ( const char *  data)
static

◆ rmff_scan_dataheader()

static rmff_data_t * rmff_scan_dataheader ( const char *  data)
static

◆ rmff_scan_fileheader()

static rmff_fileheader_t * rmff_scan_fileheader ( const char *  data)
static

◆ rmff_scan_header()

rmff_header_t * rmff_scan_header ( const char *  data)

◆ rmff_scan_mdpr()

static rmff_mdpr_t * rmff_scan_mdpr ( const char *  data)
static

◆ rmff_scan_prop()

static rmff_prop_t * rmff_scan_prop ( const char *  data)
static