Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (tmidequalizer) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | compute_contrast_function (const float *const histograms[256], const float *const kernel, int nb_frames, int radius, int hsize, float *f, int idx) |
|
static void | apply_contrast_change8 (const uint8_t *src, ptrdiff_t src_linesize, uint8_t *dst, ptrdiff_t dst_linesize, int w, int h, float *change, float *orig) |
|
static void | apply_contrast_change16 (const uint8_t *ssrc, ptrdiff_t src_linesize, uint8_t *ddst, ptrdiff_t dst_linesize, int w, int h, float *change, float *orig) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
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 uint8_t *ssrc, ptrdiff_t linesize, int w, int h, float *histogram, size_t hsize) |
|
static int | config_input (AVFilterLink *inlink) |
|
static int | request_frame (AVFilterLink *outlink) |
|
static void | free_histograms (AVFilterContext *ctx, int x, int nb_frames) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
tmidequalizer |
| ) |
|
◆ query_formats()
◆ compute_contrast_function()
static void compute_contrast_function |
( |
const float *const |
histograms[256], |
|
|
const float *const |
kernel, |
|
|
int |
nb_frames, |
|
|
int |
radius, |
|
|
int |
hsize, |
|
|
float * |
f, |
|
|
int |
idx |
|
) |
| |
|
static |
◆ apply_contrast_change8()
static void apply_contrast_change8 |
( |
const uint8_t * |
src, |
|
|
ptrdiff_t |
src_linesize, |
|
|
uint8_t * |
dst, |
|
|
ptrdiff_t |
dst_linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
float * |
change, |
|
|
float * |
orig |
|
) |
| |
|
static |
◆ apply_contrast_change16()
static void apply_contrast_change16 |
( |
const uint8_t * |
ssrc, |
|
|
ptrdiff_t |
src_linesize, |
|
|
uint8_t * |
ddst, |
|
|
ptrdiff_t |
dst_linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
float * |
change, |
|
|
float * |
orig |
|
) |
| |
|
static |
◆ filter_frame()
◆ compute_histogram8()
static void compute_histogram8 |
( |
const uint8_t * |
src, |
|
|
ptrdiff_t |
linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
float * |
histogram, |
|
|
size_t |
hsize |
|
) |
| |
|
static |
◆ compute_histogram16()
static void compute_histogram16 |
( |
const uint8_t * |
ssrc, |
|
|
ptrdiff_t |
linesize, |
|
|
int |
w, |
|
|
int |
h, |
|
|
float * |
histogram, |
|
|
size_t |
hsize |
|
) |
| |
|
static |
◆ config_input()
◆ request_frame()
◆ free_histograms()
◆ uninit()
◆ tmidequalizer_options
◆ tmidequalizer_inputs
◆ tmidequalizer_outputs
◆ ff_vf_tmidequalizer
Initial value:= {
.name = "tmidequalizer",
.priv_class = &tmidequalizer_class,
}
Definition at line 430 of file vf_tmidequalizer.c.