FFmpeg
Macros | Functions | Variables
probetest.c File Reference
#include <stdlib.h>
#include "libavformat/avformat.h"
#include "libavcodec/put_bits.h"
#include "libavutil/lfg.h"
#include "libavutil/timer.h"

Go to the source code of this file.

Macros

#define MAX_FORMATS   1000
 
#define AV_READ_TIME(x)   0
 

Functions

static void probe (AVProbeData *pd, int type, int p, int size)
 
static void print_times (void)
 
static int read_int (char *arg)
 
int main (int argc, char **argv)
 

Variables

static int score_array [MAX_FORMATS]
 
static int64_t time_array [MAX_FORMATS]
 
static int failures = 0
 
static const char * single_format
 

Macro Definition Documentation

#define MAX_FORMATS   1000

Definition at line 28 of file probetest.c.

#define AV_READ_TIME (   x)    0

Definition at line 35 of file probetest.c.

Referenced by main(), and probe().

Function Documentation

static void probe ( AVProbeData pd,
int  type,
int  p,
int  size 
)
static

Definition at line 38 of file probetest.c.

Referenced by main().

static void print_times ( void  )
static

Definition at line 66 of file probetest.c.

Referenced by main().

static int read_int ( char *  arg)
static

Definition at line 83 of file probetest.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 94 of file probetest.c.

Variable Documentation

int score_array[MAX_FORMATS]
static

Definition at line 29 of file probetest.c.

Referenced by probe().

int64_t time_array[MAX_FORMATS]
static

Definition at line 30 of file probetest.c.

Referenced by print_times(), and probe().

int failures = 0
static

Definition at line 31 of file probetest.c.

Referenced by main(), and probe().

const char* single_format
static

Definition at line 32 of file probetest.c.

Referenced by main(), and probe().