FFmpeg
Data Structures | Enumerations | Functions
convolution.h File Reference
#include "avfilter.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  ConvolutionContext
 

Enumerations

enum  MatrixMode { MATRIX_SQUARE, MATRIX_ROW, MATRIX_COLUMN, MATRIX_NBMODES }
 

Functions

void ff_convolution_init_x86 (ConvolutionContext *s)
 
void ff_sobel_init_x86 (ConvolutionContext *s, int depth, int nb_planes)
 
static void setup_3x3 (int radius, const uint8_t *c[], const uint8_t *src, int stride, int x, int w, int y, int h, int bpc)
 
static void filter_sobel (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_sobel (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 av_unused void ff_sobel_init (ConvolutionContext *s, int depth, int nb_planes)
 

Enumeration Type Documentation

◆ MatrixMode

enum MatrixMode
Enumerator
MATRIX_SQUARE 
MATRIX_ROW 
MATRIX_COLUMN 
MATRIX_NBMODES 

Definition at line 26 of file convolution.h.

Function Documentation

◆ ff_convolution_init_x86()

void ff_convolution_init_x86 ( ConvolutionContext s)

Definition at line 37 of file vf_convolution_init.c.

Referenced by param_init().

◆ ff_sobel_init_x86()

void ff_sobel_init_x86 ( ConvolutionContext s,
int  depth,
int  nb_planes 
)

Definition at line 53 of file vf_convolution_init.c.

Referenced by ff_sobel_init().

◆ setup_3x3()

static void setup_3x3 ( int  radius,
const uint8_t *  c[],
const uint8_t *  src,
int  stride,
int  x,
int  w,
int  y,
int  h,
int  bpc 
)
static

Definition at line 67 of file convolution.h.

Referenced by ff_sobel_init(), and param_init().

◆ filter_sobel()

static void filter_sobel ( 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

Definition at line 83 of file convolution.h.

Referenced by ff_sobel_init().

◆ filter16_sobel()

static void filter16_sobel ( 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

Definition at line 103 of file convolution.h.

Referenced by ff_sobel_init().

◆ ff_sobel_init()

static av_unused void ff_sobel_init ( ConvolutionContext s,
int  depth,
int  nb_planes 
)
static

Definition at line 121 of file convolution.h.

Referenced by check_sobel(), and param_init().