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

◆ pre_proc

int(* DNNModel::pre_proc) (AVFrame *frame_in, DNNData *model_input, AVFilterContext *filter_ctx)

Definition at line 83 of file dnn_interface.h.

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

◆ post_proc

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

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