stage of the initialization of the link properties (dimensions, etc)
Index in the age array.
< channel layout of current buffer (see libavutil/channel_layout.h)
Number of channels.
Current timestamp of the link, as defined by the most recent frame(s), in link time_base units.
Current timestamp of the link, as defined by the most recent frame(s), in AV_TIME_BASE units.
< dest filter
< input pad on the dest filter
Link processing flags.
< agreed upon media format
Number of past frames sent through the link.
A pointer to a FFFramePool struct.
Frame rate of the stream on the link, or 1/0 if unknown or variable; if left to 0/0, will be automatically copied from the first input of the source filter if it exists.
True if a frame is currently wanted on the output of this filter. Set when ff_request_frame() is called by the output, cleared when a frame is filtered.
Graph the filter belongs to.
< agreed upon image height
For hwaccel pixel formats, this should be a reference to the AVHWFramesContext describing the frames.
Lists of formats and channel layouts 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 and channel_layout members, above, when chosen.
Lists of channel layouts and sample rates used for automatic negotiation.
Maximum number of samples to filter at once. If filter_frame() is called with more samples, it will split them.
Minimum number of samples to filter at once. If filter_frame() is called with fewer samples, it will accumulate them in partial_buf. This field and the related ones must not be changed after filtering has started. If 0, all related fields are ignored.
Buffer partially filled with samples to achieve a fixed/minimum size.
Size of the partial buffer to allocate. Must be between min_samples and max_samples.
Audio only, the destination filter sets this to a non-zero value to request that buffers with the given number of samples should be sent to it. AVFilterPad.needs_fifo must also be set on the corresponding input pad. Last buffer before EOF will be padded with silence.
Internal structure members. The fields below this limit are internal for libavfilter's use and must in no way be accessed by applications.
< agreed upon sample aspect ratio
< samples per second
< source filter
< output pad on the source filter
Define the time base used by the PTS of the frames/samples which will pass through this link. During the configuration stage, each filter is supposed to change only the output timebase, while the timebase of the input link is assumed to be an unchangeable property.
< filter media type
< agreed upon image width
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.
Applications must not normally access the link structure directly. Use the buffersrc and buffersink API instead. In the future, access to the header may be reserved for filters implementation.