FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "framesync.h"
Go to the source code of this file.
Data Structures | |
struct | MidEqualizerContext |
Macros | |
#define | OFFSET(x) offsetof(MidEqualizerContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (midequalizer) | |
static int | query_formats (AVFilterContext *ctx) |
static int | process_frame (FFFrameSync *fs) |
static void | compute_histogram8 (const uint8_t *src, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) |
static void | compute_histogram16 (const uint16_t *src, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) |
static void | compute_contrast_change (float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) |
static void | midequalizer8 (const uint8_t *in0, const uint8_t *in1, uint8_t *dst, ptrdiff_t linesize1, ptrdiff_t linesize2, ptrdiff_t dlinesize, int w0, int h0, int w1, int h1, float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) |
static void | midequalizer16 (const uint8_t *in0, const uint8_t *in1, uint8_t *dst, ptrdiff_t linesize1, ptrdiff_t linesize2, ptrdiff_t dlinesize, int w0, int h0, int w1, int h1, float *histogram1, float *histogram2, unsigned *cchange, size_t hsize) |
static int | config_input0 (AVFilterLink *inlink) |
static int | config_input1 (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | midequalizer_options [] |
static const AVFilterPad | midequalizer_inputs [] |
static const AVFilterPad | midequalizer_outputs [] |
AVFilter | ff_vf_midequalizer |
#define OFFSET | ( | x | ) | offsetof(MidEqualizerContext, x) |
Definition at line 50 of file vf_midequalizer.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 51 of file vf_midequalizer.c.
AVFILTER_DEFINE_CLASS | ( | midequalizer | ) |
|
static |
Definition at line 60 of file vf_midequalizer.c.
|
static |
Definition at line 84 of file vf_midequalizer.c.
Referenced by config_output().
|
static |
Definition at line 130 of file vf_midequalizer.c.
Referenced by midequalizer8().
|
static |
Definition at line 151 of file vf_midequalizer.c.
Referenced by midequalizer16().
|
static |
Definition at line 172 of file vf_midequalizer.c.
Referenced by midequalizer16(), and midequalizer8().
|
static |
Definition at line 186 of file vf_midequalizer.c.
Referenced by config_input0().
|
static |
Definition at line 212 of file vf_midequalizer.c.
Referenced by config_input0().
|
static |
Definition at line 240 of file vf_midequalizer.c.
|
static |
Definition at line 274 of file vf_midequalizer.c.
|
static |
Definition at line 294 of file vf_midequalizer.c.
|
static |
Definition at line 332 of file vf_midequalizer.c.
|
static |
Definition at line 338 of file vf_midequalizer.c.
|
static |
Definition at line 53 of file vf_midequalizer.c.
|
static |
Definition at line 348 of file vf_midequalizer.c.
|
static |
Definition at line 362 of file vf_midequalizer.c.
AVFilter ff_vf_midequalizer |
Definition at line 371 of file vf_midequalizer.c.