FFmpeg
|
#include "dnn_interface.h"
Go to the source code of this file.
Data Structures | |
struct | DnnContext |
Macros | |
#define | DNN_COMMON_OPTIONS |
Functions | |
int | ff_dnn_init (DnnContext *ctx, DNNFunctionType func_type, AVFilterContext *filter_ctx) |
DNNReturnType | ff_dnn_get_input (DnnContext *ctx, DNNData *input) |
DNNReturnType | ff_dnn_get_output (DnnContext *ctx, int input_width, int input_height, int *output_width, int *output_height) |
DNNReturnType | ff_dnn_execute_model (DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame) |
DNNReturnType | ff_dnn_execute_model_async (DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame) |
DNNAsyncStatusType | ff_dnn_get_async_result (DnnContext *ctx, AVFrame **in_frame, AVFrame **out_frame) |
DNNReturnType | ff_dnn_flush (DnnContext *ctx) |
void | ff_dnn_uninit (DnnContext *ctx) |
common functions for the dnn based filters
Definition in file dnn_filter_common.h.
#define DNN_COMMON_OPTIONS |
Definition at line 41 of file dnn_filter_common.h.
int ff_dnn_init | ( | DnnContext * | ctx, |
DNNFunctionType | func_type, | ||
AVFilterContext * | filter_ctx | ||
) |
Definition at line 21 of file dnn_filter_common.c.
Referenced by init().
DNNReturnType ff_dnn_get_input | ( | DnnContext * | ctx, |
DNNData * | input | ||
) |
Definition at line 67 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 72 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 78 of file dnn_filter_common.c.
Referenced by filter_frame().
DNNReturnType ff_dnn_execute_model_async | ( | DnnContext * | ctx, |
AVFrame * | in_frame, | ||
AVFrame * | out_frame | ||
) |
Definition at line 84 of file dnn_filter_common.c.
Referenced by activate_async().
DNNAsyncStatusType ff_dnn_get_async_result | ( | DnnContext * | ctx, |
AVFrame ** | in_frame, | ||
AVFrame ** | out_frame | ||
) |
Definition at line 90 of file dnn_filter_common.c.
Referenced by activate_async(), and flush_frame().
DNNReturnType ff_dnn_flush | ( | DnnContext * | ctx | ) |
Definition at line 95 of file dnn_filter_common.c.
Referenced by flush_frame().
void ff_dnn_uninit | ( | DnnContext * | ctx | ) |
Definition at line 100 of file dnn_filter_common.c.
Referenced by uninit().