FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "lavfutils.h"
Go to the source code of this file.
Data Structures | |
struct | FOCContext |
Macros | |
#define | MAX_MIPMAPS 5 |
#define | OFFSET(x) offsetof(FOCContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Functions | |
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) |
Variables | |
static const AVOption | find_rect_options [] |
static const AVFilterPad | foc_inputs [] |
static const AVFilterPad | foc_outputs [] |
const AVFilter | ff_vf_find_rect |
#define MAX_MIPMAPS 5 |
Definition at line 31 of file vf_find_rect.c.
#define OFFSET | ( | x | ) | offsetof(FOCContext, x) |
Definition at line 46 of file vf_find_rect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 47 of file vf_find_rect.c.
AVFILTER_DEFINE_CLASS | ( | find_rect | ) |
Definition at line 62 of file vf_find_rect.c.
Referenced by filter_frame(), and init().
Definition at line 95 of file vf_find_rect.c.
Referenced by ff_interleave_add_packet(), search(), and smc_encode_stream().
|
static |
Definition at line 133 of file vf_find_rect.c.
|
static |
Definition at line 146 of file vf_find_rect.c.
Referenced by encode_blocks(), and filter_frame().
|
static |
Definition at line 172 of file vf_find_rect.c.
|
static |
Definition at line 226 of file vf_find_rect.c.
|
static |
Definition at line 241 of file vf_find_rect.c.
|
static |
Definition at line 48 of file vf_find_rect.c.
|
static |
Definition at line 275 of file vf_find_rect.c.
|
static |
Definition at line 284 of file vf_find_rect.c.
const AVFilter ff_vf_find_rect |
Definition at line 291 of file vf_find_rect.c.