FFmpeg
|
#include <float.h>
#include "libavutil/imgutils.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/pixdesc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | VagueDenoiserContext |
Macros | |
#define | OFFSET(x) offsetof(VagueDenoiserContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
#define | NPAD 10 |
Functions | |
AVFILTER_DEFINE_CLASS (vaguedenoiser) | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | copy (const float *p1, float *p2, const int length) |
static void | copyv (const float *p1, const int stride1, float *p2, const int length) |
static void | copyh (const float *p1, float *p2, const int stride2, const int length) |
static void | symmetric_extension (float *output, const int size, const int left_ext, const int right_ext) |
static void | transform_step (float *input, float *output, const int size, const int low_size, VagueDenoiserContext *s) |
static void | invert_step (const float *input, float *output, float *temp, const int size, VagueDenoiserContext *s) |
static void | hard_thresholding (float *block, const int width, const int height, const int stride, const float threshold, const float percent, const int unused) |
static void | soft_thresholding (float *block, const int width, const int height, const int stride, const float threshold, const float percent, const int nsteps) |
static void | qian_thresholding (float *block, const int width, const int height, const int stride, const float threshold, const float percent, const int unused) |
static void | filter (VagueDenoiserContext *s, AVFrame *in, AVFrame *out) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | vaguedenoiser_options [] |
static const float | analysis_low [9] |
static const float | analysis_high [7] |
static const float | synthesis_low [7] |
static const float | synthesis_high [9] |
static const AVFilterPad | vaguedenoiser_inputs [] |
static const AVFilterPad | vaguedenoiser_outputs [] |
AVFilter | ff_vf_vaguedenoiser |
#define OFFSET | ( | x | ) | offsetof(VagueDenoiserContext, x) |
Definition at line 66 of file vf_vaguedenoiser.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 67 of file vf_vaguedenoiser.c.
#define NPAD 10 |
Definition at line 82 of file vf_vaguedenoiser.c.
AVFILTER_DEFINE_CLASS | ( | vaguedenoiser | ) |
|
static |
Definition at line 104 of file vf_vaguedenoiser.c.
|
static |
Definition at line 132 of file vf_vaguedenoiser.c.
|
inlinestatic |
Definition at line 185 of file vf_vaguedenoiser.c.
Referenced by av_buffersrc_add_frame_flags(), av_buffersrc_add_frame_internal(), avfilter_init_str(), bayer_to_rgb24_wrapper(), bayer_to_yv12_wrapper(), decode_tdlt(), ff_frame_thread_init(), ff_jni_jstring_to_utf_chars(), filter(), filter_frame(), intra_predict(), qpeg_decode_intra(), read_thread(), rle_uncompress(), roq_decode_frame(), rtmp_write(), run_encryption_info_test(), run_encryption_init_info_test(), and shuffleplanes_filter_frame().
|
inlinestatic |
Definition at line 190 of file vf_vaguedenoiser.c.
Referenced by filter().
|
inlinestatic |
Definition at line 200 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 216 of file vf_vaguedenoiser.c.
Referenced by invert_step(), and transform_step().
|
static |
Definition at line 241 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 274 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 329 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 345 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 372 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 395 of file vf_vaguedenoiser.c.
Referenced by filter_frame().
|
static |
Definition at line 498 of file vf_vaguedenoiser.c.
|
static |
Definition at line 526 of file vf_vaguedenoiser.c.
|
static |
Definition at line 545 of file vf_vaguedenoiser.c.
|
static |
Definition at line 68 of file vf_vaguedenoiser.c.
|
static |
Definition at line 84 of file vf_vaguedenoiser.c.
Referenced by transform_step().
|
static |
Definition at line 89 of file vf_vaguedenoiser.c.
Referenced by transform_step().
|
static |
Definition at line 94 of file vf_vaguedenoiser.c.
Referenced by invert_step().
|
static |
Definition at line 99 of file vf_vaguedenoiser.c.
Referenced by invert_step().
|
static |
Definition at line 555 of file vf_vaguedenoiser.c.
|
static |
Definition at line 566 of file vf_vaguedenoiser.c.
AVFilter ff_vf_vaguedenoiser |
Definition at line 574 of file vf_vaguedenoiser.c.