FFmpeg
|
Go to the source code of this file.
Macros | |
#define | MAX_SUPPORTED_OUTPUTS_NB 4 |
#define MAX_SUPPORTED_OUTPUTS_NB 4 |
Definition at line 22 of file dnn_filter_common.c.
|
static |
Definition at line 24 of file dnn_filter_common.c.
Referenced by ff_dnn_init().
int ff_dnn_init | ( | DnnContext * | ctx, |
DNNFunctionType | func_type, | ||
AVFilterContext * | filter_ctx | ||
) |
Definition at line 54 of file dnn_filter_common.c.
Referenced by dnn_classify_init(), dnn_detect_init(), and init().
int ff_dnn_set_frame_proc | ( | DnnContext * | ctx, |
FramePrePostProc | pre_proc, | ||
FramePrePostProc | post_proc | ||
) |
Definition at line 90 of file dnn_filter_common.c.
int ff_dnn_set_detect_post_proc | ( | DnnContext * | ctx, |
DetectPostProc | post_proc | ||
) |
Definition at line 97 of file dnn_filter_common.c.
Referenced by dnn_detect_init().
int ff_dnn_set_classify_post_proc | ( | DnnContext * | ctx, |
ClassifyPostProc | post_proc | ||
) |
Definition at line 103 of file dnn_filter_common.c.
Referenced by dnn_classify_init().
DNNReturnType ff_dnn_get_input | ( | DnnContext * | ctx, |
DNNData * | input | ||
) |
Definition at line 109 of file dnn_filter_common.c.
Referenced by config_input().
DNNReturnType ff_dnn_get_output | ( | DnnContext * | ctx, |
int | input_width, | ||
int | input_height, | ||
int * | output_width, | ||
int * | output_height | ||
) |
Definition at line 114 of file dnn_filter_common.c.
Referenced by config_output().
DNNReturnType ff_dnn_execute_model | ( | DnnContext * | ctx, |
AVFrame * | in_frame, | ||
AVFrame * | out_frame | ||
) |
Definition at line 120 of file dnn_filter_common.c.
Referenced by activate(), dnn_detect_activate(), and filter_frame().
DNNReturnType ff_dnn_execute_model_classification | ( | DnnContext * | ctx, |
AVFrame * | in_frame, | ||
AVFrame * | out_frame, | ||
const char * | target | ||
) |
Definition at line 132 of file dnn_filter_common.c.
Referenced by dnn_classify_activate().
DNNAsyncStatusType ff_dnn_get_result | ( | DnnContext * | ctx, |
AVFrame ** | in_frame, | ||
AVFrame ** | out_frame | ||
) |
Definition at line 147 of file dnn_filter_common.c.
Referenced by activate(), dnn_classify_activate(), dnn_classify_flush_frame(), dnn_detect_activate(), dnn_detect_flush_frame(), filter_frame(), and flush_frame().
DNNReturnType ff_dnn_flush | ( | DnnContext * | ctx | ) |
Definition at line 152 of file dnn_filter_common.c.
Referenced by dnn_classify_flush_frame(), dnn_detect_flush_frame(), and flush_frame().
void ff_dnn_uninit | ( | DnnContext * | ctx | ) |
Definition at line 157 of file dnn_filter_common.c.
Referenced by dnn_classify_uninit(), dnn_detect_uninit(), and uninit().