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

Data Fields

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

Detailed Description

Definition at line 33 of file vf_blackdetect.c.

Field Documentation

const AVClass* BlackDetectContext::class

Definition at line 34 of file vf_blackdetect.c.

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

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

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

int BlackDetectContext::black_started

Definition at line 40 of file vf_blackdetect.c.

Referenced by filter_frame(), and request_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().

unsigned int BlackDetectContext::nb_black_pixels

number of black pixels counted so far

Definition at line 46 of file vf_blackdetect.c.

Referenced by filter_frame().


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