FFmpeg
Data Fields
DNNModel Struct Reference

#include <dnn_interface.h>

Data Fields

void * model
 
const char * options
 
AVFilterContextfilter_ctx
 
DNNFunctionType func_type
 
DNNReturnType(* get_input )(void *model, DNNData *input, const char *input_name)
 
DNNReturnType(* get_output )(void *model, const char *input_name, int input_width, int input_height, const char *output_name, int *output_width, int *output_height)
 
FramePrePostProc frame_pre_proc
 
FramePrePostProc frame_post_proc
 
DetectPostProc detect_post_proc
 

Detailed Description

Definition at line 69 of file dnn_interface.h.

Field Documentation

◆ model

void* DNNModel::model

◆ options

const char* DNNModel::options

◆ filter_ctx

AVFilterContext* DNNModel::filter_ctx

◆ func_type

DNNFunctionType DNNModel::func_type

◆ get_input

DNNReturnType(* DNNModel::get_input) (void *model, DNNData *input, const char *input_name)

◆ get_output

DNNReturnType(* DNNModel::get_output) (void *model, const char *input_name, int input_width, int input_height, const char *output_name, int *output_width, int *output_height)

◆ frame_pre_proc

FramePrePostProc DNNModel::frame_pre_proc

Definition at line 86 of file dnn_interface.h.

Referenced by execute_model_native(), execute_model_tf(), and fill_model_input_ov().

◆ frame_post_proc

FramePrePostProc DNNModel::frame_post_proc

◆ detect_post_proc

DetectPostProc DNNModel::detect_post_proc

Definition at line 91 of file dnn_interface.h.

Referenced by infer_completion_callback().


The documentation for this struct was generated from the following file: