FFmpeg
Data Fields
DNNModel Struct Reference

#include <dnn_interface.h>

Data Fields

void * model
 
const char * options
 
AVFilterContextfilter_ctx
 
DNNFunctionType func_type
 
int(* get_input )(void *model, DNNData *input, const char *input_name)
 
int(* 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
 
ClassifyPostProc classify_post_proc
 

Detailed Description

Definition at line 84 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

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

◆ get_output

int(* 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 101 of file dnn_interface.h.

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

◆ frame_post_proc

FramePrePostProc DNNModel::frame_post_proc

Definition at line 104 of file dnn_interface.h.

Referenced by execute_model_native(), and infer_completion_callback().

◆ detect_post_proc

DetectPostProc DNNModel::detect_post_proc

Definition at line 106 of file dnn_interface.h.

Referenced by infer_completion_callback().

◆ classify_post_proc

ClassifyPostProc DNNModel::classify_post_proc

Definition at line 108 of file dnn_interface.h.

Referenced by infer_completion_callback().


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