FFmpeg
Macros | Functions
dnn-layer-pad-test.c File Reference
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "libavfilter/dnn/dnn_backend_native_layer_pad.h"

Go to the source code of this file.

Macros

#define EPSON   0.00001
 

Functions

static int test_with_mode_symmetric (void)
 
static int test_with_mode_reflect (void)
 
static int test_with_mode_constant (void)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ EPSON

#define EPSON   0.00001

Definition at line 26 of file dnn-layer-pad-test.c.

Function Documentation

◆ test_with_mode_symmetric()

static int test_with_mode_symmetric ( void  )
static

Definition at line 28 of file dnn-layer-pad-test.c.

Referenced by main().

◆ test_with_mode_reflect()

static int test_with_mode_reflect ( void  )
static

Definition at line 98 of file dnn-layer-pad-test.c.

Referenced by main().

◆ test_with_mode_constant()

static int test_with_mode_constant ( void  )
static

Definition at line 163 of file dnn-layer-pad-test.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 229 of file dnn-layer-pad-test.c.