FFmpeg
|
a filter enforcing given constant framerate More...
#include <float.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/fifo.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "framequeue.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FPSContext |
Macros | |
#define | FF_INTERNAL_FIELDS 1 |
#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 void | flush_fifo (AVFifoBuffer *fifo) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *link) |
static int | request_frame (AVFilterLink *outlink) |
static int | write_to_fifo (AVFifoBuffer *fifo, AVFrame *buf) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
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 103 of file vf_fps.c.
Referenced by filter_frame(), and uninit().
|
static |
|
static |
|
static |
|
static |
Definition at line 201 of file vf_fps.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
AVFilter ff_vf_fps |