FFmpeg
|
Ultra Slow/Simple Post-processing filter. More...
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "internal.h"
#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
struct | USPPContext |
Macros | |
#define | MAX_LEVEL 8 /* quality levels */ |
#define | BLOCK 16 |
#define | OFFSET(x) offsetof(USPPContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | STORE(pos) |
Functions | |
AVFILTER_DEFINE_CLASS (uspp) | |
static void | store_slice_c (uint8_t *dst, const uint16_t *src, int dst_stride, int src_stride, int width, int height, int log2_scale) |
static void | filter (USPPContext *p, uint8_t *dst[3], uint8_t *src[3], int dst_stride[3], int src_stride[3], int width, int height, uint8_t *qp_store, int qp_stride) |
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 | uspp_options [] |
static const uint8_t | dither [8][8] |
static const uint8_t | offset [511][2] |
static const AVFilterPad | uspp_inputs [] |
static const AVFilterPad | uspp_outputs [] |
AVFilter | ff_vf_uspp |
Ultra Slow/Simple Post-processing filter.
Originally written by Michael Niedermayer for the MPlayer project, and ported by Arwa Arif for FFmpeg.
Definition in file vf_uspp.c.
#define BLOCK 16 |
Definition at line 38 of file vf_uspp.c.
Referenced by config_input(), and filter().
#define OFFSET | ( | x | ) | offsetof(USPPContext, x) |
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define STORE | ( | pos | ) |
AVFILTER_DEFINE_CLASS | ( | uspp | ) |
|
static |
Definition at line 183 of file vf_uspp.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 70 of file vf_uspp.c.
Referenced by store_slice_c().
|
static |
|
static |
|
static |
AVFilter ff_vf_uspp |