FFmpeg
|
#include "libavutil/avassert.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 "libavcodec/avcodec.h"
#include "filters.h"
#include "qp_table.h"
#include "avfilter.h"
#include "video.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 int | filter_1phase (AVFilterContext *ctx, void *arg, int i, int nb_jobs) |
static void | filter (AVFilterContext *ctx, 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 | 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 enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | uspp_inputs [] |
const 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 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 |
|
static |
Definition at line 280 of file vf_uspp.c.
Referenced by filter_frame().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 83 of file vf_uspp.c.
Referenced by store_slice_c().
|
static |
Definition at line 94 of file vf_uspp.c.
Referenced by filter_1phase().
|
static |
|
static |
const AVFilter ff_vf_uspp |