FFmpeg
|
Search for black frames to detect scene transitions. More...
#include <stdio.h>
#include <inttypes.h>
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | BlackFrameContext |
Macros | |
#define | SET_META(key, format, value) |
#define | OFFSET(x) offsetof(BlackFrameContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *frame) |
AVFILTER_DEFINE_CLASS (blackframe) | |
Variables | |
static const AVOption | blackframe_options [] |
static const AVFilterPad | avfilter_vf_blackframe_inputs [] |
static const AVFilterPad | avfilter_vf_blackframe_outputs [] |
AVFilter | ff_vf_blackframe |
Search for black frames to detect scene transitions.
Ported from MPlayer libmpcodecs/vf_blackframe.c.
Definition in file vf_blackframe.c.
Definition at line 63 of file vf_blackframe.c.
Referenced by filter_frame().
#define OFFSET | ( | x | ) | offsetof(BlackFrameContext, x) |
Definition at line 104 of file vf_blackframe.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 105 of file vf_blackframe.c.
|
static |
Definition at line 49 of file vf_blackframe.c.
|
static |
Definition at line 67 of file vf_blackframe.c.
AVFILTER_DEFINE_CLASS | ( | blackframe | ) |
|
static |
Definition at line 106 of file vf_blackframe.c.
|
static |
Definition at line 118 of file vf_blackframe.c.
|
static |
Definition at line 127 of file vf_blackframe.c.
AVFilter ff_vf_blackframe |
Definition at line 135 of file vf_blackframe.c.