FFmpeg
|
Video black detector, loosely based on blackframe with extended syntax and features. More...
#include <float.h>
#include "libavutil/opt.h"
#include "libavutil/timestamp.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | BlackDetectContext |
Macros | |
#define | OFFSET(x) offsetof(BlackDetectContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | YUVJ_FORMATS AV_PIX_FMT_YUVJ411P, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P |
Functions | |
AVFILTER_DEFINE_CLASS (blackdetect) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | check_black_end (AVFilterContext *ctx) |
static int | request_frame (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
Variables | |
static const AVOption | blackdetect_options [] |
static enum AVPixelFormat | yuvj_formats [] |
static const AVFilterPad | blackdetect_inputs [] |
static const AVFilterPad | blackdetect_outputs [] |
AVFilter | avfilter_vf_blackdetect |
Video black detector, loosely based on blackframe with extended syntax and features.
Definition in file vf_blackdetect.c.
#define OFFSET | ( | x | ) | offsetof(BlackDetectContext, x) |
Definition at line 49 of file vf_blackdetect.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 50 of file vf_blackdetect.c.
#define YUVJ_FORMATS AV_PIX_FMT_YUVJ411P, AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P |
Definition at line 64 of file vf_blackdetect.c.
Referenced by query_formats().
AVFILTER_DEFINE_CLASS | ( | blackdetect | ) |
|
static |
Definition at line 71 of file vf_blackdetect.c.
|
static |
Definition at line 87 of file vf_blackdetect.c.
|
static |
Definition at line 108 of file vf_blackdetect.c.
Referenced by filter_frame(), and request_frame().
|
static |
Definition at line 122 of file vf_blackdetect.c.
|
static |
Definition at line 137 of file vf_blackdetect.c.
|
static |
Definition at line 52 of file vf_blackdetect.c.
|
static |
Definition at line 67 of file vf_blackdetect.c.
Referenced by config_input().
|
static |
Definition at line 177 of file vf_blackdetect.c.
|
static |
Definition at line 188 of file vf_blackdetect.c.
AVFilter avfilter_vf_blackdetect |
Definition at line 197 of file vf_blackdetect.c.