Searched refs:frame_timestamp (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | timing.cc | 86 void VCMTiming::UpdateCurrentDelay(uint32_t frame_timestamp) { in UpdateCurrentDelay() argument 102 if (frame_timestamp < 0x0000ffff && prev_frame_timestamp_ > 0xffff0000) { in UpdateCurrentDelay() 104 max_change_ms = kDelayMaxChangeMsPerS * (frame_timestamp + in UpdateCurrentDelay() 108 (frame_timestamp - prev_frame_timestamp_) / 90000; in UpdateCurrentDelay() 121 prev_frame_timestamp_ = frame_timestamp; in UpdateCurrentDelay() 155 int64_t VCMTiming::RenderTimeMs(uint32_t frame_timestamp, int64_t now_ms) in RenderTimeMs() argument 158 const int64_t render_time_ms = RenderTimeMsInternal(frame_timestamp, now_ms); in RenderTimeMs() 162 int64_t VCMTiming::RenderTimeMsInternal(uint32_t frame_timestamp, in RenderTimeMsInternal() argument 165 ts_extrapolator_->ExtrapolateLocalTime(frame_timestamp); in RenderTimeMsInternal()
|
D | receiver.cc | 104 uint32_t frame_timestamp = 0; in FrameForDecoding() local 107 max_wait_time_ms, &frame_timestamp); in FrameForDecoding() 120 &frame_timestamp); in FrameForDecoding() 130 timing_->UpdateCurrentDelay(frame_timestamp); in FrameForDecoding() 131 next_render_time_ms = timing_->RenderTimeMs(frame_timestamp, now_ms); in FrameForDecoding() 178 VCMEncodedFrame* frame = jitter_buffer_.ExtractAndSetDecode(frame_timestamp); in FrameForDecoding() 197 timing_->IncomingTimestamp(frame_timestamp, last_packet_time_ms); in FrameForDecoding()
|
D | timing.h | 49 void UpdateCurrentDelay(uint32_t frame_timestamp); 70 int64_t RenderTimeMs(uint32_t frame_timestamp, int64_t now_ms) const; 99 int64_t RenderTimeMsInternal(uint32_t frame_timestamp, int64_t now_ms) const
|
/external/chromium_org/content/browser/media/capture/ |
D | video_capture_oracle.cc | 101 event_time = content_sampler_.frame_timestamp(); in ObserveEventAndDecideCapture() 122 base::TimeTicks* frame_timestamp) { in CompleteCapture() argument 130 *frame_timestamp = GetFrameTimestamp(frame_number); in CompleteCapture() 136 *frame_timestamp - GetFrameTimestamp(frame_number - 1); in CompleteCapture() 162 return !frame_timestamp->is_null(); in CompleteCapture() 290 void AnimatedContentSampler::RecordSample(base::TimeTicks frame_timestamp) { in RecordSample() argument 291 recorded_frame_timestamp_ = frame_timestamp; in RecordSample()
|
D | video_capture_oracle.h | 92 base::TimeTicks frame_timestamp() const { return frame_timestamp_; } in frame_timestamp() function 101 void RecordSample(base::TimeTicks frame_timestamp); 203 bool CompleteCapture(int frame_number, base::TimeTicks* frame_timestamp);
|
D | video_capture_oracle_unittest.cc | 762 sampler()->RecordSample(sampler()->frame_timestamp()); in ClientDoesWhatSamplerProposes() 959 frame_timestamps.push_back(sampler()->frame_timestamp()); in TEST_P() 960 sampler()->RecordSample(sampler()->frame_timestamp()); in TEST_P() 1056 last_frame_timestamp = sampler()->frame_timestamp(); in TEST_P() 1243 base::TimeTicks frame_timestamp; in TEST() local 1244 ASSERT_TRUE(oracle.CompleteCapture(frame_number, &frame_timestamp)); in TEST() 1245 ASSERT_FALSE(frame_timestamp.is_null()); in TEST() 1247 const base::TimeDelta delta = frame_timestamp - last_frame_timestamp; in TEST() 1257 last_frame_timestamp = frame_timestamp; in TEST()
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
D | mkvmuxer.cpp | 2969 const uint64 frame_timestamp = frame->timestamp(); // ns in WriteFramesAll() local 2970 const uint64 frame_timecode = frame_timestamp / timecode_scale; in WriteFramesAll() 2987 if (!AddCuePoint(frame_timestamp, cues_track_)) in WriteFramesAll() 2991 if (frame_timestamp > last_timestamp_) in WriteFramesAll() 2992 last_timestamp_ = frame_timestamp; in WriteFramesAll() 3028 const uint64 frame_timestamp = frame_prev->timestamp(); in WriteFramesLessThan() local 3029 const uint64 frame_timecode = frame_timestamp / timecode_scale; in WriteFramesLessThan() 3048 if (!AddCuePoint(frame_timestamp, cues_track_)) in WriteFramesLessThan() 3053 if (frame_timestamp > last_timestamp_) in WriteFramesLessThan() 3054 last_timestamp_ = frame_timestamp; in WriteFramesLessThan()
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxer.cpp | 3130 const uint64 frame_timestamp = frame->timestamp(); // ns in WriteFramesAll() local 3131 const uint64 frame_timecode = frame_timestamp / timecode_scale; in WriteFramesAll() 3153 if (!AddCuePoint(frame_timestamp, cues_track_)) in WriteFramesAll() 3157 if (frame_timestamp > last_timestamp_) in WriteFramesAll() 3158 last_timestamp_ = frame_timestamp; in WriteFramesAll() 3194 const uint64 frame_timestamp = frame_prev->timestamp(); in WriteFramesLessThan() local 3195 const uint64 frame_timecode = frame_timestamp / timecode_scale; in WriteFramesLessThan() 3218 if (!AddCuePoint(frame_timestamp, cues_track_)) in WriteFramesLessThan() 3223 if (frame_timestamp > last_timestamp_) in WriteFramesLessThan() 3224 last_timestamp_ = frame_timestamp; in WriteFramesLessThan()
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideoengine.cc | 3231 const int64 frame_timestamp = frame->GetTimeStamp(); in SendFrame() 3232 if (frame_timestamp != 0) { in SendFrame() 3233 if (abs(time(NULL) - frame_timestamp / rtc::kNumNanosecsPerSec) > in SendFrame() 3241 rtc::UnixTimestampNanosecsToNtpMillisecs(frame_timestamp); in SendFrame()
|