AVFilterLink Struct Reference

A link between two filters. More...

#include <avfilter.h>


Public Types

enum  { AVLINK_UNINIT = 0, AVLINK_STARTINIT, AVLINK_INIT }
 stage of the initialization of the link properties (dimensions, etc) More...

Data Fields

AVFilterContextsrc
 source filter
unsigned int srcpad
 index of the output pad on the source filter
AVFilterContextdst
 dest filter
unsigned int dstpad
 index of the input pad on the dest filter
enum AVFilterLink:: { ... }  init_state
 stage of the initialization of the link properties (dimensions, etc)
int w
 agreed upon image width
int h
 agreed upon image height
enum PixelFormat format
 agreed upon image colorspace
AVFilterFormatsin_formats
 Lists of formats supported by the input and output filters respectively.
AVFilterFormatsout_formats
AVFilterPicRefsrcpic
 The picture reference currently being sent across the link by the source filter.
AVFilterPicRefcur_pic
AVFilterPicRefoutpic


Detailed Description

A link between two filters.

This contains pointers to the source and destination filters between which this link exists, and the indexes of the pads involved. In addition, this link also contains the parameters which have been negotiated and agreed upon between the filter, such as image dimensions, format, etc.

Definition at line 483 of file avfilter.h.


Member Enumeration Documentation

anonymous enum

stage of the initialization of the link properties (dimensions, etc)

Enumerator:
AVLINK_UNINIT  not started
AVLINK_STARTINIT  started, but incomplete
AVLINK_INIT  complete

Definition at line 492 of file avfilter.h.


Field Documentation

unsigned int AVFilterLink::dstpad

index of the input pad on the dest filter

Definition at line 489 of file avfilter.h.

Referenced by avfilter_destroy(), avfilter_insert_filter(), and avfilter_link().

Lists of formats supported by the input and output filters respectively.

These lists are used for negotiating the format to actually be used, which will be loaded into the format member, above, when chosen.

Definition at line 507 of file avfilter.h.

Referenced by avfilter_set_common_formats(), pick_format(), and query_formats().

stage of the initialization of the link properties (dimensions, etc)

Referenced by avfilter_config_links().

unsigned int AVFilterLink::srcpad

index of the output pad on the source filter

Definition at line 486 of file avfilter.h.

Referenced by avfilter_destroy(), and avfilter_link().

The picture reference currently being sent across the link by the source filter.

This is used internally by the filter system to allow automatic copying of pictures which do not have sufficient permissions for the destination. This should not be accessed directly by the filters.

Definition at line 517 of file avfilter.h.

Referenced by avfilter_draw_slice(), avfilter_end_frame(), and avfilter_start_frame().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 26 02:36:56 2012 for FFmpeg by  doxygen 1.5.8