| /external/webrtc/modules/video_coding/utility/ |
| D | framerate_controller_deprecated.cc | 47 bool FramerateControllerDeprecated::DropFrame(uint32_t timestamp_ms) const { in DropFrame() 48 if (timestamp_ms < last_timestamp_ms_) { in DropFrame() 54 if (Rate(timestamp_ms).value_or(*target_framerate_fps_) > in DropFrame() 61 static_cast<int64_t>(timestamp_ms) - *last_timestamp_ms_; in DropFrame() 70 void FramerateControllerDeprecated::AddFrame(uint32_t timestamp_ms) { in AddFrame() argument 71 if (timestamp_ms < last_timestamp_ms_) { in AddFrame() 76 framerate_estimator_.Update(1, timestamp_ms); in AddFrame() 77 last_timestamp_ms_ = timestamp_ms; in AddFrame() 81 uint32_t timestamp_ms) const { in Rate() 82 return framerate_estimator_.Rate(timestamp_ms); in Rate()
|
| D | framerate_controller_deprecated_unittest.cc | 29 const uint32_t timestamp_ms = in TEST() local 31 if (framerate_controller.DropFrame(timestamp_ms)) { in TEST() 34 framerate_controller.AddFrame(timestamp_ms); in TEST() 53 const uint32_t timestamp_ms = in TEST() local 55 if (framerate_controller.DropFrame(timestamp_ms)) { in TEST() 58 framerate_controller.AddFrame(timestamp_ms); in TEST()
|
| D | framerate_controller_deprecated.h | 30 bool DropFrame(uint32_t timestamp_ms) const; 32 void AddFrame(uint32_t timestamp_ms); 37 absl::optional<float> Rate(uint32_t timestamp_ms) const;
|
| /external/webrtc/modules/congestion_controller/goog_cc/ |
| D | alr_detector_unittest.cc | 30 int64_t* timestamp_ms) in SimulateOutgoingTrafficIn() argument 31 : alr_detector_(alr_detector), timestamp_ms_(timestamp_ms) { in SimulateOutgoingTrafficIn() 75 int64_t timestamp_ms = 1000; in TEST() local 83 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() 89 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() 95 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() 103 int64_t timestamp_ms = 1000; in TEST() local 110 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() 116 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() 122 SimulateOutgoingTrafficIn(&alr_detector, ×tamp_ms) in TEST() [all …]
|
| /external/webrtc/modules/remote_bitrate_estimator/test/ |
| D | bwe_test_logging.cc | 38 Logging::Context::Context(uint32_t name, int64_t timestamp_ms, bool enabled) { in Context() argument 39 Logging::GetInstance()->PushState(ToString(name), timestamp_ms, enabled); in Context() 43 int64_t timestamp_ms, in Context() argument 45 Logging::GetInstance()->PushState(name, timestamp_ms, enabled); in Context() 49 int64_t timestamp_ms, in Context() argument 51 Logging::GetInstance()->PushState(name, timestamp_ms, enabled); in Context() 127 alg_name.c_str(), state.timestamp_ms * 0.001, value); in Plot() 212 Logging::State::State() : tag(""), timestamp_ms(0), enabled(true) {} in State() 215 int64_t timestamp_ms, in State() argument 217 : tag(tag), timestamp_ms(timestamp_ms), enabled(enabled) {} in State() [all …]
|
| D | bwe_test_logging.h | 262 Context(uint32_t name, int64_t timestamp_ms, bool enabled); 263 Context(const std::string& name, int64_t timestamp_ms, bool enabled); 264 Context(const char* name, int64_t timestamp_ms, bool enabled); 326 State(const std::string& new_tag, int64_t timestamp_ms, bool enabled); 330 int64_t timestamp_ms; member 348 int64_t timestamp_ms,
|
| /external/perfetto/test/trace_processor/diff_tests/metrics/startup/ |
| D | android_startup_powrails.out | 5 timestamp_ms: 5 9 timestamp_ms: 7 17 timestamp_ms: 5 21 timestamp_ms: 7 29 timestamp_ms: 5 33 timestamp_ms: 7
|
| /external/webrtc/video/ |
| D | video_stream_encoder_unittest.cc | 2524 int64_t timestamp_ms = kFrameIntervalMs; in TEST_P() local 2525 video_source_.IncomingCapturedFrame(CreateFrame(timestamp_ms, 1280, 720)); in TEST_P() 2526 WaitForEncodedFrame(timestamp_ms); in TEST_P() 2532 timestamp_ms += kFrameIntervalMs; in TEST_P() 2533 video_source_.IncomingCapturedFrame(CreateFrame(timestamp_ms, 1280, 720)); in TEST_P() 2534 WaitForEncodedFrame(timestamp_ms); in TEST_P() 3073 int64_t timestamp_ms = kFrameIntervalMs; in TEST_F() local 3076 CreateFrame(timestamp_ms, kWidth, kHeight)); in TEST_F() 3077 WaitForEncodedFrame(timestamp_ms); in TEST_F() 3084 timestamp_ms += kFrameIntervalMs; in TEST_F() [all …]
|
| /external/webrtc/api/transport/rtp/ |
| D | rtp_source.h | 47 RtpSource(int64_t timestamp_ms, in RtpSource() argument 52 : timestamp_ms_(timestamp_ms), in RtpSource() 62 int64_t timestamp_ms() const { return timestamp_ms_; } in timestamp_ms() function 63 void update_timestamp_ms(int64_t timestamp_ms) { in update_timestamp_ms() argument 64 RTC_DCHECK_LE(timestamp_ms_, timestamp_ms); in update_timestamp_ms() 65 timestamp_ms_ = timestamp_ms; in update_timestamp_ms() 93 return timestamp_ms_ == o.timestamp_ms() && source_id_ == o.source_id() &&
|
| /external/webrtc/logging/rtc_event_log/ |
| D | rtc_event_log2.proto | 57 optional int64 timestamp_ms = 1; field 71 optional int64 timestamp_ms = 1; field 87 optional int64 timestamp_ms = 1; field 107 optional int64 timestamp_ms = 1; field 175 optional int64 timestamp_ms = 1; field 243 optional int64 timestamp_ms = 1; field 259 optional int64 timestamp_ms = 1; field 275 optional int64 timestamp_ms = 1; field 299 optional int64 timestamp_ms = 1; field 334 optional int64 timestamp_ms = 1; field [all …]
|
| D | rtc_event_log_parser.cc | 402 Timestamp::Millis(proto.timestamp_ms()), header, proto.header_size(), in StoreRtpPackets() 415 ToUnsigned(proto.timestamp_ms()), number_of_deltas); in StoreRtpPackets() 547 int64_t timestamp_ms; in StoreRtpPackets() local 549 ToSigned(timestamp_ms_values[i].value(), ×tamp_ms)); in StoreRtpPackets() 604 Timestamp::Millis(timestamp_ms), header, header.headerLength, in StoreRtpPackets() 627 rtcp_packets->emplace_back(Timestamp::Millis(proto.timestamp_ms()), in StoreRtcpPackets() 640 ToUnsigned(proto.timestamp_ms()), number_of_deltas); in StoreRtcpPackets() 652 int64_t timestamp_ms; in StoreRtcpPackets() local 654 ToSigned(timestamp_ms_values[i].value(), ×tamp_ms)); in StoreRtcpPackets() 666 rtcp_packets->emplace_back(Timestamp::Millis(timestamp_ms), data); in StoreRtcpPackets() [all …]
|
| D | rtc_event_log_unittest_helper.cc | 794 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedAlrStateEvent() 801 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedAudioPlayoutEvent() 808 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedAudioNetworkAdaptationEvent() 835 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedBweDelayBasedUpdate() 843 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedBweLossBasedUpdate() 852 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedBweProbeClusterCreatedEvent() 862 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedBweProbeFailureEvent() 870 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedBweProbeSuccessEvent() 878 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedDtlsTransportState() 886 EXPECT_EQ(original_event.timestamp_ms(), logged_event.log_time_ms()); in VerifyLoggedDtlsWritableState() [all …]
|
| D | rtc_event_processor_unittest.cc | 31 for (int64_t timestamp_ms : timestamp_list) { in CreateEventList() local 32 v.emplace_back(Timestamp::Millis(timestamp_ms)); in CreateEventList() 43 int64_t timestamp_ms = elem; in CreateRandomEventLists() local 44 lists[i].emplace_back(Timestamp::Millis(timestamp_ms)); in CreateRandomEventLists()
|
| /external/webrtc/logging/rtc_event_log/encoder/ |
| D | rtc_event_log_encoder_new_format.cc | 342 proto_batch->set_timestamp_ms(base_event->timestamp_ms()); in EncodeRtcpPacket() 362 values[i] = ToUnsigned(event->timestamp_ms()); in EncodeRtcpPacket() 364 encoded_deltas = EncodeDeltas(ToUnsigned(base_event->timestamp_ms()), values); in EncodeRtcpPacket() 393 proto_batch->set_timestamp_ms(base_event->timestamp_ms()); in EncodeRtpPacket() 470 values[i] = ToUnsigned(event->timestamp_ms()); in EncodeRtpPacket() 472 encoded_deltas = EncodeDeltas(ToUnsigned(base_event->timestamp_ms()), values); in EncodeRtpPacket() 928 proto_batch->set_timestamp_ms(base_event->timestamp_ms()); in EncodeAlrState() 944 proto_batch->set_timestamp_ms(base_event->timestamp_ms()); in EncodeAudioNetworkAdaptation() 979 values[i] = ToUnsigned(event->timestamp_ms()); in EncodeAudioNetworkAdaptation() 981 encoded_deltas = EncodeDeltas(ToUnsigned(base_event->timestamp_ms()), values); in EncodeAudioNetworkAdaptation() [all …]
|
| /external/webp/tests/fuzzer/ |
| D | animencoder_fuzzer.cc | 56 int* const height, int timestamp_ms, in AddFrame() argument 114 if (!WebPAnimEncoderAdd(*enc, &pic, timestamp_ms, &config)) { in AddFrame() 139 int width = 0, height = 0, timestamp_ms = 0; in AnimEncoderTest() local 160 if (!AddFrame(&enc, anim_config, &width, &height, timestamp_ms, in AnimEncoderTest() 165 timestamp_ms += frame_config.timestamp; in AnimEncoderTest() 169 if (!WebPAnimEncoderAdd(enc, nullptr, timestamp_ms, nullptr)) { in AnimEncoderTest()
|
| /external/perfetto/test/trace_processor/diff_tests/parser/power/ |
| D | power_rails.textproto | 16 timestamp_ms: 3 32 timestamp_ms: 5 41 timestamp_ms: 3
|
| D | power_rails_custom_clock.textproto | 48 timestamp_ms: 106 53 timestamp_ms: 109
|
| /external/webrtc/modules/rtp_rtcp/source/ |
| D | source_tracker.cc | 39 entry.timestamp_ms = now_ms; in OnFrameDelivered() 50 entry.timestamp_ms = now_ms; in OnFrameDelivered() 73 entry.timestamp_ms, key.source, key.source_type, entry.rtp_timestamp, in GetSources() 103 while (!list_.empty() && list_.back().second.timestamp_ms < prune_ms) { in PruneEntries()
|
| D | source_tracker_unittest.cc | 86 if (!seen.insert(key).second || it->timestamp_ms() < prune_ms) { in PruneEntries() 285 int64_t timestamp_ms = clock.TimeInMilliseconds(); in TEST() local 296 ElementsAre(RtpSource(timestamp_ms, kSsrc2, RtpSourceType::SSRC, in TEST() 298 RtpSource(timestamp_ms, kCsrcs2, RtpSourceType::CSRC, in TEST() 300 RtpSource(timestamp_ms, kSsrc1, RtpSourceType::SSRC, in TEST() 302 RtpSource(timestamp_ms, kCsrcs1, RtpSourceType::CSRC, in TEST() 304 RtpSource(timestamp_ms, kCsrcs0, RtpSourceType::CSRC, in TEST() 345 int64_t timestamp_ms = clock.TimeInMilliseconds(); in TEST() local 360 ElementsAre(RtpSource(timestamp_ms, kSsrc, RtpSourceType::SSRC, in TEST() 362 RtpSource(timestamp_ms, kCsrcs0, RtpSourceType::CSRC, in TEST() [all …]
|
| /external/webp/examples/ |
| D | img2webp.c | 145 int timestamp_ms = 0; in main() local 306 ok = WebPAnimEncoderAdd(enc, &pic, timestamp_ms, &config); in main() 316 pic_num, timestamp_ms, GET_WARGV_SHIFTED(argv, c)); in main() 318 timestamp_ms += duration; in main() 330 ok = ok && WebPAnimEncoderAdd(enc, NULL, timestamp_ms, NULL); in main()
|
| /external/webrtc/system_wrappers/include/ |
| D | clock.h | 47 int64_t ConvertTimestampToNtpTimeInMilliseconds(int64_t timestamp_ms) { in ConvertTimestampToNtpTimeInMilliseconds() argument 48 return ConvertTimestampToNtpTime(Timestamp::Millis(timestamp_ms)).ToMs(); in ConvertTimestampToNtpTimeInMilliseconds()
|
| /external/cronet/tot/base/trace_event/ |
| D | trace_event_etw_export_win.cc | 314 int64_t timestamp_ms = (timestamp - TimeTicks()).InMilliseconds(); in AddEvent() local 320 TlmInt64Field("Timestamp", timestamp_ms)); in AddEvent() 325 TlmInt64Field("Timestamp", timestamp_ms), in AddEvent() 331 TlmInt64Field("Timestamp", timestamp_ms), in AddEvent()
|
| /external/cronet/stable/base/trace_event/ |
| D | trace_event_etw_export_win.cc | 314 int64_t timestamp_ms = (timestamp - TimeTicks()).InMilliseconds(); in AddEvent() local 320 TlmInt64Field("Timestamp", timestamp_ms)); in AddEvent() 325 TlmInt64Field("Timestamp", timestamp_ms), in AddEvent() 331 TlmInt64Field("Timestamp", timestamp_ms), in AddEvent()
|
| /external/cronet/stable/components/cronet/android/ |
| D | cronet_context_adapter.cc | 142 int32_t timestamp_ms, in OnRTTObservation() argument 146 rtt_ms, timestamp_ms, source); in OnRTTObservation() 151 int32_t timestamp_ms, in OnThroughputObservation() argument 155 throughput_kbps, timestamp_ms, source); in OnThroughputObservation()
|
| /external/cronet/tot/components/cronet/android/ |
| D | cronet_context_adapter.cc | 142 int32_t timestamp_ms, in OnRTTObservation() argument 146 rtt_ms, timestamp_ms, source); in OnRTTObservation() 151 int32_t timestamp_ms, in OnThroughputObservation() argument 155 throughput_kbps, timestamp_ms, source); in OnThroughputObservation()
|