FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/imgutils.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 | ConvolutionContext |
struct | ThreadData |
Macros | |
#define | OFFSET(x) offsetof(ConvolutionContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (convolution) | |
static int | query_formats (AVFilterContext *ctx) |
static void | line_copy8 (uint8_t *line, const uint8_t *srcp, int width, int mergin) |
static void | line_copy16 (uint16_t *line, const uint16_t *srcp, int width, int mergin) |
static int | filter16_prewitt (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter16_sobel (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_prewitt (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_sobel (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter16_3x3 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter16_5x5 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_3x3 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_5x5 (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | convolution_options [] |
static const int | same3x3 [9] |
static const int | same5x5 [25] |
static const AVFilterPad | convolution_inputs [] |
static const AVFilterPad | convolution_outputs [] |
#define OFFSET | ( | x | ) | offsetof(ConvolutionContext, x) |
Definition at line 58 of file vf_convolution.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 59 of file vf_convolution.c.
AVFILTER_DEFINE_CLASS | ( | convolution | ) |
|
static |
Definition at line 89 of file vf_convolution.c.
Definition at line 115 of file vf_convolution.c.
Referenced by filter_3x3(), filter_5x5(), filter_prewitt(), and filter_sobel().
|
inlinestatic |
Definition at line 127 of file vf_convolution.c.
Referenced by filter16_3x3(), filter16_5x5(), filter16_prewitt(), and filter16_sobel().
|
static |
Definition at line 144 of file vf_convolution.c.
Referenced by config_input().
|
static |
Definition at line 201 of file vf_convolution.c.
Referenced by config_input().
|
static |
Definition at line 258 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 314 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 370 of file vf_convolution.c.
Referenced by config_input().
|
static |
Definition at line 425 of file vf_convolution.c.
Referenced by config_input().
|
static |
Definition at line 491 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 545 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 611 of file vf_convolution.c.
|
static |
Definition at line 663 of file vf_convolution.c.
|
static |
Definition at line 699 of file vf_convolution.c.
|
static |
Definition at line 754 of file vf_convolution.c.
|
static |
Definition at line 61 of file vf_convolution.c.
|
static |
Definition at line 79 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 83 of file vf_convolution.c.
Referenced by init().
|
static |
Definition at line 762 of file vf_convolution.c.
|
static |
Definition at line 772 of file vf_convolution.c.