FFmpeg
Data Fields
DNNModel Struct Reference

#include <dnn_interface.h>

Data Fields

voidmodel
 
const char * options
 
voiduserdata
 
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)
 
int(* pre_proc )(AVFrame *frame_in, DNNData *model_input, void *user_data)
 
int(* post_proc )(AVFrame *frame_out, DNNData *model_output, void *user_data)
 

Detailed Description

Definition at line 44 of file dnn_interface.h.

Field Documentation

void* DNNModel::model
const char* DNNModel::options
void* DNNModel::userdata
DNNReturnType(* DNNModel::get_input) (void *model, DNNData *input, const char *input_name)
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)
int(* DNNModel::pre_proc) (AVFrame *frame_in, DNNData *model_input, void *user_data)

Definition at line 59 of file dnn_interface.h.

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

int(* DNNModel::post_proc) (AVFrame *frame_out, DNNData *model_output, void *user_data)

Definition at line 62 of file dnn_interface.h.

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


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