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...
 
int64_t last_pts
 last output timestamp More...
 
int64_t last_duration
 last output duration 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_tbdiffs
 
AVRational in_tb
 
AVRational nondec_tb
 
AVRational dec_tb
 
int cycle
 
double dupthresh_flt
 
double scthresh_flt
 
int64_t dupthresh
 
int64_t scthresh
 
int blockx
 
int blocky
 
int ppsrc
 
int chroma
 
int mixed
 
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...
 
int max_keep_count
 number of similar frames to ignore before to start dropping them More...
 
int keep_count
 number of similar frames already ignored More...
 
AVFrameref
 reference picture More...
 
av_pixelutils_sad_fn sad
 sum of absolute difference function More...
 

Detailed Description

Definition at line 38 of file vf_decimate.c.

Field Documentation

◆ class

const AVClass * DecimateContext::class

Definition at line 39 of file vf_decimate.c.

◆ queue

struct qitem* DecimateContext::queue

window of cycle frames and the associated data diff

Definition at line 40 of file vf_decimate.c.

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

◆ fid

int DecimateContext::fid

current frame id in the queue

Definition at line 41 of file vf_decimate.c.

Referenced by filter_frame().

◆ filled

int DecimateContext::filled

1 if the queue is filled, 0 otherwise

Definition at line 42 of file vf_decimate.c.

◆ last

AVFrame* DecimateContext::last

last frame from the previous queue

Definition at line 43 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 44 of file vf_decimate.c.

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

◆ got_frame

int DecimateContext::got_frame[2]

frame request flag for each input stream

Definition at line 45 of file vf_decimate.c.

Referenced by activate(), and filter_frame().

◆ last_pts

int64_t DecimateContext::last_pts

last output timestamp

Definition at line 46 of file vf_decimate.c.

Referenced by activate(), and filter_frame().

◆ last_duration

int64_t DecimateContext::last_duration

last output duration

Definition at line 47 of file vf_decimate.c.

Referenced by decimate_init(), and filter_frame().

◆ start_pts

int64_t DecimateContext::start_pts

base for output timestamps

Definition at line 48 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 49 of file vf_decimate.c.

Referenced by activate().

◆ hsub

int DecimateContext::hsub

Definition at line 50 of file vf_decimate.c.

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

◆ vsub

int DecimateContext::vsub

chroma subsampling values

Definition at line 50 of file vf_decimate.c.

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

◆ depth

int DecimateContext::depth

Definition at line 51 of file vf_decimate.c.

Referenced by calc_diffs(), and config_output().

◆ nxblocks

int DecimateContext::nxblocks

Definition at line 52 of file vf_decimate.c.

Referenced by calc_diffs(), and config_output().

◆ nyblocks

int DecimateContext::nyblocks

Definition at line 52 of file vf_decimate.c.

Referenced by calc_diffs(), and config_output().

◆ bdiffsize

int DecimateContext::bdiffsize

Definition at line 53 of file vf_decimate.c.

Referenced by calc_diffs(), and config_output().

◆ bdiffs

int64_t* DecimateContext::bdiffs

Definition at line 54 of file vf_decimate.c.

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

◆ in_tb

AVRational DecimateContext::in_tb

Definition at line 55 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

◆ nondec_tb

AVRational DecimateContext::nondec_tb

Definition at line 56 of file vf_decimate.c.

Referenced by config_output().

◆ dec_tb

AVRational DecimateContext::dec_tb

Definition at line 57 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

◆ cycle

int DecimateContext::cycle

Definition at line 60 of file vf_decimate.c.

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

◆ dupthresh_flt

double DecimateContext::dupthresh_flt

Definition at line 61 of file vf_decimate.c.

Referenced by config_output().

◆ scthresh_flt

double DecimateContext::scthresh_flt

Definition at line 62 of file vf_decimate.c.

Referenced by config_output().

◆ dupthresh

int64_t DecimateContext::dupthresh

Definition at line 63 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

◆ scthresh

int64_t DecimateContext::scthresh

Definition at line 64 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

◆ blockx

int DecimateContext::blockx

Definition at line 65 of file vf_decimate.c.

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

◆ blocky

int DecimateContext::blocky

Definition at line 65 of file vf_decimate.c.

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

◆ ppsrc

int DecimateContext::ppsrc

Definition at line 66 of file vf_decimate.c.

Referenced by activate(), config_output(), decimate_init(), and filter_frame().

◆ chroma

int DecimateContext::chroma

Definition at line 67 of file vf_decimate.c.

Referenced by calc_diffs().

◆ mixed

int DecimateContext::mixed

Definition at line 68 of file vf_decimate.c.

Referenced by config_output(), and filter_frame().

◆ lo

int DecimateContext::lo

Definition at line 37 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 37 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 40 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 42 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 45 of file vf_mpdecimate.c.

Referenced by decimate_frame(), and filter_frame().

◆ max_keep_count

int DecimateContext::max_keep_count

number of similar frames to ignore before to start dropping them

Definition at line 48 of file vf_mpdecimate.c.

Referenced by decimate_frame().

◆ keep_count

int DecimateContext::keep_count

number of similar frames already ignored

Definition at line 49 of file vf_mpdecimate.c.

Referenced by decimate_frame(), and filter_frame().

◆ ref

AVFrame* DecimateContext::ref

reference picture

Definition at line 52 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 53 of file vf_mpdecimate.c.

Referenced by diff_planes(), and init().


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