FFmpeg
Data Fields
DeshakeContext Struct Reference

Data Fields

const AVClassclass
 
int counts [2 *MAX_R+1][2 *MAX_R+1]
 Scratch buffer for motion search. More...
 
doubleangles
 Scratch buffer for block angles. More...
 
unsigned angles_size
 
AVFrameref
 Previous frame. More...
 
int rx
 Maximum horizontal shift. More...
 
int ry
 Maximum vertical shift. More...
 
int edge
 Edge fill method. More...
 
int blocksize
 Size of blocks to compare. More...
 
int contrast
 Contrast threshold. More...
 
int search
 Motion search method. More...
 
av_pixelutils_sad_fn sad
 Sum of the absolute difference function. More...
 
Transform last
 Transform from last frame. More...
 
int refcount
 Number of reference frames (defines averaging window) More...
 
FILE * fp
 
Transform avg
 
int cw
 Crop motion search to this box. More...
 
int ch
 
int cx
 
int cy
 
char * filename
 Motion search detailed log filename. More...
 
int opencl
 
int(* transform )(AVFilterContext *ctx, int width, int height, int cw, int ch, const float *matrix_y, const float *matrix_uv, enum InterpolateMethod interpolate, enum FillMethod fill, AVFrame *in, AVFrame *out)
 

Detailed Description

Definition at line 89 of file vf_deshake.c.

Field Documentation

◆ class

const AVClass* DeshakeContext::class

Definition at line 90 of file vf_deshake.c.

◆ counts

int DeshakeContext::counts[2 *MAX_R+1][2 *MAX_R+1]

Scratch buffer for motion search.

Definition at line 91 of file vf_deshake.c.

Referenced by find_motion().

◆ angles

double* DeshakeContext::angles

Scratch buffer for block angles.

Definition at line 92 of file vf_deshake.c.

Referenced by find_motion(), and uninit().

◆ angles_size

unsigned DeshakeContext::angles_size

Definition at line 93 of file vf_deshake.c.

Referenced by find_motion(), and uninit().

◆ ref

AVFrame* DeshakeContext::ref

Previous frame.

Definition at line 94 of file vf_deshake.c.

Referenced by config_props(), filter_frame(), and uninit().

◆ rx

int DeshakeContext::rx

Maximum horizontal shift.

Definition at line 95 of file vf_deshake.c.

Referenced by find_block_motion(), find_motion(), and init().

◆ ry

int DeshakeContext::ry

Maximum vertical shift.

Definition at line 96 of file vf_deshake.c.

Referenced by find_block_motion(), find_motion(), and init().

◆ edge

int DeshakeContext::edge

Edge fill method.

Definition at line 97 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ blocksize

int DeshakeContext::blocksize

Size of blocks to compare.

Definition at line 98 of file vf_deshake.c.

Referenced by find_motion(), and init().

◆ contrast

int DeshakeContext::contrast

Contrast threshold.

Definition at line 99 of file vf_deshake.c.

Referenced by find_motion(), and init().

◆ search

int DeshakeContext::search

Motion search method.

Definition at line 100 of file vf_deshake.c.

Referenced by find_block_motion(), and init().

◆ sad

av_pixelutils_sad_fn DeshakeContext::sad

Sum of the absolute difference function.

Definition at line 101 of file vf_deshake.c.

Referenced by filter_frame().

◆ last

Transform DeshakeContext::last

Transform from last frame.

Definition at line 102 of file vf_deshake.c.

Referenced by config_props(), and filter_frame().

◆ refcount

int DeshakeContext::refcount

Number of reference frames (defines averaging window)

Definition at line 103 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ fp

FILE* DeshakeContext::fp

Definition at line 104 of file vf_deshake.c.

Referenced by filter_frame(), init(), and uninit().

◆ avg

Transform DeshakeContext::avg

Definition at line 105 of file vf_deshake.c.

Referenced by filter_frame().

◆ cw

int DeshakeContext::cw

Crop motion search to this box.

Definition at line 106 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ ch

int DeshakeContext::ch

Definition at line 107 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ cx

int DeshakeContext::cx

Definition at line 108 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ cy

int DeshakeContext::cy

Definition at line 109 of file vf_deshake.c.

Referenced by filter_frame(), and init().

◆ filename

char* DeshakeContext::filename

Motion search detailed log filename.

Definition at line 110 of file vf_deshake.c.

Referenced by init().

◆ opencl

int DeshakeContext::opencl

Definition at line 111 of file vf_deshake.c.

◆ transform

int(* DeshakeContext::transform) (AVFilterContext *ctx, int width, int height, int cw, int ch, const float *matrix_y, const float *matrix_uv, enum InterpolateMethod interpolate, enum FillMethod fill, AVFrame *in, AVFrame *out)

Definition at line 112 of file vf_deshake.c.

Referenced by filter_frame(), and init().


The documentation for this struct was generated from the following file: