FFmpeg
|
libopencv wrapper functions More...
#include <opencv/cv.h>
#include <opencv/cxcore.h>
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/file.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | OCVContext |
struct | SmoothContext |
struct | DilateContext |
struct | OCVFilterEntry |
Macros | |
#define | OFFSET(x) offsetof(OCVContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static void | fill_iplimage_from_frame (IplImage *img, const AVFrame *frame, enum AVPixelFormat pixfmt) |
static void | fill_frame_from_iplimage (AVFrame *frame, const IplImage *img, enum AVPixelFormat pixfmt) |
static int | query_formats (AVFilterContext *ctx) |
static av_cold int | smooth_init (AVFilterContext *ctx, const char *args) |
static void | smooth_end_frame_filter (AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) |
static int | read_shape_from_file (int *cols, int *rows, int **values, const char *filename, void *log_ctx) |
static int | parse_iplconvkernel (IplConvKernel **kernel, char *buf, void *log_ctx) |
static av_cold int | dilate_init (AVFilterContext *ctx, const char *args) |
static av_cold void | dilate_uninit (AVFilterContext *ctx) |
static void | dilate_end_frame_filter (AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) |
static void | erode_end_frame_filter (AVFilterContext *ctx, IplImage *inimg, IplImage *outimg) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
AVFILTER_DEFINE_CLASS (ocv) | |
Variables | |
static OCVFilterEntry | ocv_filter_entries [] |
static const AVOption | ocv_options [] |
static const AVFilterPad | avfilter_vf_ocv_inputs [] |
static const AVFilterPad | avfilter_vf_ocv_outputs [] |
AVFilter | avfilter_vf_ocv |
libopencv wrapper functions
Definition in file vf_libopencv.c.
#define OFFSET | ( | x | ) | offsetof(OCVContext, x) |
Definition at line 379 of file vf_libopencv.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 380 of file vf_libopencv.c.
|
static |
Definition at line 37 of file vf_libopencv.c.
Referenced by filter_frame().
|
static |
Definition at line 55 of file vf_libopencv.c.
Referenced by filter_frame().
|
static |
Definition at line 61 of file vf_libopencv.c.
|
static |
Definition at line 87 of file vf_libopencv.c.
|
static |
Definition at line 130 of file vf_libopencv.c.
|
static |
Definition at line 137 of file vf_libopencv.c.
Referenced by parse_iplconvkernel().
|
static |
Definition at line 204 of file vf_libopencv.c.
Referenced by dilate_init().
|
static |
Definition at line 253 of file vf_libopencv.c.
|
static |
Definition at line 283 of file vf_libopencv.c.
|
static |
Definition at line 291 of file vf_libopencv.c.
|
static |
Definition at line 298 of file vf_libopencv.c.
|
static |
Definition at line 319 of file vf_libopencv.c.
|
static |
Definition at line 345 of file vf_libopencv.c.
|
static |
Definition at line 354 of file vf_libopencv.c.
AVFILTER_DEFINE_CLASS | ( | ocv | ) |
|
static |
Definition at line 313 of file vf_libopencv.c.
|
static |
Definition at line 381 of file vf_libopencv.c.
|
static |
Definition at line 389 of file vf_libopencv.c.
|
static |
Definition at line 398 of file vf_libopencv.c.
AVFilter avfilter_vf_ocv |
Definition at line 406 of file vf_libopencv.c.