FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
ismindex.c File Reference
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include "cmdutils.h"
#include "libavformat/avformat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"

Go to the source code of this file.

Data Structures

struct  MoofOffset
 
struct  VideoFile
 
struct  VideoFiles
 

Functions

static int usage (const char *argv0, int ret)
 
static int copy_tag (AVIOContext *in, AVIOContext *out, int32_t tag_name)
 
static int write_fragment (const char *filename, AVIOContext *in)
 
static int write_fragments (struct VideoFiles *files, int start_index, AVIOContext *in)
 
static int read_tfra (struct VideoFiles *files, int start_index, AVIOContext *f)
 
static int read_mfra (struct VideoFiles *files, int start_index, const char *file, int split)
 
static int get_private_data (struct VideoFile *vf, AVCodecContext *codec)
 
static int get_video_private_data (struct VideoFile *vf, AVCodecContext *codec)
 
static int handle_file (struct VideoFiles *files, const char *file, int split)
 
static void output_server_manifest (struct VideoFiles *files, const char *basename)
 
static void output_client_manifest (struct VideoFiles *files, const char *basename, int split)
 
static void clean_files (struct VideoFiles *files)
 
int main (int argc, char **argv)
 

Function Documentation

static int usage ( const char *  argv0,
int  ret 
)
static

Definition at line 49 of file ismindex.c.

Referenced by main().

static int copy_tag ( AVIOContext in,
AVIOContext out,
int32_t  tag_name 
)
static

Definition at line 87 of file ismindex.c.

Referenced by write_fragment(), and yop_copy_previous_block().

static int write_fragment ( const char *  filename,
AVIOContext in 
)
static

Definition at line 109 of file ismindex.c.

Referenced by write_fragments().

static int write_fragments ( struct VideoFiles files,
int  start_index,
AVIOContext in 
)
static

Definition at line 125 of file ismindex.c.

Referenced by read_mfra().

static int read_tfra ( struct VideoFiles files,
int  start_index,
AVIOContext f 
)
static

Definition at line 146 of file ismindex.c.

Referenced by read_mfra().

static int read_mfra ( struct VideoFiles files,
int  start_index,
const char *  file,
int  split 
)
static

Definition at line 202 of file ismindex.c.

Referenced by handle_file().

static int get_private_data ( struct VideoFile vf,
AVCodecContext codec 
)
static

Definition at line 237 of file ismindex.c.

Referenced by get_video_private_data(), and handle_file().

static int get_video_private_data ( struct VideoFile vf,
AVCodecContext codec 
)
static

Definition at line 247 of file ismindex.c.

Referenced by handle_file().

static int handle_file ( struct VideoFiles files,
const char *  file,
int  split 
)
static

Definition at line 279 of file ismindex.c.

Referenced by main().

static void output_server_manifest ( struct VideoFiles files,
const char *  basename 
)
static

Definition at line 377 of file ismindex.c.

Referenced by main().

static void output_client_manifest ( struct VideoFiles files,
const char *  basename,
int  split 
)
static

Definition at line 413 of file ismindex.c.

Referenced by main().

static void clean_files ( struct VideoFiles files)
static

Definition at line 516 of file ismindex.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 528 of file ismindex.c.