FFmpeg
|
#include "libavutil/file_open.h"
#include "libavutil/opt.h"
#include "filters.h"
#include "dnn_filter_common.h"
#include "internal.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 | DnnDetectContext |
Macros | |
#define | OFFSET(x) offsetof(DnnDetectContext, dnnctx.x) |
#define | OFFSET2(x) offsetof(DnnDetectContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (dnn_detect) | |
static int | dnn_detect_post_proc_ov (AVFrame *frame, DNNData *output, AVFilterContext *filter_ctx) |
static int | dnn_detect_post_proc_tf (AVFrame *frame, DNNData *output, AVFilterContext *filter_ctx) |
static int | dnn_detect_post_proc (AVFrame *frame, DNNData *output, uint32_t nb, AVFilterContext *filter_ctx) |
static void | free_detect_labels (DnnDetectContext *ctx) |
static int | read_detect_label_file (AVFilterContext *context) |
static int | check_output_nb (DnnDetectContext *ctx, DNNBackendType backend_type, int output_nb) |
static av_cold int | dnn_detect_init (AVFilterContext *context) |
static int | dnn_detect_flush_frame (AVFilterLink *outlink, int64_t pts, int64_t *out_pts) |
static int | dnn_detect_activate (AVFilterContext *filter_ctx) |
static av_cold void | dnn_detect_uninit (AVFilterContext *context) |
Variables | |
static const AVOption | dnn_detect_options [] |
static enum AVPixelFormat | pix_fmts [] |
const AVFilter | ff_vf_dnn_detect |
implementing an object detecting filter using deep learning networks.
Definition in file vf_dnn_detect.c.
#define OFFSET | ( | x | ) | offsetof(DnnDetectContext, dnnctx.x) |
Definition at line 43 of file vf_dnn_detect.c.
#define OFFSET2 | ( | x | ) | offsetof(DnnDetectContext, x) |
Definition at line 44 of file vf_dnn_detect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 45 of file vf_dnn_detect.c.
AVFILTER_DEFINE_CLASS | ( | dnn_detect | ) |
|
static |
Definition at line 62 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 138 of file vf_dnn_detect.c.
Referenced by dnn_detect_post_proc().
|
static |
Definition at line 213 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 228 of file vf_dnn_detect.c.
Referenced by dnn_detect_uninit().
|
static |
Definition at line 237 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 295 of file vf_dnn_detect.c.
Referenced by dnn_detect_init().
|
static |
Definition at line 319 of file vf_dnn_detect.c.
|
static |
Definition at line 348 of file vf_dnn_detect.c.
Referenced by dnn_detect_activate().
|
static |
Definition at line 376 of file vf_dnn_detect.c.
|
static |
Definition at line 432 of file vf_dnn_detect.c.
|
static |
Definition at line 46 of file vf_dnn_detect.c.
|
static |
Definition at line 339 of file vf_dnn_detect.c.
const AVFilter ff_vf_dnn_detect |
Definition at line 439 of file vf_dnn_detect.c.