filter for selecting which frame passes in the filterchain More...
Go to the source code of this file.
filter for selecting which frame passes in the filterchain
Definition in file vf_select.c.
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 165 of file vf_select.c.
#define FIFO_SIZE 8 |
Definition at line 104 of file vf_select.c.
Referenced by init().
#define INTERLACE_TYPE_B 2 |
Definition at line 135 of file vf_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_P 0 |
Definition at line 133 of file vf_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_T 1 |
Definition at line 134 of file vf_select.c.
Referenced by config_input(), and select_frame().
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 166 of file vf_select.c.
Referenced by select_frame().
enum var_name |
Definition at line 67 of file vf_select.c.
static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 137 of file vf_select.c.
static void draw_slice | ( | AVFilterLink * | inlink, |
int | y, | ||
int | h, | ||
int | slice_dir | ||
) | [static] |
Definition at line 235 of file vf_select.c.
static void end_frame | ( | AVFilterLink * | inlink | ) | [static] |
Definition at line 243 of file vf_select.c.
static av_cold int init | ( | AVFilterContext * | ctx, |
const char * | args, | ||
void * | opaque | ||
) | [static] |
Definition at line 114 of file vf_select.c.
static int poll_frame | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 282 of file vf_select.c.
static int request_frame | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 256 of file vf_select.c.
static int select_frame | ( | AVFilterContext * | ctx, |
AVFilterBufferRef * | picref | ||
) | [static] |
Definition at line 168 of file vf_select.c.
Referenced by start_frame().
static void start_frame | ( | AVFilterLink * | inlink, |
AVFilterBufferRef * | picref | ||
) | [static] |
Definition at line 215 of file vf_select.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 304 of file vf_select.c.
{ .name = "select", .description = NULL_IF_CONFIG_SMALL("Select frames to pass in output."), .init = init, .uninit = uninit, .priv_size = sizeof(SelectContext), .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .get_video_buffer = avfilter_null_get_video_buffer, .config_props = config_input, .start_frame = start_frame, .draw_slice = draw_slice, .end_frame = end_frame }, { .name = NULL }}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .poll_frame = poll_frame, .request_frame = request_frame, }, { .name = NULL}}, }
Definition at line 319 of file vf_select.c.
const char* const var_names[] [static] |
Definition at line 30 of file vf_select.c.
Referenced by init().