FFmpeg
Data Structures | Enumerations | Functions
dnn_interface.h File Reference
#include <stdint.h>
#include "libavutil/frame.h"
#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  DNNData
 
struct  DNNModel
 
struct  DNNModule
 

Enumerations

enum  DNNReturnType { DNN_SUCCESS, DNN_ERROR }
 
enum  DNNBackendType { DNN_NATIVE, DNN_TF, DNN_OV }
 
enum  DNNDataType { DNN_FLOAT = 1, DNN_UINT8 = 4 }
 
enum  DNNColorOrder { DCO_NONE, DCO_BGR }
 
enum  DNNAsyncStatusType { DAST_FAIL, DAST_EMPTY_QUEUE, DAST_NOT_READY, DAST_SUCCESS }
 
enum  DNNFunctionType { DFT_NONE, DFT_PROCESS_FRAME, DFT_ANALYTICS_DETECT }
 

Functions

DNNModuleff_get_dnn_module (DNNBackendType backend_type)
 

Detailed Description

DNN inference engine interface.

Definition in file dnn_interface.h.

Enumeration Type Documentation

◆ DNNReturnType

Enumerator
DNN_SUCCESS 
DNN_ERROR 

Definition at line 33 of file dnn_interface.h.

◆ DNNBackendType

Enumerator
DNN_NATIVE 
DNN_TF 
DNN_OV 

Definition at line 35 of file dnn_interface.h.

◆ DNNDataType

Enumerator
DNN_FLOAT 
DNN_UINT8 

Definition at line 37 of file dnn_interface.h.

◆ DNNColorOrder

Enumerator
DCO_NONE 
DCO_BGR 

Definition at line 39 of file dnn_interface.h.

◆ DNNAsyncStatusType

Enumerator
DAST_FAIL 
DAST_EMPTY_QUEUE 
DAST_NOT_READY 
DAST_SUCCESS 

Definition at line 44 of file dnn_interface.h.

◆ DNNFunctionType

Enumerator
DFT_NONE 
DFT_PROCESS_FRAME 
DFT_ANALYTICS_DETECT 

Definition at line 51 of file dnn_interface.h.

Function Documentation

◆ ff_get_dnn_module()

DNNModule* ff_get_dnn_module ( DNNBackendType  backend_type)

Definition at line 32 of file dnn_interface.c.

Referenced by ff_dnn_init().