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 437 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 446 of file avfilter.h.


Field Documentation

unsigned int AVFilterLink::dstpad

index of the input pad on the dest filter

Definition at line 443 of file avfilter.h.

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

agreed upon image colorspace

Definition at line 454 of file avfilter.h.

Referenced by avfilter_default_get_video_buffer(), avfilter_draw_slice(), avfilter_link(), and pick_format().

agreed upon image height

Definition at line 453 of file avfilter.h.

Referenced by avfilter_default_config_output_link(), and avfilter_default_get_video_buffer().

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 461 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().

Definition at line 474 of file avfilter.h.

Referenced by avfilter_default_end_frame(), and avfilter_default_start_frame().

unsigned int AVFilterLink::srcpad

index of the output pad on the source filter

Definition at line 440 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 471 of file avfilter.h.

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

agreed upon image width

Definition at line 452 of file avfilter.h.

Referenced by avfilter_default_config_output_link(), and avfilter_default_get_video_buffer().


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

Generated on Fri Oct 26 02:35:47 2012 for FFmpeg by  doxygen 1.5.8