FFmpeg
Macros | Functions
edge_template.c File Reference
#include "libavutil/avassert.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Macros

#define pixel   uint16_t
 
#define fn3(a, b)   ff_##a##_##b
 
#define fn2(a, b)   fn3(a,b)
 
#define fn(a)   fn2(a, DEPTH)
 

Functions

void fn() sobel (int w, int h, uint16_t *dst, int dst_linesize, int8_t *dir, int dir_linesize, const uint8_t *src, int src_linesize, int src_stride)
 
void fn() gaussian_blur (int w, int h, uint8_t *dst, int dst_linesize, const uint8_t *src, int src_linesize, int src_stride)
 

Macro Definition Documentation

◆ pixel

#define pixel   uint16_t

Definition at line 33 of file edge_template.c.

◆ fn3

#define fn3 (   a,
  b 
)    ff_##a##_##b

Definition at line 39 of file edge_template.c.

◆ fn2

#define fn2 (   a,
  b 
)    fn3(a,b)

Definition at line 40 of file edge_template.c.

◆ fn

#define fn (   a)    fn2(a, DEPTH)

Definition at line 41 of file edge_template.c.

Function Documentation

◆ sobel()

void fn() sobel ( int  w,
int  h,
uint16_t *  dst,
int  dst_linesize,
int8_t *  dir,
int  dir_linesize,
const uint8_t *  src,
int  src_linesize,
int  src_stride 
)

Definition at line 43 of file edge_template.c.

Referenced by filter_frame().

◆ gaussian_blur()

void fn() gaussian_blur ( int  w,
int  h,
uint8_t *  dst,
int  dst_linesize,
const uint8_t *  src,
int  src_linesize,
int  src_stride 
)

Definition at line 74 of file edge_template.c.

Referenced by filter_frame().