|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <timing.h>
Public Types | |
| enum | { kDefaultRenderDelayMs = 10 } |
| enum | { kDelayMaxChangeMsPerS = 100 } |
| enum | { kDefaultRenderDelayMs = 10 } |
| enum | { kDelayMaxChangeMsPerS = 100 } |
Public Member Functions | |
| VCMTiming (Clock *clock, VCMTiming *master_timing=NULL) | |
| virtual | ~VCMTiming () |
| void | Reset () |
| void | ResetDecodeTime () |
| void | set_render_delay (int render_delay_ms) |
| void | SetJitterDelay (int required_delay_ms) |
| void | set_min_playout_delay (int min_playout_delay_ms) |
| int | min_playout_delay () |
| void | set_max_playout_delay (int max_playout_delay_ms) |
| int | max_playout_delay () |
| void | UpdateCurrentDelay (uint32_t frame_timestamp) |
| void | UpdateCurrentDelay (int64_t render_time_ms, int64_t actual_decode_time_ms) |
| int32_t | StopDecodeTimer (uint32_t time_stamp, int32_t decode_time_ms, int64_t now_ms, int64_t render_time_ms) |
| void | IncomingTimestamp (uint32_t time_stamp, int64_t last_packet_time_ms) |
| virtual int64_t | RenderTimeMs (uint32_t frame_timestamp, int64_t now_ms) const |
| virtual uint32_t | MaxWaitingTime (int64_t render_time_ms, int64_t now_ms) const |
| int | TargetVideoDelay () const |
| bool | EnoughTimeToDecode (uint32_t available_processing_time_ms) const |
| virtual bool | GetTimings (int *decode_ms, int *max_decode_ms, int *current_delay_ms, int *target_delay_ms, int *jitter_buffer_ms, int *min_playout_delay_ms, int *render_delay_ms) const |
| VCMTiming (Clock *clock, VCMTiming *master_timing=NULL) | |
| virtual | ~VCMTiming () |
| void | Reset () |
| void | ResetDecodeTime () |
| void | set_render_delay (int render_delay_ms) |
| void | SetJitterDelay (int required_delay_ms) |
| void | set_min_playout_delay (int min_playout_delay_ms) |
| int | min_playout_delay () |
| void | set_max_playout_delay (int max_playout_delay_ms) |
| int | max_playout_delay () |
| void | UpdateCurrentDelay (uint32_t frame_timestamp) |
| void | UpdateCurrentDelay (int64_t render_time_ms, int64_t actual_decode_time_ms) |
| int32_t | StopDecodeTimer (uint32_t time_stamp, int32_t decode_time_ms, int64_t now_ms, int64_t render_time_ms) |
| void | IncomingTimestamp (uint32_t time_stamp, int64_t last_packet_time_ms) |
| virtual int64_t | RenderTimeMs (uint32_t frame_timestamp, int64_t now_ms) const |
| virtual uint32_t | MaxWaitingTime (int64_t render_time_ms, int64_t now_ms) const |
| int | TargetVideoDelay () const |
| bool | EnoughTimeToDecode (uint32_t available_processing_time_ms) const |
| virtual bool | GetTimings (int *decode_ms, int *max_decode_ms, int *current_delay_ms, int *target_delay_ms, int *jitter_buffer_ms, int *min_playout_delay_ms, int *render_delay_ms) const |
Protected Member Functions | |
| int | RequiredDecodeTimeMs () const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| int64_t | RenderTimeMsInternal (uint32_t frame_timestamp, int64_t now_ms) const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| int | TargetDelayInternal () const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| int | RequiredDecodeTimeMs () const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| int64_t | RenderTimeMsInternal (uint32_t frame_timestamp, int64_t now_ms) const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| int | TargetDelayInternal () const EXCLUSIVE_LOCKS_REQUIRED(crit_sect_) |
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
|
virtual |
|
virtual |
| bool webrtc::VCMTiming::EnoughTimeToDecode | ( | uint32_t | available_processing_time_ms | ) | const |
| bool webrtc::VCMTiming::EnoughTimeToDecode | ( | uint32_t | available_processing_time_ms | ) | const |
|
virtual |
Reimplemented in webrtc::video_coding::VCMTimingFake.
|
virtual |
Reimplemented in webrtc::video_coding::VCMTimingFake.
| int webrtc::VCMTiming::max_playout_delay | ( | ) |
| int webrtc::VCMTiming::max_playout_delay | ( | ) |
|
virtual |
Reimplemented in webrtc::video_coding::VCMTimingFake.
Reimplemented in webrtc::video_coding::VCMTimingFake.
| int webrtc::VCMTiming::min_playout_delay | ( | ) |
| int webrtc::VCMTiming::min_playout_delay | ( | ) |
|
virtual |
Reimplemented in webrtc::video_coding::VCMTimingFake.
Reimplemented in webrtc::video_coding::VCMTimingFake.
|
protected |
|
protected |
|
protected |
|
protected |
| void webrtc::VCMTiming::Reset | ( | ) |
| void webrtc::VCMTiming::Reset | ( | ) |
| void webrtc::VCMTiming::ResetDecodeTime | ( | ) |
| void webrtc::VCMTiming::ResetDecodeTime | ( | ) |
| void webrtc::VCMTiming::set_max_playout_delay | ( | int | max_playout_delay_ms | ) |
| void webrtc::VCMTiming::set_max_playout_delay | ( | int | max_playout_delay_ms | ) |
| void webrtc::VCMTiming::set_min_playout_delay | ( | int | min_playout_delay_ms | ) |
| void webrtc::VCMTiming::set_min_playout_delay | ( | int | min_playout_delay_ms | ) |
| void webrtc::VCMTiming::set_render_delay | ( | int | render_delay_ms | ) |
| void webrtc::VCMTiming::set_render_delay | ( | int | render_delay_ms | ) |
| void webrtc::VCMTiming::SetJitterDelay | ( | int | required_delay_ms | ) |
| void webrtc::VCMTiming::SetJitterDelay | ( | int | required_delay_ms | ) |
| int32_t webrtc::VCMTiming::StopDecodeTimer | ( | uint32_t | time_stamp, |
| int32_t | decode_time_ms, | ||
| int64_t | now_ms, | ||
| int64_t | render_time_ms | ||
| ) |
| int32_t webrtc::VCMTiming::StopDecodeTimer | ( | uint32_t | time_stamp, |
| int32_t | decode_time_ms, | ||
| int64_t | now_ms, | ||
| int64_t | render_time_ms | ||
| ) |
|
protected |
|
protected |
| int webrtc::VCMTiming::TargetVideoDelay | ( | ) | const |
| int webrtc::VCMTiming::TargetVideoDelay | ( | ) | const |
| void webrtc::VCMTiming::UpdateCurrentDelay | ( | int64_t | render_time_ms, |
| int64_t | actual_decode_time_ms | ||
| ) |
| void webrtc::VCMTiming::UpdateCurrentDelay | ( | int64_t | render_time_ms, |
| int64_t | actual_decode_time_ms | ||
| ) |
1.8.13