24#ifndef AVFILTER_EDGE_COMMON_H
25#define AVFILTER_EDGE_COMMON_H
51#define PROTO_SOBEL(depth) \
52void ff_sobel_##depth(int w, int h, \
53 uint16_t *dst, int dst_linesize, \
54 int8_t *dir, int dir_linesize, \
55 const uint8_t *src, int src_linesize, int src_stride);
75 uint8_t *
dst,
int dst_linesize,
76 const int8_t *dir,
int dir_linesize,
77 const uint16_t *
src,
int src_linesize);
93 uint8_t *
dst,
int dst_linesize,
94 const uint8_t *
src,
int src_linesize);
107#define PROTO_GAUSSIAN_BLUR(depth) \
108void ff_gaussian_blur_##depth(int w, int h, \
109 uint8_t *dst, int dst_linesize, \
110 const uint8_t *src, int src_linesize, int src_stride);
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Main libavfilter public API header.
void ff_non_maximum_suppression(int w, int h, uint8_t *dst, int dst_linesize, const int8_t *dir, int dir_linesize, const uint16_t *src, int src_linesize)
Filters rounded gradients to drop all non-maxima pixels in the magnitude image Expects gradients gene...
void ff_double_threshold(int low, int high, int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize)
Filters all pixels in src to keep all pixels > high, and keep all pixels > low where all surrounding ...
#define PROTO_SOBEL(depth)
Simple sobel operator to get rounded gradients.
#define PROTO_GAUSSIAN_BLUR(depth)
Applies gaussian blur.
AVRoundedDirection
Rounded directions used in av_image_sobel()