FFmpeg
Functions
dnn_backend_native_layer_pad.c File Reference
#include <string.h>
#include "libavutil/avassert.h"
#include "dnn_backend_native_layer_pad.h"

Go to the source code of this file.

Functions

int dnn_load_layer_pad (Layer *layer, AVIOContext *model_file_context, int file_size, int operands_num)
 
static int before_get_buddy (int given, int paddings, LayerPadModeParam mode)
 
static int after_get_buddy (int given, int border, LayerPadModeParam mode)
 
int dnn_execute_layer_pad (DnnOperand *operands, const int32_t *input_operand_indexes, int32_t output_operand_index, const void *parameters)
 

Function Documentation

◆ dnn_load_layer_pad()

int dnn_load_layer_pad ( Layer layer,
AVIOContext model_file_context,
int  file_size,
int  operands_num 
)

Definition at line 25 of file dnn_backend_native_layer_pad.c.

◆ before_get_buddy()

static int before_get_buddy ( int  given,
int  paddings,
LayerPadModeParam  mode 
)
static

Definition at line 52 of file dnn_backend_native_layer_pad.c.

Referenced by dnn_execute_layer_pad().

◆ after_get_buddy()

static int after_get_buddy ( int  given,
int  border,
LayerPadModeParam  mode 
)
static

Definition at line 64 of file dnn_backend_native_layer_pad.c.

Referenced by dnn_execute_layer_pad().

◆ dnn_execute_layer_pad()

int dnn_execute_layer_pad ( DnnOperand operands,
const int32_t input_operand_indexes,
int32_t  output_operand_index,
const void *  parameters 
)