FFmpeg
Classes | Macros | Typedefs | Functions | Variables
vf_blackdetect.c File Reference

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"

Classes

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
 

Typedefs

typedef struct BlackDetectContext BlackDetectContext
 

Functions

 AVFILTER_DEFINE_CLASS (blackdetect)
 

Variables

AVFilter ff_vf_blackdetect
 

Detailed Description

Video black detector, loosely based on blackframe with extended syntax and features.

Variable Documentation

§ ff_vf_blackdetect

AVFilter ff_vf_blackdetect
Initial value:
= {
.name = "blackdetect",
.description = NULL_IF_CONFIG_SMALL("Detect video intervals that are (almost) black."),
.priv_size = sizeof(BlackDetectContext),
.query_formats = query_formats,
.inputs = blackdetect_inputs,
.outputs = blackdetect_outputs,
.priv_class = &blackdetect_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: vf_blackdetect.c:33