FFmpeg
|
Apply a boxblur filter to the input video. More...
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | FilterParam |
struct | BoxBlurContext |
Macros | |
#define | Y 0 |
#define | U 1 |
#define | V 2 |
#define | A 3 |
#define | EVAL_RADIUS_EXPR(comp) |
#define | CHECK_RADIUS_VAL(w_, h_, comp) |
#define | OFFSET(x) offsetof(BoxBlurContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static void | blur (uint8_t *dst, int dst_step, const uint8_t *src, int src_step, int len, int radius) |
static void | blur_power (uint8_t *dst, int dst_step, const uint8_t *src, int src_step, int len, int radius, int power, uint8_t *temp[2]) |
static void | hblur (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2]) |
static void | vblur (uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int w, int h, int radius, int power, uint8_t *temp[2]) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
AVFILTER_DEFINE_CLASS (boxblur) | |
Variables | |
static const char *const | var_names [] |
static const AVOption | boxblur_options [] |
static const AVFilterPad | avfilter_vf_boxblur_inputs [] |
static const AVFilterPad | avfilter_vf_boxblur_outputs [] |
AVFilter | avfilter_vf_boxblur |
Detailed Description
Apply a boxblur filter to the input video.
Ported from MPlayer libmpcodecs/vf_boxblur.c.
Definition in file vf_boxblur.c.
Macro Definition Documentation
#define A 3 |
Definition at line 79 of file vf_boxblur.c.
Referenced by config_input().
#define CHECK_RADIUS_VAL | ( | w_, | |
h_, | |||
comp | |||
) |
Referenced by config_input().
#define EVAL_RADIUS_EXPR | ( | comp | ) |
Referenced by config_input().
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 334 of file vf_boxblur.c.
#define OFFSET | ( | x | ) | offsetof(BoxBlurContext, x) |
Definition at line 333 of file vf_boxblur.c.
#define U 1 |
Definition at line 77 of file vf_boxblur.c.
Referenced by config_input().
#define V 2 |
Definition at line 78 of file vf_boxblur.c.
Referenced by config_input().
#define Y 0 |
Definition at line 76 of file vf_boxblur.c.
Referenced by altivec_uyvy_rgb32(), aura_decode_frame(), config_input(), decode_frame(), ff_rgb24toyv12_c(), main(), predictor_decode_stereo_3800(), predictor_decode_stereo_3930(), rv30_loop_filter(), rv34_mc(), rv40_loop_filter(), sbr_hf_apply_noise(), sbr_hf_apply_noise_0(), sbr_hf_apply_noise_1(), sbr_hf_apply_noise_2(), sbr_hf_apply_noise_3(), sbr_hf_g_filt_c(), tm2_decode_blocks(), tm2_hi_res_block(), tm2_low_res_block(), tm2_med_res_block(), tm2_motion_block(), tm2_null_res_block(), tm2_still_block(), tm2_update_block(), ulti_decode_frame(), vc1_pred_b_mv(), vc1_pred_mv(), yuv2gbrp_full_X_c(), yuv2mono_1_c_template(), yuv2mono_2_c_template(), yuv2rgb_full_1_c_template(), yuv2rgb_full_2_c_template(), and yuv2rgb_full_X_c_template().
Enumeration Type Documentation
enum var_name |
Definition at line 48 of file vf_boxblur.c.
Function Documentation
AVFILTER_DEFINE_CLASS | ( | boxblur | ) |
|
inlinestatic |
Definition at line 205 of file vf_boxblur.c.
Referenced by blur_power().
|
inlinestatic |
Definition at line 246 of file vf_boxblur.c.
|
static |
Definition at line 133 of file vf_boxblur.c.
|
static |
Definition at line 298 of file vf_boxblur.c.
|
static |
Definition at line 272 of file vf_boxblur.c.
Referenced by filter_frame().
|
static |
Definition at line 81 of file vf_boxblur.c.
|
static |
Definition at line 118 of file vf_boxblur.c.
|
static |
Definition at line 110 of file vf_boxblur.c.
|
static |
Definition at line 285 of file vf_boxblur.c.
Referenced by filter_frame().
Variable Documentation
AVFilter avfilter_vf_boxblur |
Definition at line 375 of file vf_boxblur.c.
|
static |
Definition at line 357 of file vf_boxblur.c.
|
static |
Definition at line 367 of file vf_boxblur.c.
|
static |
Definition at line 336 of file vf_boxblur.c.
|
static |
Definition at line 38 of file vf_boxblur.c.
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11