|
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 65 of file vf_vaguedenoiser.c.
| #define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 66 of file vf_vaguedenoiser.c.
| #define NPAD 10 |
Definition at line 81 of file vf_vaguedenoiser.c.
Referenced by filter(), invert_step(), symmetric_extension(), and transform_step().
| AVFILTER_DEFINE_CLASS | ( | vaguedenoiser | ) |
|
static |
Definition at line 103 of file vf_vaguedenoiser.c.
|
static |
Definition at line 131 of file vf_vaguedenoiser.c.
|
inlinestatic |
Definition at line 183 of file vf_vaguedenoiser.c.
Referenced by av_buffersrc_add_frame_flags(), av_buffersrc_add_frame_internal(), avfilter_init_str(), avfilter_register_all(), 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(), roq_decode_frame(), rtmp_write(), and shuffleplanes_filter_frame().
|
inlinestatic |
Definition at line 188 of file vf_vaguedenoiser.c.
Referenced by filter().
|
inlinestatic |
Definition at line 198 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 214 of file vf_vaguedenoiser.c.
Referenced by invert_step(), and transform_step().
|
static |
Definition at line 239 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 272 of file vf_vaguedenoiser.c.
Referenced by filter().
|
static |
Definition at line 327 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 343 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 370 of file vf_vaguedenoiser.c.
Referenced by init().
|
static |
Definition at line 393 of file vf_vaguedenoiser.c.
Referenced by filter_frame().
|
static |
Definition at line 496 of file vf_vaguedenoiser.c.
|
static |
Definition at line 524 of file vf_vaguedenoiser.c.
|
static |
Definition at line 543 of file vf_vaguedenoiser.c.
|
static |
Definition at line 67 of file vf_vaguedenoiser.c.
|
static |
Definition at line 83 of file vf_vaguedenoiser.c.
Referenced by transform_step().
|
static |
Definition at line 88 of file vf_vaguedenoiser.c.
Referenced by transform_step().
|
static |
Definition at line 93 of file vf_vaguedenoiser.c.
Referenced by invert_step().
|
static |
Definition at line 98 of file vf_vaguedenoiser.c.
Referenced by invert_step().
|
static |
Definition at line 553 of file vf_vaguedenoiser.c.
|
static |
Definition at line 564 of file vf_vaguedenoiser.c.
| AVFilter ff_vf_vaguedenoiser |
Definition at line 572 of file vf_vaguedenoiser.c.
1.8.6