FFmpeg
|
#include "config_components.h"
#include "libavutil/avstring.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "filters.h"
#include "framesync.h"
#include "scene_sad.h"
Go to the source code of this file.
Data Structures | |
struct | IdentityContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | OFFSET(x) offsetof(IdentityContext, x) |
#define | FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
#define | PF_NOALPHA(suf) AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
#define | PF_ALPHA(suf) AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
#define | PF(suf) PF_NOALPHA(suf), PF_ALPHA(suf) |
Functions | |
static unsigned | identity_line_8bit (const uint8_t *main_line, const uint8_t *ref_line, int outw) |
static unsigned | identity_line_16bit (const uint8_t *mmain_line, const uint8_t *rref_line, int outw) |
static int | compute_images_msad (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | compute_images_identity (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static void | set_meta (AVFilterContext *ctx, AVDictionary **metadata, const char *key, char comp, float d) |
static int | do_identity (FFFrameSync *fs) |
static av_cold int | init (AVFilterContext *ctx) |
static int | config_input_ref (AVFilterLink *inlink) |
static int | config_output (AVFilterLink *outlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static enum AVPixelFormat | pix_fmts [] |
static const AVFilterPad | identity_inputs [] |
static const AVFilterPad | identity_outputs [] |
static const AVOption | options [] |
Calculate the Identity between two input videos.
Definition in file vf_identity.c.
#define OFFSET | ( | x | ) | offsetof(IdentityContext, x) |
Definition at line 59 of file vf_identity.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 60 of file vf_identity.c.
#define PF_NOALPHA | ( | suf | ) | AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf |
#define PF_ALPHA | ( | suf | ) | AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf |
#define PF | ( | suf | ) | PF_NOALPHA(suf), PF_ALPHA(suf) |
|
static |
Definition at line 62 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 72 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 96 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 124 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 153 of file vf_identity.c.
Referenced by do_identity().
|
static |
Definition at line 171 of file vf_identity.c.
Referenced by init().
|
static |
Definition at line 236 of file vf_identity.c.
|
static |
Definition at line 260 of file vf_identity.c.
|
static |
Definition at line 314 of file vf_identity.c.
|
static |
Definition at line 345 of file vf_identity.c.
|
static |
Definition at line 351 of file vf_identity.c.
|
static |
Definition at line 245 of file vf_identity.c.
|
static |
Definition at line 378 of file vf_identity.c.
|
static |
Definition at line 389 of file vf_identity.c.
|
static |
Definition at line 397 of file vf_identity.c.