FFmpeg
Data Fields
DNNModule Struct Reference

#include <dnn_interface.h>

Data Fields

DNNModel *(* load_model )(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)
 
DNNReturnType(* execute_model )(const DNNModel *model, const char *input_name, AVFrame *in_frame, const char **output_names, uint32_t nb_output, AVFrame *out_frame)
 
DNNReturnType(* execute_model_async )(const DNNModel *model, const char *input_name, AVFrame *in_frame, const char **output_names, uint32_t nb_output, AVFrame *out_frame)
 
DNNAsyncStatusType(* get_async_result )(const DNNModel *model, AVFrame **in, AVFrame **out)
 
DNNReturnType(* flush )(const DNNModel *model)
 
void(* free_model )(DNNModel **model)
 

Detailed Description

Definition at line 90 of file dnn_interface.h.

Field Documentation

◆ load_model

DNNModel*(* DNNModule::load_model) (const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)

Definition at line 92 of file dnn_interface.h.

Referenced by ff_get_dnn_module().

◆ execute_model

DNNReturnType(* DNNModule::execute_model) (const DNNModel *model, const char *input_name, AVFrame *in_frame, const char **output_names, uint32_t nb_output, AVFrame *out_frame)

Definition at line 94 of file dnn_interface.h.

Referenced by ff_get_dnn_module().

◆ execute_model_async

DNNReturnType(* DNNModule::execute_model_async) (const DNNModel *model, const char *input_name, AVFrame *in_frame, const char **output_names, uint32_t nb_output, AVFrame *out_frame)

Definition at line 97 of file dnn_interface.h.

Referenced by ff_get_dnn_module().

◆ get_async_result

DNNAsyncStatusType(* DNNModule::get_async_result) (const DNNModel *model, AVFrame **in, AVFrame **out)

Definition at line 100 of file dnn_interface.h.

Referenced by ff_get_dnn_module().

◆ flush

DNNReturnType(* DNNModule::flush) (const DNNModel *model)

Definition at line 102 of file dnn_interface.h.

Referenced by ff_get_dnn_module().

◆ free_model

void(* DNNModule::free_model) (DNNModel **model)

Definition at line 104 of file dnn_interface.h.

Referenced by ff_get_dnn_module().


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