FFmpeg
|
#include "libavutil/file_open.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "filters.h"
#include "dnn_filter_common.h"
#include "video.h"
#include "libavutil/time.h"
#include "libavutil/avstring.h"
#include "libavutil/detection_bbox.h"
Go to the source code of this file.
Data Structures | |
struct | DnnClassifyContext |
Macros | |
#define | OFFSET(x) offsetof(DnnClassifyContext, dnnctx.x) |
#define | OFFSET2(x) offsetof(DnnClassifyContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DNN_DEFINE_CLASS (dnn_classify, DNN_OV) | |
static int | dnn_classify_post_proc (AVFrame *frame, DNNData *output, uint32_t bbox_index, AVFilterContext *filter_ctx) |
static void | free_classify_labels (DnnClassifyContext *ctx) |
static int | read_classify_label_file (AVFilterContext *context) |
static av_cold int | dnn_classify_init (AVFilterContext *context) |
static int | dnn_classify_flush_frame (AVFilterLink *outlink, int64_t pts, int64_t *out_pts) |
static int | dnn_classify_activate (AVFilterContext *filter_ctx) |
static av_cold void | dnn_classify_uninit (AVFilterContext *context) |
Variables | |
static const AVOption | dnn_classify_options [] |
static enum AVPixelFormat | pix_fmts [] |
const AVFilter | ff_vf_dnn_classify |
implementing an classification filter using deep learning networks.
Definition in file vf_dnn_classify.c.
#define OFFSET | ( | x | ) | offsetof(DnnClassifyContext, dnnctx.x) |
Definition at line 44 of file vf_dnn_classify.c.
#define OFFSET2 | ( | x | ) | offsetof(DnnClassifyContext, x) |
Definition at line 45 of file vf_dnn_classify.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 46 of file vf_dnn_classify.c.
AVFILTER_DNN_DEFINE_CLASS | ( | dnn_classify | , |
DNN_OV | |||
) |
|
static |
Definition at line 60 of file vf_dnn_classify.c.
Referenced by dnn_classify_init().
|
static |
Definition at line 115 of file vf_dnn_classify.c.
Referenced by dnn_classify_uninit().
|
static |
Definition at line 124 of file vf_dnn_classify.c.
Referenced by dnn_classify_init().
|
static |
Definition at line 182 of file vf_dnn_classify.c.
|
static |
Definition at line 205 of file vf_dnn_classify.c.
Referenced by dnn_classify_activate().
|
static |
Definition at line 233 of file vf_dnn_classify.c.
|
static |
Definition at line 289 of file vf_dnn_classify.c.
|
static |
Definition at line 47 of file vf_dnn_classify.c.
|
static |
Definition at line 196 of file vf_dnn_classify.c.
const AVFilter ff_vf_dnn_classify |
Definition at line 296 of file vf_dnn_classify.c.