FFmpeg
|
#include "libavformat/avio.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/avassert.h"
#include "libavutil/imgutils.h"
#include "filters.h"
#include "dnn_filter_common.h"
#include "formats.h"
#include "internal.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_DEFINE_CLASS (dnn_classify) | |
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 [] |
static const AVFilterPad | dnn_classify_inputs [] |
static const AVFilterPad | dnn_classify_outputs [] |
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 47 of file vf_dnn_classify.c.
#define OFFSET2 | ( | x | ) | offsetof(DnnClassifyContext, x) |
Definition at line 48 of file vf_dnn_classify.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 49 of file vf_dnn_classify.c.
AVFILTER_DEFINE_CLASS | ( | dnn_classify | ) |
|
static |
Definition at line 64 of file vf_dnn_classify.c.
Referenced by dnn_classify_init().
|
static |
Definition at line 119 of file vf_dnn_classify.c.
Referenced by dnn_classify_uninit().
|
static |
Definition at line 128 of file vf_dnn_classify.c.
Referenced by dnn_classify_init().
|
static |
Definition at line 186 of file vf_dnn_classify.c.
|
static |
Definition at line 209 of file vf_dnn_classify.c.
Referenced by dnn_classify_activate().
|
static |
Definition at line 237 of file vf_dnn_classify.c.
|
static |
Definition at line 293 of file vf_dnn_classify.c.
|
static |
Definition at line 50 of file vf_dnn_classify.c.
|
static |
Definition at line 200 of file vf_dnn_classify.c.
|
static |
Definition at line 300 of file vf_dnn_classify.c.
|
static |
Definition at line 307 of file vf_dnn_classify.c.
const AVFilter ff_vf_dnn_classify |
Definition at line 314 of file vf_dnn_classify.c.