FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
DeshakeContext Struct Reference

#include <deshake.h>

Data Fields

const AVClassclass
 
int counts [2 *MAX_R+1][2 *MAX_R+1]
 
double * angles
 < 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 76 of file deshake.h.

Field Documentation

const AVClass* DeshakeContext::class

Definition at line 77 of file deshake.h.

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

Definition at line 78 of file deshake.h.

Referenced by find_motion().

double* DeshakeContext::angles

< Scratch buffer for motion search

Scratch buffer for block angles

Definition at line 79 of file deshake.h.

Referenced by find_motion(), and uninit().

unsigned DeshakeContext::angles_size

Definition at line 80 of file deshake.h.

Referenced by find_motion(), and uninit().

AVFrame* DeshakeContext::ref

Previous frame.

Definition at line 81 of file deshake.h.

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

int DeshakeContext::rx

Maximum horizontal shift.

Definition at line 82 of file deshake.h.

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

int DeshakeContext::ry

Maximum vertical shift.

Definition at line 83 of file deshake.h.

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

int DeshakeContext::edge

Edge fill method.

Definition at line 84 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::blocksize

Size of blocks to compare.

Definition at line 85 of file deshake.h.

Referenced by find_motion(), and init().

int DeshakeContext::contrast

Contrast threshold.

Definition at line 86 of file deshake.h.

Referenced by find_motion(), and init().

int DeshakeContext::search

Motion search method.

Definition at line 87 of file deshake.h.

Referenced by find_block_motion(), and init().

av_pixelutils_sad_fn DeshakeContext::sad

Sum of the absolute difference function.

Definition at line 88 of file deshake.h.

Referenced by init().

Transform DeshakeContext::last

Transform from last frame.

Definition at line 89 of file deshake.h.

Referenced by config_props(), and filter_frame().

int DeshakeContext::refcount

Number of reference frames (defines averaging window)

Definition at line 90 of file deshake.h.

Referenced by filter_frame(), and init().

FILE* DeshakeContext::fp

Definition at line 91 of file deshake.h.

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

Transform DeshakeContext::avg

Definition at line 92 of file deshake.h.

Referenced by filter_frame().

int DeshakeContext::cw

Crop motion search to this box.

Definition at line 93 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::ch

Definition at line 94 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::cx

Definition at line 95 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::cy

Definition at line 96 of file deshake.h.

Referenced by filter_frame(), and init().

char* DeshakeContext::filename

Motion search detailed log filename.

Definition at line 97 of file deshake.h.

Referenced by init().

int DeshakeContext::opencl

Definition at line 98 of file deshake.h.

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

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

Referenced by filter_frame(), and init().


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