FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.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_in_pix_fmts [] |
static enum AVPixelFormat | levels_out_yuv8_pix_fmts [] |
static enum AVPixelFormat | levels_out_yuv9_pix_fmts [] |
static enum AVPixelFormat | levels_out_yuv10_pix_fmts [] |
static enum AVPixelFormat | levels_out_rgb8_pix_fmts [] |
static enum AVPixelFormat | levels_out_rgb9_pix_fmts [] |
static enum AVPixelFormat | levels_out_rgb10_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 62 of file vf_histogram.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 63 of file vf_histogram.c.
enum HistogramMode |
Enumerator | |
---|---|
MODE_LEVELS | |
MODE_WAVEFORM | |
MODE_COLOR | |
MODE_COLOR2 | |
MODE_NB |
Definition at line 32 of file vf_histogram.c.
AVFILTER_DEFINE_CLASS | ( | histogram | ) |
|
static |
Definition at line 153 of file vf_histogram.c.
|
static |
Definition at line 224 of file vf_histogram.c.
|
static |
Definition at line 254 of file vf_histogram.c.
|
static |
Definition at line 291 of file vf_histogram.c.
Referenced by filter_frame().
|
static |
Definition at line 338 of file vf_histogram.c.
|
static |
Definition at line 65 of file vf_histogram.c.
|
static |
Definition at line 90 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 95 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 111 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 116 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 121 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 126 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 131 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 136 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 141 of file vf_histogram.c.
Referenced by query_formats().
|
static |
Definition at line 219 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 220 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 221 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 222 of file vf_histogram.c.
Referenced by config_input().
|
static |
Definition at line 495 of file vf_histogram.c.
|
static |
Definition at line 505 of file vf_histogram.c.
AVFilter ff_vf_histogram |
Definition at line 514 of file vf_histogram.c.