FFmpeg
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

◆ class

const AVClass * DecimateContext::class

Definition at line 38 of file vf_decimate.c.

◆ queue

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

◆ fid

int DecimateContext::fid

current frame id in the queue

Definition at line 40 of file vf_decimate.c.

Referenced by filter_frame().

◆ filled

int DecimateContext::filled

1 if the queue is filled, 0 otherwise

Definition at line 41 of file vf_decimate.c.

◆ last

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

◆ clean_src

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

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

◆ ts_unit

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

◆ start_pts

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

◆ eof

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

◆ hsub

int DecimateContext::hsub

Definition at line 48 of file vf_decimate.c.

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

◆ vsub

int DecimateContext::vsub

chroma subsampling values

Definition at line 48 of file vf_decimate.c.

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

◆ depth

int DecimateContext::depth

Definition at line 49 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

◆ nxblocks

int DecimateContext::nxblocks

Definition at line 50 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

◆ nyblocks

int DecimateContext::nyblocks

Definition at line 50 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

◆ bdiffsize

int DecimateContext::bdiffsize

Definition at line 51 of file vf_decimate.c.

Referenced by calc_diffs(), and config_input().

◆ bdiffs

int64_t* DecimateContext::bdiffs

Definition at line 52 of file vf_decimate.c.

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

◆ cycle

int DecimateContext::cycle

Definition at line 55 of file vf_decimate.c.

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

◆ dupthresh_flt

double DecimateContext::dupthresh_flt

Definition at line 56 of file vf_decimate.c.

Referenced by config_input().

◆ scthresh_flt

double DecimateContext::scthresh_flt

Definition at line 57 of file vf_decimate.c.

Referenced by config_input().

◆ dupthresh

int64_t DecimateContext::dupthresh

Definition at line 58 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

◆ scthresh

int64_t DecimateContext::scthresh

Definition at line 59 of file vf_decimate.c.

Referenced by config_input(), and filter_frame().

◆ blockx

int DecimateContext::blockx

Definition at line 60 of file vf_decimate.c.

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

◆ blocky

int DecimateContext::blocky

Definition at line 60 of file vf_decimate.c.

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

◆ ppsrc

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

◆ chroma

int DecimateContext::chroma

Definition at line 62 of file vf_decimate.c.

Referenced by calc_diffs().

◆ lo

int DecimateContext::lo

Definition at line 38 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().

◆ hi

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

◆ frac

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

◆ max_drop_count

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

◆ drop_count

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

◆ ref

AVFrame* DecimateContext::ref

reference picture

Definition at line 50 of file vf_mpdecimate.c.

Referenced by filter_frame(), and uninit().

◆ sad

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: