FFmpeg
|
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 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 152 of file f_select.c.
#define DEFINE_OPTIONS | ( | filt_name, | |
FLAGS | |||
) |
Definition at line 153 of file f_select.c.
#define INTERLACE_TYPE_P 0 |
Definition at line 191 of file f_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_T 1 |
Definition at line 192 of file f_select.c.
Referenced by config_input(), and select_frame().
#define INTERLACE_TYPE_B 2 |
Definition at line 193 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 281 of file f_select.c.
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 282 of file f_select.c.
Referenced by select_frame().
enum var_name |
Definition at line 88 of file f_select.c.
|
static |
Definition at line 380 of file f_select.c.
Referenced by init().
|
static |
Definition at line 164 of file f_select.c.
|
static |
Definition at line 195 of file f_select.c.
|
static |
Definition at line 245 of file f_select.c.
Referenced by select_frame().
|
static |
Definition at line 284 of file f_select.c.
Referenced by filter_frame().
|
static |
Definition at line 367 of file f_select.c.
|
static |
Definition at line 396 of file f_select.c.
|
static |
Definition at line 412 of file f_select.c.
|
static |
Definition at line 38 of file f_select.c.
Referenced by init().