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 | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
static int | request_frame (AVFilterLink *outlink) |
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 344 of file vf_midequalizer.c.
|
static |
Definition at line 53 of file vf_midequalizer.c.
|
static |
Definition at line 354 of file vf_midequalizer.c.
|
static |
Definition at line 370 of file vf_midequalizer.c.
AVFilter ff_vf_midequalizer |
Definition at line 380 of file vf_midequalizer.c.