/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | screenshare_layers_unittest.cc | 39 void EncodeFrame(uint32_t timestamp, in EncodeFrame() argument 43 *flags = layers_->EncodeFlags(timestamp); in EncodeFrame() 44 layers_->PopulateCodecSpecific(base_sync, vp8_info, timestamp); in EncodeFrame() 46 layers_->FrameEncoded(frame_size_, timestamp, kDefaultQp); in EncodeFrame() 66 uint32_t timestamp = 0; in RunGracePeriod() local 71 EncodeFrame(timestamp, false, &vp8_info, &flags); in RunGracePeriod() 72 timestamp += kTimestampDelta5Fps; in RunGracePeriod() 79 return timestamp; in RunGracePeriod() 85 int SkipUntilTl(int layer, int timestamp) { in SkipUntilTl() argument 88 layers_->EncodeFlags(timestamp); in SkipUntilTl() [all …]
|
D | default_temporal_layers_unittest.cc | 84 uint32_t timestamp = 0; variable 86 EXPECT_EQ(expected_flags[i], tl.EncodeFlags(timestamp)); 90 timestamp += 3000; 125 unsigned int timestamp = 0; variable 127 EXPECT_EQ(expected_flags[i], tl.EncodeFlags(timestamp)); 131 timestamp += 3000; 165 uint32_t timestamp = 0; variable 167 EXPECT_EQ(expected_flags[i], tl.EncodeFlags(timestamp)); 171 timestamp += 3000; 193 uint32_t timestamp = 0; in TEST() local [all …]
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | rtp_to_ntp_unittest.cc | 40 uint32_t timestamp = 0; in TEST() local 43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST() 45 timestamp -= kTimestampTicksPerMs; in TEST() 46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST() 48 timestamp -= kTimestampTicksPerMs; in TEST() 52 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, ×tamp_in_ms)); in TEST() 59 uint32_t timestamp = 0xFFFFFFFF; in TEST() local 62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST() 64 timestamp += kTimestampTicksPerMs; in TEST() 65 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST() [all …]
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | inter_arrival.cc | 32 bool InterArrival::ComputeDeltas(uint32_t timestamp, in ComputeDeltas() argument 45 current_timestamp_group_.timestamp = timestamp; in ComputeDeltas() 46 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas() 47 } else if (!PacketInOrder(timestamp)) { in ComputeDeltas() 49 } else if (NewTimestampGroup(arrival_time_ms, timestamp)) { in ComputeDeltas() 52 *timestamp_delta = current_timestamp_group_.timestamp - in ComputeDeltas() 53 prev_timestamp_group_.timestamp; in ComputeDeltas() 71 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas() 72 current_timestamp_group_.timestamp = timestamp; in ComputeDeltas() 75 current_timestamp_group_.timestamp = LatestTimestamp( in ComputeDeltas() [all …]
|
D | inter_arrival_unittest.cc | 163 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectFalse() argument 168 bool computed = inter_arrival->ComputeDeltas(timestamp, in InternalExpectFalse() 181 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectTrue() argument 190 bool computed = inter_arrival->ComputeDeltas(timestamp, in InternalExpectTrue() 268 int64_t timestamp = kTriggerNewGroupUs; in TEST_F() local 272 timestamp += kMinStep; in TEST_F() 273 ExpectFalse(timestamp, arrival_time, 1); in TEST_F() 276 int64_t g2_timestamp = timestamp; in TEST_F() 289 int64_t timestamp = 0; in TEST_F() local 290 ExpectFalse(timestamp, arrival_time, 1); in TEST_F() [all …]
|
D | remote_bitrate_estimator_unittest_helper.cc | 88 rtcp->timestamp = rtp_timestamp_offset_ + static_cast<uint32_t>( in Rtcp() 230 header.timestamp = rtp_timestamp; in IncomingPacket() 313 uint32_t timestamp = 0; in InitialBehaviorTestHelper() local 325 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in InitialBehaviorTestHelper() 334 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in InitialBehaviorTestHelper() 337 timestamp += 90 * kFrameIntervalMs; in InitialBehaviorTestHelper() 360 uint32_t timestamp = 0; in RateIncreaseReorderingTestHelper() local 362 IncomingPacket(kDefaultSsrc, 1000, clock_.TimeInMilliseconds(), timestamp, in RateIncreaseReorderingTestHelper() 368 IncomingPacket(kDefaultSsrc, kMtu, clock_.TimeInMilliseconds(), timestamp, in RateIncreaseReorderingTestHelper() 371 timestamp += 90 * kFrameIntervalMs; in RateIncreaseReorderingTestHelper() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | dtmf_buffer_unittest.cc | 52 && a.timestamp == b.timestamp in EqualEvents() 67 uint32_t timestamp = 0x12345678; in TEST() local 72 DtmfBuffer::ParseEvent(timestamp, payload_ptr, sizeof(payload), in TEST() 77 EXPECT_EQ(timestamp, event.timestamp); in TEST() 81 DtmfBuffer::ParseEvent(timestamp, payload_ptr, 3, &event)); in TEST() 89 uint32_t timestamp = 0x12345678; in TEST() local 90 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST() 97 EXPECT_FALSE(buffer.GetEvent(timestamp - 10, &out_event)); in TEST() 101 EXPECT_TRUE(buffer.GetEvent(timestamp, &out_event)); in TEST() 106 EXPECT_TRUE(buffer.GetEvent(timestamp + duration / 2, &out_event)); in TEST() [all …]
|
D | nack_unittest.cc | 62 uint32_t timestamp = 0; in TEST() local 66 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 69 timestamp += kTimestampIncrement; in TEST() 80 uint32_t timestamp = 0; in TEST() local 83 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 92 timestamp + num_late_packets * kTimestampIncrement); in TEST() 116 uint32_t timestamp = 0; in TEST() local 119 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 124 timestamp += kTimestampIncrement * (kNumAllLostPackets + 1); in TEST() 128 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() [all …]
|
D | timestamp_scaler_unittest.cc | 35 for (uint32_t timestamp = 0xFFFFFFFF - 5; timestamp != 5; ++timestamp) { in TEST() local 37 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST() 39 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST() 60 for (uint32_t timestamp = start_timestamp; timestamp != 5 * kStep; in TEST() local 61 timestamp += kStep) { in TEST() 63 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST() 65 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST() 181 packet.header.timestamp = external_timestamp; in TEST() 184 EXPECT_EQ(internal_timestamp, packet.header.timestamp); in TEST() 208 packet1.header.timestamp = external_timestamp; in TEST() [all …]
|
D | dtmf_buffer.cc | 84 event->timestamp = rtp_timestamp; in ParseEvent() 126 uint32_t event_end = it->timestamp + it->duration; in GetEvent() 139 event_end = std::min(event_end, next->timestamp); in GetEvent() 145 if (current_timestamp >= it->timestamp in GetEvent() 153 event->timestamp = it->timestamp; in GetEvent() 173 event->timestamp = it->timestamp; in GetEvent() 216 return (a.event_no == b.event_no) && (a.timestamp == b.timestamp); in SameEvent() 242 if (a.timestamp == b.timestamp) { in CompareEvents() 246 return (static_cast<uint32_t>(b.timestamp - a.timestamp) < 0xFFFFFFFF / 2); in CompareEvents()
|
D | nack.cc | 53 uint32_t timestamp) { in UpdateLastReceivedPacket() argument 58 timestamp_last_received_rtp_ = timestamp; in UpdateLastReceivedPacket() 64 timestamp_last_decoded_rtp_ = timestamp; in UpdateLastReceivedPacket() 79 UpdateSamplesPerPacket(sequence_number, timestamp); in UpdateLastReceivedPacket() 84 timestamp_last_received_rtp_ = timestamp; in UpdateLastReceivedPacket() 135 uint32_t timestamp = EstimateTimestamp(n); in AddToList() local 136 NackElement nack_element(TimeToPlay(timestamp), timestamp, is_missing); in AddToList() 151 uint32_t timestamp) { in UpdateLastDecodedPacket() argument 155 timestamp_last_decoded_rtp_ = timestamp; in UpdateLastDecodedPacket() 213 int64_t Nack::TimeToPlay(uint32_t timestamp) const { in TimeToPlay() [all …]
|
D | packet_buffer.cc | 86 packet->header.timestamp == (*rit)->header.timestamp) { in InsertPacket() 97 packet->header.timestamp == (*it)->header.timestamp) { in InsertPacket() 154 *next_timestamp = buffer_.front()->header.timestamp; in NextTimestamp() 158 int PacketBuffer::NextHigherTimestamp(uint32_t timestamp, in NextHigherTimestamp() argument 168 if ((*it)->header.timestamp >= timestamp) { in NextHigherTimestamp() 170 *next_timestamp = (*it)->header.timestamp; in NextHigherTimestamp() 200 buffer_.front()->header.timestamp == packet->header.timestamp) { in GetNextPacket() 228 while (!Empty() && timestamp_limit != buffer_.front()->header.timestamp && in DiscardOldPackets() 229 IsObsoleteTimestamp(buffer_.front()->header.timestamp, in DiscardOldPackets()
|
/external/libweave/src/states/ |
D | state_change_queue_unittest.cc | 30 auto timestamp = base::Time::Now(); in TEST_F() local 32 timestamp, *CreateDictionaryValue("{'prop': {'name': 23}}"))); in TEST_F() 35 EXPECT_EQ(timestamp, changes.front().timestamp); in TEST_F() 53 EXPECT_EQ(timestamp1, changes[0].timestamp); in TEST_F() 55 EXPECT_EQ(timestamp2, changes[1].timestamp); in TEST_F() 61 base::Time timestamp = base::Time::Now(); in TEST_F() local 65 timestamp, *CreateDictionaryValue("{'prop': {'name1': 1}}"))); in TEST_F() 68 timestamp, *CreateDictionaryValue("{'prop': {'name2': 2}}"))); in TEST_F() 71 timestamp, *CreateDictionaryValue("{'prop': {'name1': 3}}"))); in TEST_F() 74 timestamp + time_delta, in TEST_F() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | handler_tracking.ipp | 83 handler_tracking_timestamp timestamp; 91 timestamp.seconds, timestamp.microseconds, 107 handler_tracking_timestamp timestamp; 111 timestamp.seconds, timestamp.microseconds, 120 handler_tracking_timestamp timestamp; 124 timestamp.seconds, timestamp.microseconds, id_); 132 handler_tracking_timestamp timestamp; 136 timestamp.seconds, timestamp.microseconds, 145 handler_tracking_timestamp timestamp; 149 timestamp.seconds, timestamp.microseconds, [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | inter_frame_delay.cc | 30 bool VCMInterFrameDelay::CalculateDelay(uint32_t timestamp, in CalculateDelay() argument 36 _prevTimestamp = timestamp; in CalculateDelay() 42 CheckForWrapArounds(timestamp); in CalculateDelay() 51 if ((wrapAroundsSincePrev == 0 && timestamp < _prevTimestamp) || in CalculateDelay() 60 (timestamp + wrapAroundsSincePrev * (static_cast<int64_t>(1) << 32) - in CalculateDelay() 70 _prevTimestamp = timestamp; in CalculateDelay() 87 void VCMInterFrameDelay::CheckForWrapArounds(uint32_t timestamp) { in CheckForWrapArounds() argument 88 if (timestamp < _prevTimestamp) { in CheckForWrapArounds() 94 if (static_cast<int32_t>(timestamp - _prevTimestamp) > 0) { in CheckForWrapArounds() 102 } else if (static_cast<int32_t>(_prevTimestamp - timestamp) > 0) { in CheckForWrapArounds()
|
D | timestamp_map.cc | 27 void VCMTimestampMap::Add(uint32_t timestamp, VCMFrameInformation* data) { in Add() argument 28 ring_buffer_[next_add_idx_].timestamp = timestamp; in Add() 38 VCMFrameInformation* VCMTimestampMap::Pop(uint32_t timestamp) { in Pop() argument 40 if (ring_buffer_[next_pop_idx_].timestamp == timestamp) { in Pop() 46 } else if (IsNewerTimestamp(ring_buffer_[next_pop_idx_].timestamp, in Pop() 47 timestamp)) { in Pop()
|
D | jitter_buffer_unittest.cc | 68 EXPECT_TRUE(map_.Find(packet_.timestamp, &it)); in TEST_F() 69 EXPECT_EQ(packet_.timestamp, it->first); in TEST_F() 75 packet_.timestamp = kSsTimestamp1; in TEST_F() 77 packet_.timestamp = kSsTimestamp2; in TEST_F() 96 EXPECT_TRUE(map_.Find(packet_.timestamp, &it)); in TEST_F() 97 EXPECT_EQ(packet_.timestamp, it->first); in TEST_F() 100 EXPECT_FALSE(map_.Find(packet_.timestamp, &it)); in TEST_F() 106 packet_.timestamp = kSsTimestamp1; in TEST_F() 124 packet_.timestamp = kSsTimestamp1; in TEST_F() 126 packet_.timestamp = kSsTimestamp2; in TEST_F() [all …]
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
D | TimeLineGraphItem.java | 27 long timestamp; field in TimeLineGraphItem 33 …itle, String description,double value,Color color,boolean display, long timestamp, boolean isSpeci… in TimeLineGraphItem() argument 34 this(title, description, value, color,display, timestamp,isSpecial); in TimeLineGraphItem() 38 …itle, String description,double value,Color color,boolean display, long timestamp, boolean isSpeci… in TimeLineGraphItem() argument 39 this(title, description, value, color,display, timestamp); in TimeLineGraphItem() 43 …phItem(String title, String description,double value,Color color,boolean display, long timestamp) { in TimeLineGraphItem() argument 44 this(title, description, value, color,timestamp); in TimeLineGraphItem() 48 TimeLineGraphItem(String title, String description, double value, Color color,long timestamp) { in TimeLineGraphItem() argument 53 this.timestamp=timestamp; in TimeLineGraphItem() 64 long ts1=((TimeLineGraphItem)o1).timestamp; in compare() [all …]
|
D | TimeLineGraph.java | 148 …upName,String name, String description, double value, Color col, boolean display, long timestamp) { in addItem() argument 149 addItem(groupName, name, description, value, col, display, timestamp,false); in addItem() 152 …ame, String description, double value, Color col, boolean display, long timestamp,boolean isSpecia… in addItem() argument 154 timestamp,isSpecial,false); in addItem() 157 …ame, String description, double value, Color col, boolean display, long timestamp,boolean isSpecia… in addItem() argument 164 timestamp,isSpecial,drawBaseline)); in addItem() 212 if (graphItem.timestamp > mostRecentTimestamp) { in getMostRecent() 213 mostRecentTimestamp = graphItem.timestamp; in getMostRecent() 250 if (thisItem.timestamp==-1) in setCoordinates() 267 long minimumTimeDiffPreceding=thisItem.timestamp; in setRelativeXPosition() [all …]
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_pipe.c | 59 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait() argument 64 .timestamp = timestamp, in kgsl_pipe_wait() 75 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait() 80 uint32_t *timestamp) in kgsl_pipe_timestamp() argument 91 *timestamp = req.timestamp; in kgsl_pipe_timestamp() 148 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() local 149 if (timestamp) in kgsl_pipe_pre_submit() 150 fd_pipe_wait(kgsl_pipe->p3d, timestamp); in kgsl_pipe_pre_submit() 156 uint32_t timestamp) in kgsl_pipe_post_submit() argument 164 kgsl_bo->timestamp[pipe->id] = timestamp; in kgsl_pipe_post_submit() [all …]
|
/external/libchrome/base/trace_event/common/ |
D | trace_event_common.h | 299 timestamp) \ argument 301 TRACE_EVENT_PHASE_INSTANT, category_group, name, 0, 0, timestamp, \ 349 thread_id, timestamp) \ argument 352 timestamp, TRACE_EVENT_FLAG_NONE) 354 category_group, name, id, thread_id, timestamp) \ argument 357 timestamp, TRACE_EVENT_FLAG_COPY) 359 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 362 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val) 364 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 368 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val, arg2_name, \ [all …]
|
/external/v8/base/trace_event/common/ |
D | trace_event_common.h | 299 timestamp) \ argument 301 TRACE_EVENT_PHASE_INSTANT, category_group, name, 0, 0, timestamp, \ 349 thread_id, timestamp) \ argument 352 timestamp, TRACE_EVENT_FLAG_NONE) 354 category_group, name, id, thread_id, timestamp) \ argument 357 timestamp, TRACE_EVENT_FLAG_COPY) 359 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 362 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val) 364 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 368 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val, arg2_name, \ [all …]
|
/external/tcpdump/tests/ |
D | babel_rtt.out | 2 Hello seqno 58805 interval 4.00s sub-timestamp 2222.954827s 4 Hello seqno 15585 interval 4.00s sub-timestamp 94.665527s 5 IHU fe80::5054:ff:fe85:5da9 txcost 96 interval 12.00s sub-timestamp 2222.954827s|91.378052s 7 Hello seqno 58806 interval 4.00s sub-timestamp 2226.449854s 8 IHU fe80::5054:ff:fe23:4567 txcost 96 interval 12.00s sub-timestamp 90.173759s|2222.137366s 10 Hello seqno 58807 interval 4.00s sub-timestamp 2229.725353s 12 Hello seqno 15586 interval 4.00s sub-timestamp 98.956759s 14 Hello seqno 15587 interval 4.00s sub-timestamp 102.558329s 16 Hello seqno 58808 interval 4.00s sub-timestamp 2234.612063s 18 Hello seqno 15588 interval 4.00s sub-timestamp 106.492002s [all …]
|
/external/speex/libspeex/ |
D | jitter.c | 380 …if (jitter->packets[i].data && LE32(jitter->packets[i].timestamp + jitter->packets[i].span, jitter… in jitter_buffer_put() 394 if (!jitter->reset_state && LT32(packet->timestamp, jitter->next_stop)) in jitter_buffer_put() 396 …update_timings(jitter, ((spx_int32_t)packet->timestamp) - ((spx_int32_t)jitter->next_stop) - jitte… in jitter_buffer_put() 410 …if (jitter->reset_state || GE32(packet->timestamp+packet->span+jitter->delay_step, jitter->pointer… in jitter_buffer_put() 423 int earliest=jitter->packets[0].timestamp; in jitter_buffer_put() 427 if (!jitter->packets[i].data || LT32(jitter->packets[j].timestamp,earliest)) in jitter_buffer_put() 429 earliest = jitter->packets[j].timestamp; in jitter_buffer_put() 450 jitter->packets[i].timestamp=packet->timestamp; in jitter_buffer_put() 483 if (jitter->packets[i].data && (!found || LT32(jitter->packets[i].timestamp,oldest))) in jitter_buffer_get() 485 oldest = jitter->packets[i].timestamp; in jitter_buffer_get() [all …]
|
/external/skia/src/core/ |
D | SkTraceEventCommon.h | 357 thread_id, timestamp) \ argument 360 timestamp, TRACE_EVENT_FLAG_NONE) 362 category_group, name, id, thread_id, timestamp) \ argument 365 timestamp, TRACE_EVENT_FLAG_COPY) 367 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 370 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val) 372 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val, \ argument 376 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val, arg2_name, \ 410 #define TRACE_EVENT_MARK_WITH_TIMESTAMP(category_group, name, timestamp) \ argument 412 category_group, name, timestamp, \ [all …]
|