FFmpeg
Loading...
Searching...
No Matches
edge_template.c File Reference
#include "libavutil/avassert.h"
#include "avfilter.h"
#include "video.h"

Go to the source code of this file.

Macros

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

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 31 of file edge_template.c.

◆ fn3

#define fn3 ( a,
b )
Value:
ff_##a##_##b
#define _
int a
#define b
Definition input.c:43

Definition at line 37 of file edge_template.c.

◆ fn2

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

Definition at line 38 of file edge_template.c.

◆ fn

#define fn ( a)
Value:
#define fn2(a, b)
#define DEPTH
Definition v210enc.c:33

Definition at line 39 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 41 of file edge_template.c.

Referenced by filter_frame(), and sobel().

◆ 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 72 of file edge_template.c.

Referenced by filter_frame(), and gaussian_blur().