xine-lib 1.2.13-20230125hg15249
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)
 
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 )