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

Data Fields

const AVClassclass
 
struct qitemqueue
 window of cycle frames and the associated data diff More...
 
int fid
 current frame id in the queue More...
 
int filled
 1 if the queue is filled, 0 otherwise More...
 
AVFramelast
 last frame from the previous queue More...
 
AVFrame ** clean_src
 frame queue for the clean source More...
 
int got_frame [2]
 frame request flag for each input stream More...
 
AVRational ts_unit
 timestamp units for the output frames More...
 
int64_t start_pts
 base for output timestamps More...
 
uint32_t eof
 bitmask for end of stream More...
 
int hsub
 
int vsub
 chroma subsampling values More...
 
int depth
 
int nxblocks
 
int nyblocks
 
int bdiffsize
 
int64_t * bdiffs
 
int cycle
 
double dupthresh_flt
 
double scthresh_flt
 
int64_t dupthresh
 
int64_t scthresh
 
int blockx
 
int blocky
 
int ppsrc
 
int chroma
 
int lo
 
int hi
 lower and higher threshold number of differences values for 8x8 blocks More...
 
float frac
 threshold of changed pixels over the total fraction More...
 
int max_drop_count
 if positive: maximum number of sequential frames to drop if negative: minimum number of frames between two drops More...
 
int drop_count
 if positive: number of frames sequentially dropped if negative: number of sequential frames which were not dropped More...
 
AVFrameref
 reference picture More...
 
av_pixelutils_sad_fn sad
 sum of absolute difference function More...
 

Detailed Description

Definition at line 37 of file vf_decimate.c.

Field Documentation

const AVClass * DecimateContext::class

Definition at line 38 of file vf_decimate.c.

struct qitem* DecimateContext::queue

window of cycle frames and the associated data diff

Definition at line 39 of file vf_decimate.c.

Referenced by config_input(), decimate_uninit(), and filter_frame().

int DecimateContext::fid

current frame id in the queue

Definition at line 40 of file vf_decimate.c.

Referenced by filter_frame().

int DecimateContext::filled

1 if the queue is filled, 0 otherwise

Definition at line 41 of file vf_decimate.c.

AVFrame* DecimateContext::last

last frame from the previous queue

Definition at line 42 of file vf_decimate.c.

Referenced by decimate_uninit(), and filter_frame().

AVFrame** DecimateContext::clean_src

frame queue for the clean source

Definition at line 43 of file vf_decimate.c.

Referenced by config_input(), decimate_uninit(), and filter_frame().

int DecimateContext::got_frame[2]

frame request flag for each input stream

Definition at line 44 of file vf_decimate.c.

Referenced by filter_frame(), and request_inlink().

AVRational DecimateContext::ts_unit

timestamp units for the output frames

Definition at line 45 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

int64_t DecimateContext::start_pts

base for output timestamps

Definition at line 46 of file vf_decimate.c.

Referenced by decimate_init(), and filter_frame().

uint32_t DecimateContext::eof

bitmask for end of stream

Definition at line 47 of file vf_decimate.c.

Referenced by request_frame(), and request_inlink().

int DecimateContext::hsub

Definition at line 48 of file vf_decimate.c.

Referenced by calc_diffs(), config_input(), and decimate_frame().

int DecimateContext::vsub

chroma subsampling values

Definition at line 48 of file vf_decimate.c.

Referenced by calc_diffs(), config_input(), and decimate_frame().

int DecimateContext::depth

Definition at line 49 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

int DecimateContext::nxblocks

Definition at line 50 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

int DecimateContext::nyblocks

Definition at line 50 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

int DecimateContext::bdiffsize

Definition at line 51 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

int64_t* DecimateContext::bdiffs

Definition at line 52 of file vf_decimate.c.

Referenced by calc_diffs(), config_input(), and decimate_uninit().

int DecimateContext::cycle

Definition at line 55 of file vf_decimate.c.

Referenced by config_input(), config_output(), and filter_frame().

double DecimateContext::dupthresh_flt

Definition at line 56 of file vf_decimate.c.

Referenced by config_input().

double DecimateContext::scthresh_flt

Definition at line 57 of file vf_decimate.c.

Referenced by config_input().

int64_t DecimateContext::dupthresh

Definition at line 58 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

int64_t DecimateContext::scthresh

Definition at line 59 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

int DecimateContext::blockx

Definition at line 60 of file vf_decimate.c.

Referenced by calc_diffs(), config_input(), and decimate_init().

int DecimateContext::blocky

Definition at line 60 of file vf_decimate.c.

Referenced by calc_diffs(), config_input(), and decimate_init().

int DecimateContext::ppsrc

Definition at line 61 of file vf_decimate.c.

Referenced by config_input(), config_output(), decimate_init(), filter_frame(), and request_frame().

int DecimateContext::chroma

Definition at line 62 of file vf_decimate.c.

Referenced by calc_diffs().

int DecimateContext::lo

Definition at line 38 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().

int DecimateContext::hi

lower and higher threshold number of differences values for 8x8 blocks

Definition at line 38 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().

float DecimateContext::frac

threshold of changed pixels over the total fraction

Definition at line 41 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().

int DecimateContext::max_drop_count

if positive: maximum number of sequential frames to drop if negative: minimum number of frames between two drops

Definition at line 43 of file vf_mpdecimate.c.

Referenced by decimate_frame(), and init().

int DecimateContext::drop_count

if positive: number of frames sequentially dropped if negative: number of sequential frames which were not dropped

Definition at line 46 of file vf_mpdecimate.c.

Referenced by decimate_frame(), and filter_frame().

AVFrame* DecimateContext::ref

reference picture

Definition at line 50 of file vf_mpdecimate.c.

Referenced by filter_frame(), and uninit().

av_pixelutils_sad_fn DecimateContext::sad

sum of absolute difference function

Definition at line 51 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().


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