FFmpeg
Macros | Functions | Variables
probetest.c File Reference
#include <stdlib.h>
#include "libavformat/avformat.h"
#include "libavformat/demux.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

◆ MAX_FORMATS

#define MAX_FORMATS   1000

Definition at line 29 of file probetest.c.

◆ AV_READ_TIME

#define AV_READ_TIME (   x)    0

Definition at line 36 of file probetest.c.

Function Documentation

◆ probe()

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

Definition at line 39 of file probetest.c.

Referenced by main().

◆ print_times()

static void print_times ( void  )
static

Definition at line 67 of file probetest.c.

Referenced by main().

◆ read_int()

static int read_int ( char *  arg)
static

Definition at line 84 of file probetest.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 95 of file probetest.c.

Variable Documentation

◆ score_array

int score_array[MAX_FORMATS]
static

Definition at line 30 of file probetest.c.

Referenced by probe().

◆ time_array

int64_t time_array[MAX_FORMATS]
static

Definition at line 31 of file probetest.c.

Referenced by print_times(), and probe().

◆ failures

int failures = 0
static

Definition at line 32 of file probetest.c.

Referenced by main(), and probe().

◆ single_format

const char* single_format
static

Definition at line 33 of file probetest.c.

Referenced by main(), and probe().