FFmpeg
|
#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "convolution.h"
#include "filters.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | OFFSET(x) offsetof(ConvolutionContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (convolution) | |
static void | filter16_prewitt (uint8_t *dstp, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_roberts (uint8_t *dstp, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_scharr (uint8_t *dstp, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_kirsch (uint8_t *dstp, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_prewitt (uint8_t *dst, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_roberts (uint8_t *dst, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_scharr (uint8_t *dst, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_kirsch (uint8_t *dst, int width, float scale, float delta, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_3x3 (uint8_t *dstp, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_5x5 (uint8_t *dstp, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_7x7 (uint8_t *dstp, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_row (uint8_t *dstp, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter16_column (uint8_t *dstp, int height, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_7x7 (uint8_t *dst, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_5x5 (uint8_t *dst, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_3x3 (uint8_t *dst, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_row (uint8_t *dst, int width, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | filter_column (uint8_t *dst, int height, float rdiv, float bias, const int *const matrix, const uint8_t *c[], int peak, int radius, int dstride, int stride, int size) |
static void | setup_5x5 (int radius, const uint8_t *c[], const uint8_t *src, int stride, int x, int w, int y, int h, int bpc) |
static void | setup_7x7 (int radius, const uint8_t *c[], const uint8_t *src, int stride, int x, int w, int y, int h, int bpc) |
static void | setup_row (int radius, const uint8_t *c[], const uint8_t *src, int stride, int x, int w, int y, int h, int bpc) |
static void | setup_column (int radius, const uint8_t *c[], const uint8_t *src, int stride, int x, int w, int y, int h, int bpc) |
static int | filter_slice (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | param_init (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
AVFILTER_DEFINE_CLASS_EXT (common, "kirsch/prewitt/roberts/scharr/sobel", common_options) | |
Variables | |
static const AVOption | convolution_options [] |
static const int | same3x3 [9] |
static const int | same5x5 [25] |
static const int | same7x7 [49] |
static enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | convolution_inputs [] |
static const AVOption | common_options [] |
#define OFFSET | ( | x | ) | offsetof(ConvolutionContext, x) |
Definition at line 36 of file vf_convolution.c.
Definition at line 37 of file vf_convolution.c.
AVFILTER_DEFINE_CLASS | ( | convolution | ) |
|
static |
Definition at line 108 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 126 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 142 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 162 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 211 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 231 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 246 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 268 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 316 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 339 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 358 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 377 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 396 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 421 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 439 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 457 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 476 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 494 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 517 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 533 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 549 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 563 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 577 of file vf_convolution.c.
Referenced by filter_frame().
|
static |
Definition at line 650 of file vf_convolution.c.
Referenced by config_input(), and process_command().
|
static |
Definition at line 827 of file vf_convolution.c.
|
static |
Definition at line 833 of file vf_convolution.c.
|
static |
Definition at line 857 of file vf_convolution.c.
AVFILTER_DEFINE_CLASS_EXT | ( | common | , |
"kirsch/prewitt/roberts/scharr/sobel" | , | ||
common_options | |||
) |
|
static |
Definition at line 39 of file vf_convolution.c.
|
static |
Definition at line 64 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 68 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 74 of file vf_convolution.c.
Referenced by param_init().
|
static |
Definition at line 82 of file vf_convolution.c.
|
static |
Definition at line 869 of file vf_convolution.c.
|
static |
Definition at line 894 of file vf_convolution.c.