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

Go to the source code of this file.

Data Structures

struct  Track
 
struct  Tracks
 

Functions

static int usage (const char *argv0, int ret)
 
static void set_codec_str (AVCodecContext *codec, char *str, int size)
 
static int find_sidx (struct Tracks *tracks, int start_index, const char *file)
 
static int handle_file (struct Tracks *tracks, const char *file)
 
static void write_time (FILE *out, int64_t time, int decimals, enum AVRounding round)
 
static int output_mpd (struct Tracks *tracks, const char *filename)
 
static void clean_tracks (struct Tracks *tracks)
 
int main (int argc, char **argv)
 

Function Documentation

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

Definition at line 29 of file sidxindex.c.

Referenced by main().

static void set_codec_str ( AVCodecContext codec,
char *  str,
int  size 
)
static

Definition at line 55 of file sidxindex.c.

Referenced by handle_file().

static int find_sidx ( struct Tracks tracks,
int  start_index,
const char *  file 
)
static

Definition at line 77 of file sidxindex.c.

Referenced by handle_file().

static int handle_file ( struct Tracks tracks,
const char *  file 
)
static

Definition at line 116 of file sidxindex.c.

Referenced by main().

static void write_time ( FILE *  out,
int64_t  time,
int  decimals,
enum AVRounding  round 
)
static

Definition at line 215 of file sidxindex.c.

Referenced by output_mpd().

static int output_mpd ( struct Tracks tracks,
const char *  filename 
)
static

Definition at line 232 of file sidxindex.c.

Referenced by main().

static void clean_tracks ( struct Tracks tracks)
static

Definition at line 349 of file sidxindex.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 359 of file sidxindex.c.