FFmpeg
|
#include <float.h>
#include "libavutil/opt.h"
#include "libavutil/pixdesc.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 | black_counter (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *picref) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | blackdetect_options [] |
static enum AVPixelFormat | yuvj_formats [] |
static const AVFilterPad | blackdetect_inputs [] |
static const AVFilterPad | blackdetect_outputs [] |
AVFilter | ff_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 54 of file vf_blackdetect.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 55 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 69 of file vf_blackdetect.c.
AVFILTER_DEFINE_CLASS | ( | blackdetect | ) |
|
static |
Definition at line 76 of file vf_blackdetect.c.
|
static |
Definition at line 107 of file vf_blackdetect.c.
|
static |
Definition at line 137 of file vf_blackdetect.c.
Referenced by filter_frame(), and uninit().
|
static |
Definition at line 150 of file vf_blackdetect.c.
Referenced by filter_frame().
|
static |
Definition at line 188 of file vf_blackdetect.c.
|
static |
Definition at line 230 of file vf_blackdetect.c.
|
static |
Definition at line 57 of file vf_blackdetect.c.
|
static |
Definition at line 72 of file vf_blackdetect.c.
Referenced by config_input().
|
static |
Definition at line 243 of file vf_blackdetect.c.
|
static |
Definition at line 253 of file vf_blackdetect.c.
AVFilter ff_vf_blackdetect |
Definition at line 261 of file vf_blackdetect.c.