FFmpeg
Data Fields
DeshakeContext Struct Reference

#include <deshake.h>

Data Fields

const AVClassclass
 
int counts [2 *MAX_R+1][2 *MAX_R+1]
 
doubleangles
 < Scratch buffer for motion search 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 55 of file deshake.h.

Field Documentation

◆ class

const AVClass* DeshakeContext::class

Definition at line 56 of file deshake.h.

◆ counts

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

Definition at line 57 of file deshake.h.

Referenced by find_motion().

◆ angles

double* DeshakeContext::angles

< Scratch buffer for motion search

Scratch buffer for block angles

Definition at line 58 of file deshake.h.

Referenced by find_motion(), and uninit().

◆ angles_size

unsigned DeshakeContext::angles_size

Definition at line 59 of file deshake.h.

Referenced by find_motion(), and uninit().

◆ ref

AVFrame* DeshakeContext::ref

Previous frame.

Definition at line 60 of file deshake.h.

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

◆ rx

int DeshakeContext::rx

Maximum horizontal shift.

Definition at line 61 of file deshake.h.

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

◆ ry

int DeshakeContext::ry

Maximum vertical shift.

Definition at line 62 of file deshake.h.

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

◆ edge

int DeshakeContext::edge

Edge fill method.

Definition at line 63 of file deshake.h.

Referenced by filter_frame(), and init().

◆ blocksize

int DeshakeContext::blocksize

Size of blocks to compare.

Definition at line 64 of file deshake.h.

Referenced by find_motion(), and init().

◆ contrast

int DeshakeContext::contrast

Contrast threshold.

Definition at line 65 of file deshake.h.

Referenced by find_motion(), and init().

◆ search

int DeshakeContext::search

Motion search method.

Definition at line 66 of file deshake.h.

Referenced by find_block_motion(), and init().

◆ sad

av_pixelutils_sad_fn DeshakeContext::sad

Sum of the absolute difference function.

Definition at line 67 of file deshake.h.

Referenced by filter_frame().

◆ last

Transform DeshakeContext::last

Transform from last frame.

Definition at line 68 of file deshake.h.

Referenced by config_props(), and filter_frame().

◆ refcount

int DeshakeContext::refcount

Number of reference frames (defines averaging window)

Definition at line 69 of file deshake.h.

Referenced by filter_frame(), and init().

◆ fp

FILE* DeshakeContext::fp

Definition at line 70 of file deshake.h.

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

◆ avg

Transform DeshakeContext::avg

Definition at line 71 of file deshake.h.

Referenced by filter_frame().

◆ cw

int DeshakeContext::cw

Crop motion search to this box.

Definition at line 72 of file deshake.h.

Referenced by filter_frame(), and init().

◆ ch

int DeshakeContext::ch

Definition at line 73 of file deshake.h.

Referenced by filter_frame(), and init().

◆ cx

int DeshakeContext::cx

Definition at line 74 of file deshake.h.

Referenced by filter_frame(), and init().

◆ cy

int DeshakeContext::cy

Definition at line 75 of file deshake.h.

Referenced by filter_frame(), and init().

◆ filename

char* DeshakeContext::filename

Motion search detailed log filename.

Definition at line 76 of file deshake.h.

Referenced by init().

◆ opencl

int DeshakeContext::opencl

Definition at line 77 of file deshake.h.

◆ 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 78 of file deshake.h.

Referenced by filter_frame(), and init().


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