FFmpeg
Data Fields
DNNModel Struct Reference

#include <dnn_interface.h>

Data Fields

voidmodel
 
const char * options
 
AVFilterContextfilter_ctx
 
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, AVFilterContext *filter_ctx)
 
int(* post_proc )(AVFrame *frame_out, DNNData *model_output, AVFilterContext *filter_ctx)
 

Detailed Description

Definition at line 52 of file dnn_interface.h.

Field Documentation

void* DNNModel::model
const char* DNNModel::options
AVFilterContext* DNNModel::filter_ctx
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, AVFilterContext *filter_ctx)

Definition at line 67 of file dnn_interface.h.

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

int(* DNNModel::post_proc) (AVFrame *frame_out, DNNData *model_output, AVFilterContext *filter_ctx)

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