DecimateContext Struct Reference
Collaboration diagram for DecimateContext:
Collaboration graph

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...
 
int64_t frame_count
 output frame counter More...
 
AVFrame ** clean_src
 frame queue for the clean source More...
 
int got_frame [2]
 frame request flag for each input stream More...
 
double ts_unit
 timestamp units for the output frames 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...
 
DSPContext dspctx
 context providing optimized diff routines More...
 
AVCodecContextavctx
 codec context required for the DSPContext More...
 

Detailed Description

Definition at line 37 of file vf_decimate.c.

Field Documentation

AVCodecContext* DecimateContext::avctx

codec context required for the DSPContext

Definition at line 52 of file vf_mpdecimate.c.

Referenced by init(), and uninit().

int64_t* DecimateContext::bdiffs

Definition at line 52 of file vf_decimate.c.

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

int DecimateContext::bdiffsize

Definition at line 51 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

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::chroma

Definition at line 62 of file vf_decimate.c.

Referenced by calc_diffs().

const AVClass * DecimateContext::class

Definition at line 38 of file vf_decimate.c.

AVFrame** DecimateContext::clean_src

frame queue for the clean source

Definition at line 44 of file vf_decimate.c.

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

int DecimateContext::cycle

Definition at line 55 of file vf_decimate.c.

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

int DecimateContext::depth

Definition at line 49 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

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(), filter_frame(), and request_frame().

DSPContext DecimateContext::dspctx

context providing optimized diff routines

Definition at line 51 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().

int64_t DecimateContext::dupthresh

Definition at line 58 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

double DecimateContext::dupthresh_flt

Definition at line 56 of file vf_decimate.c.

Referenced by config_input().

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::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.

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

int64_t DecimateContext::frame_count

output frame counter

Definition at line 43 of file vf_decimate.c.

Referenced by filter_frame().

int DecimateContext::got_frame[2]

frame request flag for each input stream

Definition at line 45 of file vf_decimate.c.

Referenced by filter_frame(), and request_inlink().

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

int DecimateContext::hsub

Definition at line 48 of file vf_decimate.c.

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

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

int DecimateContext::lo

Definition at line 38 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::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::ppsrc

Definition at line 61 of file vf_decimate.c.

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

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

AVFrame* DecimateContext::ref

reference picture

Definition at line 50 of file vf_mpdecimate.c.

Referenced by filter_frame(), and uninit().

int64_t DecimateContext::scthresh

Definition at line 59 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

double DecimateContext::scthresh_flt

Definition at line 57 of file vf_decimate.c.

Referenced by config_input().

double DecimateContext::ts_unit

timestamp units for the output frames

Definition at line 46 of file vf_decimate.c.

Referenced by config_output(), and filter_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().


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