FFmpeg
Functions
dnn_io_proc.c File Reference
#include "dnn_io_proc.h"
#include "libavutil/imgutils.h"
#include "libswscale/swscale.h"
#include "libavutil/avassert.h"

Go to the source code of this file.

Functions

DNNReturnType ff_proc_from_dnn_to_frame (AVFrame *frame, DNNData *output, void *log_ctx)
 
static DNNReturnType proc_from_frame_to_dnn_frameprocessing (AVFrame *frame, DNNData *input, void *log_ctx)
 
static enum AVPixelFormat get_pixel_format (DNNData *data)
 
static DNNReturnType proc_from_frame_to_dnn_analytics (AVFrame *frame, DNNData *input, void *log_ctx)
 
DNNReturnType ff_proc_from_frame_to_dnn (AVFrame *frame, DNNData *input, DNNFunctionType func_type, void *log_ctx)
 

Function Documentation

◆ 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().

◆ proc_from_frame_to_dnn_frameprocessing()

static DNNReturnType proc_from_frame_to_dnn_frameprocessing ( AVFrame frame,
DNNData input,
void *  log_ctx 
)
static

Definition at line 96 of file dnn_io_proc.c.

Referenced by ff_proc_from_frame_to_dnn().

◆ get_pixel_format()

static enum AVPixelFormat get_pixel_format ( DNNData data)
static

Definition at line 168 of file dnn_io_proc.c.

Referenced by proc_from_frame_to_dnn_analytics().

◆ proc_from_frame_to_dnn_analytics()

static DNNReturnType proc_from_frame_to_dnn_analytics ( AVFrame frame,
DNNData input,
void *  log_ctx 
)
static

Definition at line 178 of file dnn_io_proc.c.

Referenced by ff_proc_from_frame_to_dnn().

◆ 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().