My Project
|
Public Attributes | |
MMAL_CLOCK_T | clock |
MMAL_BOOL_T | is_active |
MMAL_BOOL_T | stop_thread |
VCOS_SEMAPHORE_T | event |
VCOS_THREAD_T | thread |
VCOS_MUTEX_T | lock |
MMAL_TIMER_T | timer |
int32_t | scale |
int32_t | scale_inv |
MMAL_RATIONAL_T | scale_rational |
int64_t | average_ref_diff |
int64_t | media_time |
int64_t | media_time_offset |
uint32_t | media_time_frac |
int64_t | wall_time |
uint32_t | rtc_at_update |
int64_t | media_time_at_timer |
int64_t | discont_expiry |
int64_t | discont_start |
int64_t | discont_end |
int64_t | discont_threshold |
int64_t | discont_duration |
int64_t | request_threshold |
MMAL_BOOL_T | request_threshold_enable |
int64_t | update_threshold_lower |
int64_t | update_threshold_upper |
struct { | |
MMAL_LIST_T * list_free | |
MMAL_LIST_T * list_pending | |
MMAL_CLOCK_REQUEST_T pool [CLOCK_REQUEST_SLOTS] | |
} | request |
media-time moving average adjustment
must be first
Duration (wall-time) for which a discontinuity applies
media-time at end of discontinuity (n/a if discont_expiry = 0)
wall-time when discontinuity expires; 0 = no discontinuity in effect
media-time at start of discontinuity (n/a if discont_expiry = 0)
Threshold after which backward jumps in media time are treated as a discontinuity (microseconds)
MMAL_BOOL_T MMAL_CLOCK_PRIVATE_T::is_active |
TRUE -> media-time is advancing
VCOS_MUTEX_T MMAL_CLOCK_PRIVATE_T::lock |
lock access to the request lists
int64_t MMAL_CLOCK_PRIVATE_T::media_time |
current local media-time in microseconds
media-time when the timer was last set
media-time fraction in microseconds (Q24 format)
media-time offset in microseconds
Threshold after which frames exceeding the media-time are dropped (microseconds)
MMAL_BOOL_T MMAL_CLOCK_PRIVATE_T::request_threshold_enable |
Enable the request threshold
uint32_t MMAL_CLOCK_PRIVATE_T::rtc_at_update |
real-time clock value at local time update (microseconds)
int32_t MMAL_CLOCK_PRIVATE_T::scale |
media-time scale factor (Q16 format)
int32_t MMAL_CLOCK_PRIVATE_T::scale_inv |
1/scale (Q16 format)
clock scale as a rational number; keep a copy since converting from Q16 will result in precision errors
MMAL_TIMER_T MMAL_CLOCK_PRIVATE_T::timer |
used for scheduling client requests
Time differences below this threshold are ignored
Time differences above this threshold reset media time
int64_t MMAL_CLOCK_PRIVATE_T::wall_time |
current local wall-time (microseconds)