FFmpeg
4.0
|
filter for selecting which frame passes in the filterchain More...
#include "libavutil/avstring.h"
#include "libavutil/eval.h"
#include "libavutil/fifo.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixelutils.h"
#include "avfilter.h"
#include "audio.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | SelectContext |
Macros | |
#define | OFFSET(x) offsetof(SelectContext, x) |
#define | DEFINE_OPTIONS(filt_name, FLAGS) |
#define | INTERLACE_TYPE_P 0 |
#define | INTERLACE_TYPE_T 1 |
#define | INTERLACE_TYPE_B 2 |
#define | D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
#define | TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Functions | |
static int | request_frame (AVFilterLink *outlink) |
static av_cold int | init (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static double | get_scene_score (AVFilterContext *ctx, AVFrame *frame) |
static double | get_concatdec_select (AVFrame *frame, int64_t pts) |
static void | select_frame (AVFilterContext *ctx, AVFrame *frame) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
Variables | |
static const char *const | var_names [] |
filter for selecting which frame passes in the filterchain
Definition in file f_select.c.
#define OFFSET | ( | x | ) | offsetof(SelectContext, x) |
Definition at line 156 of file f_select.c.
#define DEFINE_OPTIONS | ( | filt_name, | |
FLAGS | |||
) |
Definition at line 157 of file f_select.c.
Referenced by query_formats().
#define INTERLACE_TYPE_P 0 |
Definition at line 198 of file f_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_T 1 |
Definition at line 199 of file f_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_B 2 |
Definition at line 200 of file f_select.c.
Referenced by config_input(), and select_frame().
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 310 of file f_select.c.
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 311 of file f_select.c.
Referenced by select_frame().
enum var_name |
Definition at line 90 of file f_select.c.
|
static |
Definition at line 410 of file f_select.c.
Referenced by init().
|
static |
Definition at line 168 of file f_select.c.
Referenced by query_formats().
|
static |
Definition at line 202 of file f_select.c.
Referenced by query_formats().
|
static |
Definition at line 252 of file f_select.c.
Referenced by select_frame().
|
static |
Definition at line 288 of file f_select.c.
Referenced by select_frame().
|
static |
Definition at line 313 of file f_select.c.
Referenced by filter_frame().
|
static |
Definition at line 397 of file f_select.c.
Referenced by query_formats().
|
static |
Definition at line 417 of file f_select.c.
Referenced by query_formats().
|
static |
Definition at line 433 of file f_select.c.
|
static |
Definition at line 38 of file f_select.c.
Referenced by init().