|
FFmpeg
|
Video black detector, loosely based on blackframe with extended syntax and features. More...
#include <float.h>#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/timestamp.h"#include "avfilter.h"#include "filters.h"#include "formats.h"#include "video.h"#include "vf_blackdetect.h"Go to the source code of this file.
Data Structures | |
| struct | BlackDetectContext |
Macros | |
| #define | OFFSET(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 |
| #define | YUVA_FORMATS |
Functions | |
| AVFILTER_DEFINE_CLASS (blackdetect) | |
| static int | query_format (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
| 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 enum AVPixelFormat | yuva_formats [] |
| static enum AVPixelFormat | yuv_formats [] |
| static const AVFilterPad | blackdetect_inputs [] |
| const FFFilter | ff_vf_blackdetect |
Video black detector, loosely based on blackframe with extended syntax and features.
Definition in file vf_blackdetect.c.
| #define OFFSET | ( | x | ) |
Definition at line 61 of file vf_blackdetect.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 62 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 77 of file vf_blackdetect.c.
| #define YUVA_FORMATS |
Definition at line 80 of file vf_blackdetect.c.
| AVFILTER_DEFINE_CLASS | ( | blackdetect | ) |
|
static |
Definition at line 113 of file vf_blackdetect.c.
|
static |
Definition at line 127 of file vf_blackdetect.c.
|
static |
Definition at line 150 of file vf_blackdetect.c.
Referenced by filter_frame(), and uninit().
|
static |
Definition at line 163 of file vf_blackdetect.c.
Referenced by filter_frame().
|
static |
Definition at line 181 of file vf_blackdetect.c.
|
static |
Definition at line 233 of file vf_blackdetect.c.
|
static |
Definition at line 64 of file vf_blackdetect.c.
|
static |
|
static |
Definition at line 90 of file vf_blackdetect.c.
Referenced by query_format().
|
static |
Definition at line 94 of file vf_blackdetect.c.
Referenced by query_format().
|
static |
Definition at line 246 of file vf_blackdetect.c.
| const FFFilter ff_vf_blackdetect |
Definition at line 255 of file vf_blackdetect.c.