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

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 LayerPadParams *params)
 

Function Documentation

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

Definition at line 25 of file dnn_backend_native_layer_pad.c.

Referenced by dnn_execute_layer_pad().

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

Definition at line 37 of file dnn_backend_native_layer_pad.c.

Referenced by dnn_execute_layer_pad().

int dnn_execute_layer_pad ( DnnOperand operands,
const int32_t input_operand_indexes,
int32_t  output_operand_index,
const LayerPadParams params 
)