Go to the documentation of this file.
26 #include "../dnn_interface.h"
50 #if (CONFIG_LIBTENSORFLOW == 1)
62 #if (CONFIG_LIBOPENVINO == 1)
DNNAsyncStatusType ff_dnn_get_result_tf(const DNNModel *model, AVFrame **in, AVFrame **out)
DNNAsyncStatusType(* get_result)(const DNNModel *model, AVFrame **in, AVFrame **out)
DNNModel * ff_dnn_load_model_native(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)
DNNModel *(* load_model)(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)
DNNModel * ff_dnn_load_model_ov(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)
DNNAsyncStatusType ff_dnn_get_result_native(const DNNModel *model, AVFrame **in, AVFrame **out)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
void ff_dnn_free_model_ov(DNNModel **model)
void ff_dnn_free_model_native(DNNModel **model)
DNNReturnType ff_dnn_execute_model_tf(const DNNModel *model, DNNExecBaseParams *exec_params)
DNNReturnType(* flush)(const DNNModel *model)
DNNReturnType ff_dnn_flush_tf(const DNNModel *model)
DNNReturnType(* execute_model)(const DNNModel *model, DNNExecBaseParams *exec_params)
DNNReturnType ff_dnn_flush_ov(const DNNModel *model)
DNNModel * ff_dnn_load_model_tf(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx)
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
DNNModule * ff_get_dnn_module(DNNBackendType backend_type)
void(* free_model)(DNNModel **model)
DNNReturnType ff_dnn_execute_model_native(const DNNModel *model, DNNExecBaseParams *exec_params)
void ff_dnn_free_model_tf(DNNModel **model)
DNNReturnType ff_dnn_execute_model_ov(const DNNModel *model, DNNExecBaseParams *exec_params)
DNNReturnType ff_dnn_flush_native(const DNNModel *model)
DNNAsyncStatusType ff_dnn_get_result_ov(const DNNModel *model, AVFrame **in, AVFrame **out)