doc/examples/filtering.c File Reference

API example for decoding and filtering. More...

#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/avfiltergraph.h>
#include <libavfilter/vsrc_buffer.h>

Go to the source code of this file.

Defines

#define _XOPEN_SOURCE   600

Functions

static int open_input_file (const char *filename)
static int init_filters (const char *filters_descr)
static void display_picref (AVFilterBufferRef *picref, AVRational time_base)
int main (int argc, char **argv)

Variables

const char * filter_descr = "scale=78:24"
static AVFormatContextfmt_ctx
static AVCodecContextdec_ctx
AVFilterContextbuffersink_ctx
AVFilterContextbuffersrc_ctx
AVFilterGraphfilter_graph
static int video_stream_index = -1
static int64_t last_pts = AV_NOPTS_VALUE


Detailed Description

API example for decoding and filtering.

Definition in file filtering.c.


Define Documentation

#define _XOPEN_SOURCE   600

Definition at line 29 of file filtering.c.


Function Documentation

static void display_picref ( AVFilterBufferRef picref,
AVRational  time_base 
) [static]

Definition at line 129 of file filtering.c.

Referenced by main().

static int init_filters ( const char *  filters_descr  )  [static]

Definition at line 79 of file filtering.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 160 of file filtering.c.

static int open_input_file ( const char *  filename  )  [static]

Definition at line 46 of file filtering.c.

Referenced by main(), and probe_file().


Variable Documentation

Definition at line 40 of file filtering.c.

Definition at line 41 of file filtering.c.

Definition at line 39 of file filtering.c.

Referenced by get_decoded_frame(), and show_stream().

const char* filter_descr = "scale=78:24"

Definition at line 36 of file filtering.c.

Referenced by init_filters(), and main().

Definition at line 42 of file filtering.c.

Definition at line 38 of file filtering.c.

Referenced by main(), open_input_file(), and probe_file().

int64_t last_pts = AV_NOPTS_VALUE [static]

Definition at line 44 of file filtering.c.

Referenced by display_picref(), and find_and_decode_index().

int video_stream_index = -1 [static]

Definition at line 43 of file filtering.c.

Referenced by main(), and open_input_file().


Generated on Fri Oct 26 02:46:06 2012 for FFmpeg by  doxygen 1.5.8