FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | HistogramContext |
Macros | |
#define | OFFSET(x) offsetof(HistogramContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Enumerations | |
enum | HistogramMode { MODE_LEVELS, MODE_WAVEFORM, MODE_COLOR, MODE_COLOR2, MODE_NB } |
Functions | |
AVFILTER_DEFINE_CLASS (histogram) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
Variables | |
static const AVOption | histogram_options [] |
static enum AVPixelFormat | color_pix_fmts [] |
static enum AVPixelFormat | levels_pix_fmts [] |
static const uint8_t | black_yuva_color [4] = { 0, 127, 127, 255 } |
static const uint8_t | black_gbrp_color [4] = { 0, 0, 0, 255 } |
static const uint8_t | white_yuva_color [4] = { 255, 127, 127, 255 } |
static const uint8_t | white_gbrp_color [4] = { 255, 255, 255, 255 } |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
AVFilter | avfilter_vf_histogram |
#define OFFSET | ( | x | ) | offsetof(HistogramContext, x) |
Definition at line 53 of file vf_histogram.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 54 of file vf_histogram.c.
enum HistogramMode |
Definition at line 30 of file vf_histogram.c.
AVFILTER_DEFINE_CLASS | ( | histogram | ) |
|
static |
Definition at line 89 of file vf_histogram.c.
|
static |
Definition at line 117 of file vf_histogram.c.
|
static |
Definition at line 138 of file vf_histogram.c.
|
static |
Definition at line 167 of file vf_histogram.c.
|
static |
Definition at line 56 of file vf_histogram.c.
|
static |
Definition at line 79 of file vf_histogram.c.
Referenced by query_formats().
|
static |
|
static |
Definition at line 112 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 113 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 114 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 115 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 303 of file vf_histogram.c.
|
static |
Definition at line 313 of file vf_histogram.c.
AVFilter avfilter_vf_histogram |
Definition at line 322 of file vf_histogram.c.