|
FFmpeg
|
#include "libavutil/emms.h"#include "libavutil/imgutils.h"#include "libavutil/mem.h"#include "libavutil/mem_internal.h"#include "libavutil/opt.h"#include "libavutil/pixdesc.h"#include "libavutil/video_enc_params.h"#include "avfilter.h"#include "filters.h"#include "qp_table.h"#include "vf_fsppdsp.h"#include "video.h"Go to the source code of this file.
Data Structures | |
| struct | FSPPContext |
Macros | |
| #define | BLOCKSZ 12 |
| #define | MAX_LEVEL 5 |
| #define | OFFSET(x) offsetof(FSPPContext, x) |
| #define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
| #define | REORDER(a, b, c, d, e, f, g, h) c, g, a, e, f, d, b, h |
Functions | |
| AVFILTER_DEFINE_CLASS (fspp) | |
| static void | filter (FSPPContext *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 | config_input (AVFilterLink *inlink) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
| static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
| static const AVOption | fspp_options [] |
| static const short | custom_threshold [64] |
| static enum AVPixelFormat | pix_fmts [] |
| static const AVFilterPad | fspp_inputs [] |
| const FFFilter | ff_vf_fspp |
Fast Simple Post-processing filter This implementation is based on an algorithm described in "Aria Nosratinia Embedded Post-Processing for Enhancement of Compressed Images (1999)" (http://www.utdallas.edu/~aria/papers/vlsisp99.pdf) Further, with splitting (I)DCT into horizontal/vertical passes, one of them can be performed once per block, not per pixel. This allows for much higher speed.
Originally written by Michael Niedermayer and Nikolaj for the MPlayer project, and ported by Arwa Arif for FFmpeg.
Definition in file vf_fspp.c.
| #define OFFSET | ( | x | ) | offsetof(FSPPContext, x) |
| #define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
| AVFILTER_DEFINE_CLASS | ( | fspp | ) |
|
static |
Definition at line 107 of file vf_fspp.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 91 of file vf_fspp.c.
Referenced by filter_frame().
|
static |
|
static |
| const FFFilter ff_vf_fspp |
1.8.17