#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "filters.h"
#include "video.h"
#include "lavfutils.h"
Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (find_rect) |
|
static AVFrame * | downscale (AVFrame *in) |
|
static float | compare (const AVFrame *haystack, const AVFrame *obj, int offx, int offy) |
|
static int | config_input (AVFilterLink *inlink) |
|
static float | search (FOCContext *foc, int pass, int maxpass, int xmin, int xmax, int ymin, int ymax, int *best_x, int *best_y, float best_score) |
|
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
|
static av_cold void | uninit (AVFilterContext *ctx) |
|
static av_cold int | init (AVFilterContext *ctx) |
|
◆ MAX_MIPMAPS
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
find_rect |
| ) |
|
◆ downscale()
◆ compare()
◆ config_input()
◆ search()
static float search |
( |
FOCContext * |
foc, |
|
|
int |
pass, |
|
|
int |
maxpass, |
|
|
int |
xmin, |
|
|
int |
xmax, |
|
|
int |
ymin, |
|
|
int |
ymax, |
|
|
int * |
best_x, |
|
|
int * |
best_y, |
|
|
float |
best_score |
|
) |
| |
|
static |
◆ filter_frame()
◆ uninit()
◆ init()
◆ find_rect_options
◆ foc_inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 278 of file vf_find_rect.c.
◆ ff_vf_find_rect
Initial value:= {
.p.name = "find_rect",
.p.priv_class = &find_rect_class,
}
Definition at line 287 of file vf_find_rect.c.