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

int ff_proc_from_frame_to_dnn (AVFrame *frame, DNNData *input, void *log_ctx)
 
int ff_proc_from_dnn_to_frame (AVFrame *frame, DNNData *output, void *log_ctx)
 
int ff_frame_to_dnn_detect (AVFrame *frame, DNNData *input, void *log_ctx)
 
int ff_frame_to_dnn_classify (AVFrame *frame, DNNData *input, uint32_t bbox_index, 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()

int ff_proc_from_frame_to_dnn ( AVFrame frame,
DNNData input,
void *  log_ctx 
)

Definition at line 182 of file dnn_io_proc.c.

Referenced by fill_model_input_ov(), fill_model_input_tf(), and fill_model_input_th().

◆ ff_proc_from_dnn_to_frame()

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

Definition at line 42 of file dnn_io_proc.c.

Referenced by infer_completion_callback().

◆ ff_frame_to_dnn_detect()

int ff_frame_to_dnn_detect ( AVFrame frame,
DNNData input,
void *  log_ctx 
)

Definition at line 423 of file dnn_io_proc.c.

Referenced by fill_model_input_ov(), and fill_model_input_tf().

◆ ff_frame_to_dnn_classify()

int ff_frame_to_dnn_classify ( AVFrame frame,
DNNData input,
uint32_t  bbox_index,
void *  log_ctx 
)

Definition at line 340 of file dnn_io_proc.c.

Referenced by fill_model_input_ov().