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 93 of file dnn_interface.h.

Field Documentation

◆ model

void* DNNModel::model

◆ options

const char* DNNModel::options

Definition at line 97 of file dnn_interface.h.

Referenced by dnn_load_model_tf(), dnn_load_model_th(), and get_output_ov().

◆ 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)

Definition at line 104 of file dnn_interface.h.

Referenced by dnn_load_model_tf(), dnn_load_model_th(), and get_output_ov().

◆ 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)

Definition at line 106 of file dnn_interface.h.

Referenced by dnn_load_model_tf(), dnn_load_model_th(), and get_output_ov().

◆ frame_pre_proc

FramePrePostProc DNNModel::frame_pre_proc

Definition at line 110 of file dnn_interface.h.

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

◆ frame_post_proc

FramePrePostProc DNNModel::frame_post_proc

Definition at line 113 of file dnn_interface.h.

Referenced by infer_completion_callback().

◆ detect_post_proc

DetectPostProc DNNModel::detect_post_proc

Definition at line 115 of file dnn_interface.h.

Referenced by infer_completion_callback().

◆ classify_post_proc

ClassifyPostProc DNNModel::classify_post_proc

Definition at line 117 of file dnn_interface.h.

Referenced by infer_completion_callback().


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