FFmpeg
Functions
dnn_io_proc.h File Reference
#include "../dnn_interface.h"
#include "libavutil/frame.h"

Go to the source code of this file.

Functions

DNNReturnType ff_proc_from_frame_to_dnn (AVFrame *frame, DNNData *input, DNNFunctionType func_type, void *log_ctx)
 
DNNReturnType ff_proc_from_dnn_to_frame (AVFrame *frame, DNNData *output, void *log_ctx)
 

Detailed Description

DNN input&output process between AVFrame and DNNData.

Definition in file dnn_io_proc.h.

Function Documentation

◆ ff_proc_from_frame_to_dnn()

DNNReturnType ff_proc_from_frame_to_dnn ( AVFrame frame,
DNNData input,
DNNFunctionType  func_type,
void *  log_ctx 
)

Definition at line 207 of file dnn_io_proc.c.

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

◆ ff_proc_from_dnn_to_frame()

DNNReturnType ff_proc_from_dnn_to_frame ( AVFrame frame,
DNNData output,
void *  log_ctx 
)

Definition at line 26 of file dnn_io_proc.c.

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