|
FFmpeg
|
common functions for the dnn based filters More...
#include "dnn_interface.h"Go to the source code of this file.
Macros | |
| #define | DNN_FILTER_CHILD_CLASS_ITERATE(name, backend_mask) |
| #define | AVFILTER_DNN_DEFINE_CLASS_EXT(name, desc, options) |
| #define | AVFILTER_DNN_DEFINE_CLASS(fname, backend_mask) |
common functions for the dnn based filters
Definition in file dnn_filter_common.h.
| #define DNN_FILTER_CHILD_CLASS_ITERATE | ( | name, | |
| backend_mask ) |
Definition at line 29 of file dnn_filter_common.h.
Definition at line 35 of file dnn_filter_common.h.
| #define AVFILTER_DNN_DEFINE_CLASS | ( | fname, | |
| backend_mask ) |
Definition at line 46 of file dnn_filter_common.h.
| void * ff_dnn_filter_child_next | ( | void * | obj, |
| void * | prev ) |
Definition at line 78 of file dnn_filter_common.c.
| int ff_dnn_filter_init_child_class | ( | AVFilterContext * | filter | ) |
Definition at line 72 of file dnn_filter_common.c.
| int ff_dnn_init | ( | DnnContext * | ctx, |
| DNNFunctionType | func_type, | ||
| AVFilterContext * | filter_ctx ) |
Definition at line 84 of file dnn_filter_common.c.
Referenced by dnn_classify_init(), dnn_detect_init(), init(), init(), and init().
| int ff_dnn_set_frame_proc | ( | DnnContext * | ctx, |
| FramePrePostProc | pre_proc, | ||
| FramePrePostProc | post_proc ) |
Definition at line 164 of file dnn_filter_common.c.
| int ff_dnn_set_detect_post_proc | ( | DnnContext * | ctx, |
| DetectPostProc | post_proc ) |
Definition at line 171 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 177 of file dnn_filter_common.c.
Referenced by dnn_classify_init().
| int ff_dnn_get_input | ( | DnnContext * | ctx, |
| DNNData * | input ) |
Definition at line 183 of file dnn_filter_common.c.
Referenced by config_input(), and config_input().
| int ff_dnn_get_output | ( | DnnContext * | ctx, |
| int | input_width, | ||
| int | input_height, | ||
| int * | output_width, | ||
| int * | output_height ) |
Definition at line 188 of file dnn_filter_common.c.
Referenced by config_output(), and config_output().
| int ff_dnn_execute_model | ( | DnnContext * | ctx, |
| AVFrame * | in_frame, | ||
| AVFrame * | out_frame ) |
Definition at line 196 of file dnn_filter_common.c.
Referenced by activate(), dnn_detect_activate(), filter_frame(), and filter_frame().
| int ff_dnn_execute_model_classification | ( | DnnContext * | ctx, |
| AVFrame * | in_frame, | ||
| AVFrame * | out_frame, | ||
| const char * | target ) |
Definition at line 208 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 223 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(), filter_frame(), and flush_frame().
| int ff_dnn_flush | ( | DnnContext * | ctx | ) |
Definition at line 228 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 233 of file dnn_filter_common.c.
Referenced by dnn_classify_uninit(), dnn_detect_uninit(), uninit(), uninit(), and uninit().