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 void | gen_waveform (HistogramContext *h, AVFrame *inpicref, AVFrame *outpicref, int component, int intensity, int offset, int col_mode) |
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 enum AVPixelFormat | waveform_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 | ff_vf_histogram |
#define OFFSET | ( | x | ) | offsetof(HistogramContext, x) |
Definition at line 55 of file vf_histogram.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 56 of file vf_histogram.c.
enum HistogramMode |
Enumerator | |
---|---|
MODE_LEVELS | |
MODE_WAVEFORM | |
MODE_COLOR | |
MODE_COLOR2 | |
MODE_NB |
Definition at line 30 of file vf_histogram.c.
AVFILTER_DEFINE_CLASS | ( | histogram | ) |
|
static |
Definition at line 104 of file vf_histogram.c.
|
static |
Definition at line 136 of file vf_histogram.c.
|
static |
Definition at line 157 of file vf_histogram.c.
|
static |
Definition at line 186 of file vf_histogram.c.
Referenced by filter_frame().
|
static |
Definition at line 233 of file vf_histogram.c.
|
static |
Definition at line 58 of file vf_histogram.c.
|
static |
Definition at line 82 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 87 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 92 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 131 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 132 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 133 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 134 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 351 of file vf_histogram.c.
|
static |
Definition at line 361 of file vf_histogram.c.
AVFilter ff_vf_histogram |
Definition at line 370 of file vf_histogram.c.