BlackDetectContext Struct Reference
Collaboration diagram for BlackDetectContext:
Collaboration graph

Data Fields

const AVClassclass
 
double black_min_duration_time
 minimum duration of detected black, in seconds More...
 
int64_t black_min_duration
 minimum duration of detected black, expressed in timebase units More...
 
int64_t black_start
 pts start time of the first black picture More...
 
int64_t black_end
 pts end time of the last black picture More...
 
int64_t last_picref_pts
 pts of the last input picture More...
 
int black_started
 
double picture_black_ratio_th
 
double pixel_black_th
 
unsigned int pixel_black_th_i
 
unsigned int frame_count
 frame number More...
 
unsigned int nb_black_pixels
 number of black pixels counted so far More...
 

Detailed Description

Definition at line 33 of file vf_blackdetect.c.

Field Documentation

int64_t BlackDetectContext::black_end

pts end time of the last black picture

Definition at line 38 of file vf_blackdetect.c.

Referenced by check_black_end(), filter_frame(), and request_frame().

int64_t BlackDetectContext::black_min_duration

minimum duration of detected black, expressed in timebase units

Definition at line 36 of file vf_blackdetect.c.

Referenced by check_black_end(), and config_input().

double BlackDetectContext::black_min_duration_time

minimum duration of detected black, in seconds

Definition at line 35 of file vf_blackdetect.c.

Referenced by config_input().

int64_t BlackDetectContext::black_start

pts start time of the first black picture

Definition at line 37 of file vf_blackdetect.c.

Referenced by check_black_end(), and filter_frame().

int BlackDetectContext::black_started

Definition at line 40 of file vf_blackdetect.c.

Referenced by filter_frame(), and request_frame().

const AVClass* BlackDetectContext::class

Definition at line 34 of file vf_blackdetect.c.

unsigned int BlackDetectContext::frame_count

frame number

Definition at line 46 of file vf_blackdetect.c.

Referenced by filter_frame().

int64_t BlackDetectContext::last_picref_pts

pts of the last input picture

Definition at line 39 of file vf_blackdetect.c.

Referenced by filter_frame(), and request_frame().

unsigned int BlackDetectContext::nb_black_pixels

number of black pixels counted so far

Definition at line 47 of file vf_blackdetect.c.

Referenced by filter_frame().

double BlackDetectContext::picture_black_ratio_th

Definition at line 42 of file vf_blackdetect.c.

Referenced by config_input(), and filter_frame().

double BlackDetectContext::pixel_black_th

Definition at line 43 of file vf_blackdetect.c.

Referenced by config_input().

unsigned int BlackDetectContext::pixel_black_th_i

Definition at line 44 of file vf_blackdetect.c.

Referenced by config_input(), and filter_frame().


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