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

Field Documentation

const AVClass* DeshakeContext::class

Definition at line 56 of file deshake.h.

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

Definition at line 57 of file deshake.h.

Referenced by find_motion().

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().

unsigned DeshakeContext::angles_size

Definition at line 59 of file deshake.h.

Referenced by find_motion(), and uninit().

AVFrame* DeshakeContext::ref

Previous frame.

Definition at line 60 of file deshake.h.

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

int DeshakeContext::rx

Maximum horizontal shift.

Definition at line 61 of file deshake.h.

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

int DeshakeContext::ry

Maximum vertical shift.

Definition at line 62 of file deshake.h.

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

int DeshakeContext::edge

Edge fill method.

Definition at line 63 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::blocksize

Size of blocks to compare.

Definition at line 64 of file deshake.h.

Referenced by find_motion(), and init().

int DeshakeContext::contrast

Contrast threshold.

Definition at line 65 of file deshake.h.

Referenced by find_motion(), and init().

int DeshakeContext::search

Motion search method.

Definition at line 66 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 67 of file deshake.h.

Referenced by filter_frame().

Transform DeshakeContext::last

Transform from last frame.

Definition at line 68 of file deshake.h.

Referenced by config_props(), and filter_frame().

int DeshakeContext::refcount

Number of reference frames (defines averaging window)

Definition at line 69 of file deshake.h.

Referenced by filter_frame(), and init().

FILE* DeshakeContext::fp

Definition at line 70 of file deshake.h.

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

Transform DeshakeContext::avg

Definition at line 71 of file deshake.h.

Referenced by filter_frame().

int DeshakeContext::cw

Crop motion search to this box.

Definition at line 72 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::ch

Definition at line 73 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::cx

Definition at line 74 of file deshake.h.

Referenced by filter_frame(), and init().

int DeshakeContext::cy

Definition at line 75 of file deshake.h.

Referenced by filter_frame(), and init().

char* DeshakeContext::filename

Motion search detailed log filename.

Definition at line 76 of file deshake.h.

Referenced by init().

int DeshakeContext::opencl

Definition at line 77 of file deshake.h.

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: