FFmpeg
|
#include "../dnn_interface.h"
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavfilter/filters.h"
Go to the source code of this file.
Data Structures | |
struct | DnnBackendInfo |
Macros | |
#define | OFFSET(x) offsetof(DnnContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (dnn_base) | |
const DNNModule * | ff_get_dnn_module (DNNBackendType backend_type, void *log_ctx) |
void | ff_dnn_init_child_class (DnnContext *ctx) |
void * | ff_dnn_child_next (DnnContext *obj, void *prev) |
const AVClass * | ff_dnn_child_class_iterate_with_mask (void **iter, uint32_t backend_mask) |
Variables | |
const DNNModule | ff_dnn_backend_openvino |
const DNNModule | ff_dnn_backend_tf |
const DNNModule | ff_dnn_backend_torch |
static const AVOption | dnn_base_options [] |
static const DnnBackendInfo | dnn_backend_info_list [] |
Implements DNN module initialization with specified backend.
Definition in file dnn_interface.c.
#define OFFSET | ( | x | ) | offsetof(DnnContext, x) |
Definition at line 37 of file dnn_interface.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 38 of file dnn_interface.c.
AVFILTER_DEFINE_CLASS | ( | dnn_base | ) |
const DNNModule* ff_get_dnn_module | ( | DNNBackendType | backend_type, |
void * | log_ctx | ||
) |
Definition at line 83 of file dnn_interface.c.
Referenced by ff_dnn_init().
void ff_dnn_init_child_class | ( | DnnContext * | ctx | ) |
Definition at line 96 of file dnn_interface.c.
Referenced by ff_dnn_filter_init_child_class().
void* ff_dnn_child_next | ( | DnnContext * | obj, |
void * | prev | ||
) |
Definition at line 104 of file dnn_interface.c.
Referenced by ff_dnn_filter_child_next(), and ff_dnn_init().
const AVClass* ff_dnn_child_class_iterate_with_mask | ( | void ** | iter, |
uint32_t | backend_mask | ||
) |
Definition at line 124 of file dnn_interface.c.
const DNNModule ff_dnn_backend_openvino |
Referenced by get_output_ov().
const DNNModule ff_dnn_backend_tf |
Definition at line 886 of file dnn_backend_tf.c.
const DNNModule ff_dnn_backend_torch |
|
static |
Definition at line 39 of file dnn_interface.c.
|
static |
Definition at line 69 of file dnn_interface.c.
Referenced by ff_dnn_child_class_iterate_with_mask(), ff_dnn_child_next(), ff_dnn_init_child_class(), and ff_get_dnn_module().