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 av_cold int | init (AVFilterContext *ctx, const char *args) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFilterBufferRef *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
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 76 of file vf_histogram.c.
|
static |
Definition at line 100 of file vf_histogram.c.
|
static |
Definition at line 128 of file vf_histogram.c.
|
static |
Definition at line 148 of file vf_histogram.c.
|
static |
Definition at line 177 of file vf_histogram.c.
|
static |
Definition at line 310 of file vf_histogram.c.
|
static |
Definition at line 56 of file vf_histogram.c.
|
static |
Definition at line 90 of file vf_histogram.c.
Referenced by query_formats().
|
static |
|
static |
Definition at line 123 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 124 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 125 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 126 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 317 of file vf_histogram.c.
|
static |
Definition at line 328 of file vf_histogram.c.
AVFilter avfilter_vf_histogram |
Definition at line 337 of file vf_histogram.c.