FFmpeg
Classes | Macros | Typedefs | Functions | Variables
vf_lenscorrection.c File Reference

Lenscorrection filter, algorithm from the frei0r plugin with the same name. More...

#include <stdlib.h>
#include <math.h>
#include "libavutil/opt.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"

Classes

struct  LenscorrectionCtx
 
struct  ThreadData
 

Macros

#define FLAGS   AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM
 

Typedefs

typedef struct LenscorrectionCtx LenscorrectionCtx
 
typedef struct ThreadData ThreadData
 

Functions

 AVFILTER_DEFINE_CLASS (lenscorrection)
 

Variables

AVFilter ff_vf_lenscorrection
 

Detailed Description

Lenscorrection filter, algorithm from the frei0r plugin with the same name.

Variable Documentation

§ ff_vf_lenscorrection

AVFilter ff_vf_lenscorrection
Initial value:
= {
.name = "lenscorrection",
.description = NULL_IF_CONFIG_SMALL("Rectify the image by correcting for lens distortion."),
.priv_size = sizeof(LenscorrectionCtx),
.query_formats = query_formats,
.inputs = lenscorrection_inputs,
.outputs = lenscorrection_outputs,
.priv_class = &lenscorrection_class,
.uninit = uninit,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:116
Definition: vf_lenscorrection.c:37