FFmpeg
|
#include "dnn_io_proc.h"
#include "libavutil/imgutils.h"
#include "libswscale/swscale.h"
#include "libavutil/avassert.h"
#include "libavutil/detection_bbox.h"
Go to the source code of this file.
Functions | |
DNNReturnType | ff_proc_from_dnn_to_frame (AVFrame *frame, DNNData *output, void *log_ctx) |
DNNReturnType | ff_proc_from_frame_to_dnn (AVFrame *frame, DNNData *input, void *log_ctx) |
static enum AVPixelFormat | get_pixel_format (DNNData *data) |
DNNReturnType | ff_frame_to_dnn_classify (AVFrame *frame, DNNData *input, uint32_t bbox_index, void *log_ctx) |
DNNReturnType | ff_frame_to_dnn_detect (AVFrame *frame, DNNData *input, void *log_ctx) |
DNNReturnType ff_proc_from_dnn_to_frame | ( | AVFrame * | frame, |
DNNData * | output, | ||
void * | log_ctx | ||
) |
Definition at line 27 of file dnn_io_proc.c.
Referenced by execute_model_native(), and infer_completion_callback().
DNNReturnType ff_proc_from_frame_to_dnn | ( | AVFrame * | frame, |
DNNData * | input, | ||
void * | log_ctx | ||
) |
Definition at line 100 of file dnn_io_proc.c.
Referenced by execute_model_native(), fill_model_input_ov(), and fill_model_input_tf().
|
static |
Definition at line 175 of file dnn_io_proc.c.
Referenced by ff_frame_to_dnn_classify(), and ff_frame_to_dnn_detect().
DNNReturnType ff_frame_to_dnn_classify | ( | AVFrame * | frame, |
DNNData * | input, | ||
uint32_t | bbox_index, | ||
void * | log_ctx | ||
) |
Definition at line 193 of file dnn_io_proc.c.
Referenced by fill_model_input_ov().
DNNReturnType ff_frame_to_dnn_detect | ( | AVFrame * | frame, |
DNNData * | input, | ||
void * | log_ctx | ||
) |
Definition at line 252 of file dnn_io_proc.c.
Referenced by fill_model_input_ov(), and fill_model_input_tf().