FFmpeg
|
Postprocessing filter - 7. More...
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "internal.h"
#include "vf_pp7.h"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(PP7Context, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | N0 4 |
#define | N1 5 |
#define | N2 10 |
#define | SN0 2 |
#define | SN1 2.2360679775 |
#define | SN2 3.16227766017 |
#define | N (1 << 16) |
Enumerations | |
enum | mode { MODE_NONE, MODE_RO, MODE_RW, MODE_TOGGLE, MODE_RANDOM, NB_MODES, MODE_HARD, MODE_SOFT, MODE_MEDIUM, MODE_HARD, MODE_SOFT, NB_MODES } |
Functions | |
AVFILTER_DEFINE_CLASS (pp7) | |
static void | init_thres2 (PP7Context *p) |
static void | dctA_c (int16_t *dst, uint8_t *src, int stride) |
static void | dctB_c (int16_t *dst, int16_t *src) |
static int | hardthresh_c (PP7Context *p, int16_t *src, int qp) |
static int | mediumthresh_c (PP7Context *p, int16_t *src, int qp) |
static int | softthresh_c (PP7Context *p, int16_t *src, int qp) |
static void | filter (PP7Context *p, uint8_t *dst, uint8_t *src, int dst_stride, int src_stride, int width, int height, uint8_t *qp_store, int qp_stride, int is_luma) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | pp7_options [] |
static const uint8_t | dither [8][8] |
static const int | factor [16] |
static const int | thres [16] |
static const AVFilterPad | pp7_inputs [] |
static const AVFilterPad | pp7_outputs [] |
AVFilter | ff_vf_pp7 |
Postprocessing filter - 7.
Originally written by Michael Niedermayer for the MPlayer project, and ported by Arwa Arif for FFmpeg.
Definition in file vf_pp7.c.
#define OFFSET | ( | x | ) | offsetof(PP7Context, x) |
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define N0 4 |
Definition at line 67 of file vf_pp7.c.
Referenced by celt_decode_band(), celt_deinterleave_hadamard(), celt_extract_collapse_mask(), celt_haar1(), and celt_interleave_hadamard().
#define N2 10 |
Definition at line 69 of file vf_pp7.c.
Referenced by celt_compute_qn().
#define SN0 2 |
Definition at line 70 of file vf_pp7.c.
Referenced by init_thres2().
#define SN2 3.16227766017 |
Definition at line 72 of file vf_pp7.c.
Referenced by init_thres2().
#define N (1 << 16) |
Definition at line 73 of file vf_pp7.c.
Referenced by celt_cwrsi(), celt_decode_allocation(), celt_decode_band(), celt_deinterleave_hadamard(), celt_interleave_hadamard(), celt_normalize_residual(), celt_renormalize_vector(), celt_stereo_merge(), evolve(), ff_imdct15_init(), fft_calc(), and z_scan_block_avail().
enum mode |
AVFILTER_DEFINE_CLASS | ( | pp7 | ) |
|
static |
Definition at line 89 of file vf_pp7.c.
Referenced by config_input().
|
static |
Definition at line 124 of file vf_pp7.c.
Referenced by config_input().
|
static |
Definition at line 147 of file vf_pp7.c.
Referenced by config_input().
|
static |
Definition at line 163 of file vf_pp7.c.
Referenced by config_input().
|
static |
Definition at line 187 of file vf_pp7.c.
Referenced by config_input().
|
static |
Definition at line 207 of file vf_pp7.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 56 of file vf_pp7.c.
Referenced by filter().
|
static |
Definition at line 75 of file vf_pp7.c.
Referenced by adaptive_quantization(), av_resample_init(), avpriv_solve_lls(), build_filter(), create_default_qtables(), ff_audio_resample_init(), ff_jpegls_reset_coding_parameters(), ffserver_set_float_param(), ffserver_set_int_param(), hardthresh_c(), mediumthresh_c(), resample_init(), and softthresh_c().
|
static |
|
static |
|
static |
AVFilter ff_vf_pp7 |