FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "internal.h"
#include "video.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 [] |
const AVFilter | ff_vf_find_rect |
#define MAX_MIPMAPS 5 |
Definition at line 32 of file vf_find_rect.c.
#define OFFSET | ( | x | ) | offsetof(FOCContext, x) |
Definition at line 47 of file vf_find_rect.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 48 of file vf_find_rect.c.
AVFILTER_DEFINE_CLASS | ( | find_rect | ) |
Definition at line 63 of file vf_find_rect.c.
Referenced by filter_frame(), and init().
Definition at line 96 of file vf_find_rect.c.
Referenced by ff_interleave_add_packet(), search(), smc_encode_stream(), and update_hmvp().
|
static |
Definition at line 134 of file vf_find_rect.c.
|
static |
Definition at line 147 of file vf_find_rect.c.
Referenced by encode_blocks(), and filter_frame().
|
static |
Definition at line 173 of file vf_find_rect.c.
|
static |
Definition at line 227 of file vf_find_rect.c.
|
static |
Definition at line 242 of file vf_find_rect.c.
|
static |
Definition at line 49 of file vf_find_rect.c.
|
static |
Definition at line 276 of file vf_find_rect.c.
const AVFilter ff_vf_find_rect |
Definition at line 285 of file vf_find_rect.c.