FFmpeg
|
#include "config_components.h"
#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 60 of file vf_identity.c.
#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 61 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 63 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 73 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 97 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 125 of file vf_identity.c.
Referenced by config_input_ref().
|
static |
Definition at line 154 of file vf_identity.c.
Referenced by do_identity().
|
static |
Definition at line 172 of file vf_identity.c.
Referenced by init().
|
static |
Definition at line 237 of file vf_identity.c.
|
static |
Definition at line 261 of file vf_identity.c.
|
static |
Definition at line 315 of file vf_identity.c.
|
static |
Definition at line 344 of file vf_identity.c.
|
static |
Definition at line 350 of file vf_identity.c.
|
static |
Definition at line 246 of file vf_identity.c.
|
static |
Definition at line 377 of file vf_identity.c.
|
static |
Definition at line 388 of file vf_identity.c.
|
static |
Definition at line 396 of file vf_identity.c.