FFmpeg
|
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
#include "framesync.h"
#include "internal.h"
#include "video.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 58 of file vf_identity.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 59 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 61 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 71 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 95 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 123 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 152 of file vf_identity.c.
Referenced by do_identity().
|
static |
Definition at line 170 of file vf_identity.c.
Referenced by init().
|
static |
Definition at line 235 of file vf_identity.c.
|
static |
Definition at line 259 of file vf_identity.c.
|
static |
Definition at line 313 of file vf_identity.c.
|
static |
Definition at line 342 of file vf_identity.c.
|
static |
Definition at line 348 of file vf_identity.c.
|
static |
Definition at line 244 of file vf_identity.c.
|
static |
Definition at line 375 of file vf_identity.c.
|
static |
Definition at line 386 of file vf_identity.c.
|
static |
Definition at line 394 of file vf_identity.c.