FFmpeg
|
#include <float.h>
#include <stdint.h>
#include "libavutil/avassert.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | FPSContext |
Macros | |
#define | OFFSET(x) offsetof(FPSContext, x) |
#define | V AV_OPT_FLAG_VIDEO_PARAM |
#define | F AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | EOFAction { EOF_ACTION_REPEAT, EOF_ACTION_ENDALL, EOF_ACTION_PASS, EOF_ACTION_ROUND, EOF_ACTION_PASS, EOF_ACTION_NB } |
Functions | |
AVFILTER_DEFINE_CLASS (fps) | |
static av_cold int | init (AVFilterContext *ctx) |
static AVFrame * | shift_frame (AVFilterContext *ctx, FPSContext *s) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *outlink) |
static int | read_frame (AVFilterContext *ctx, FPSContext *s, AVFilterLink *inlink, AVFilterLink *outlink) |
static int | write_frame (AVFilterContext *ctx, FPSContext *s, AVFilterLink *outlink, int *again) |
static void | update_eof_pts (AVFilterContext *ctx, FPSContext *s, AVFilterLink *inlink, AVFilterLink *outlink, int64_t status_pts) |
static int | activate (AVFilterContext *ctx) |
Variables | |
static const AVOption | fps_options [] |
static const AVFilterPad | avfilter_vf_fps_inputs [] |
static const AVFilterPad | avfilter_vf_fps_outputs [] |
AVFilter | ff_vf_fps |
a filter enforcing given constant framerate
Definition in file vf_fps.c.
#define OFFSET | ( | x | ) | offsetof(FPSContext, x) |
#define V AV_OPT_FLAG_VIDEO_PARAM |
#define F AV_OPT_FLAG_FILTERING_PARAM |
enum EOFAction |
AVFILTER_DEFINE_CLASS | ( | fps | ) |
|
static |
|
static |
Definition at line 107 of file vf_fps.c.
Referenced by uninit(), and write_frame().
|
static |
|
static |
|
static |
Definition at line 180 of file vf_fps.c.
Referenced by activate(), and compute_vmaf_score().
|
static |
Definition at line 213 of file vf_fps.c.
Referenced by activate().
|
static |
Definition at line 265 of file vf_fps.c.
Referenced by activate().
|
static |
|
static |
|
static |
|
static |
AVFilter ff_vf_fps |