|
FFmpeg
|
A filter pad used for either input or output. More...
#include <filters.h>
Data Fields | |
| const char * | name |
| Pad name. More... | |
| enum AVCodecID * | codec_ids |
| A list of codec ids supported by the pad, terminated by AV_CODEC_ID_NONE. More... | |
| int | flags |
| A combination of FF_BSF_PAD_FLAG_* flags. More... | |
| int(* | filter )(AVBitStreamFilterLink *link, AVPacket *pkt) |
| Filtering callback. More... | |
| int(* | request_packet )(AVBitStreamFilterLink *link) |
| Packet request callback. More... | |
| int(* | config_props )(AVBitStreamFilterLink *link) |
| Link configuration callback. More... | |
| const char* AVBitStreamFilterPad::name |
Pad name.
The name is unique among inputs and among outputs, but an input may have the same name as an output. This may be NULL if this pad has no need to ever be referenced by name.
Definition at line 41 of file filters.h.
Referenced by av_bsf_pad_get_name(), and graph_check_validity().
| enum AVCodecID* AVBitStreamFilterPad::codec_ids |
A list of codec ids supported by the pad, terminated by AV_CODEC_ID_NONE.
May be NULL, in that case the pad works with any codec id.
Definition at line 48 of file filters.h.
Referenced by av_bsf_pad_get_codec_ids().
| int AVBitStreamFilterPad::flags |
| int(* AVBitStreamFilterPad::filter) (AVBitStreamFilterLink *link, AVPacket *pkt) |
Filtering callback.
This is where a filter receives a packet with audio/video data and should do its processing.
Input pads only.
| int(* AVBitStreamFilterPad::request_packet) (AVBitStreamFilterLink *link) |
| int(* AVBitStreamFilterPad::config_props) (AVBitStreamFilterLink *link) |
Link configuration callback.
For output pads, this should set the link properties such as width/height.
For input pads, this should check the properties of the link, and update the filter's internal state as necessary.
For both input and output filters, this should return zero on success, and another value on error.
1.8.17