Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 1569) sorted by relevance

12345678910>>...63

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers_unittest.cc39 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 …]
Ddefault_temporal_layers_unittest.cc84 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/
Drtp_to_ntp_unittest.cc40 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, &timestamp_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/
Dinter_arrival.cc32 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 …]
Dinter_arrival_unittest.cc163 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 …]
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DTimestampTest.java116 Timestamp timestamp = Timestamp.create(1234, 223); in timestampAddNanos() local
117 assertThat(timestamp.addNanos(0)).isEqualTo(timestamp); in timestampAddNanos()
118 assertThat(timestamp.addNanos(999999777)).isEqualTo(Timestamp.create(1235, 0)); in timestampAddNanos()
119 assertThat(timestamp.addNanos(1300200500)).isEqualTo(Timestamp.create(1235, 300200723)); in timestampAddNanos()
120 assertThat(timestamp.addNanos(1999999777)).isEqualTo(Timestamp.create(1236, 0)); in timestampAddNanos()
121 assertThat(timestamp.addNanos(9876543789L)).isEqualTo(Timestamp.create(1243, 876544012)); in timestampAddNanos()
122 assertThat(timestamp.addNanos(Long.MAX_VALUE)) in timestampAddNanos()
128 Timestamp timestamp = Timestamp.create(1234, 223); in timestampAddNanos_Negative() local
129 assertThat(timestamp.addNanos(-223)).isEqualTo(Timestamp.create(1234, 0)); in timestampAddNanos_Negative()
130 assertThat(timestamp.addNanos(-1000000223)).isEqualTo(Timestamp.create(1233, 0)); in timestampAddNanos_Negative()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer_unittest.cc52 && 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 …]
Dnack_unittest.cc62 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 …]
Dtimestamp_scaler_unittest.cc35 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 …]
Ddtmf_buffer.cc84 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()
/external/perfetto/src/trace_processor/
Dtrace_sorter.h70 inline void PushTracePacket(int64_t timestamp, in PushTracePacket() argument
75 queue->Append(TimestampedTracePiece(timestamp, packet_idx_++, in PushTracePacket()
81 inline void PushJsonValue(int64_t timestamp, in PushJsonValue() argument
85 TimestampedTracePiece(timestamp, packet_idx_++, std::move(json_value))); in PushJsonValue()
89 inline void PushFuchsiaRecord(int64_t timestamp, in PushFuchsiaRecord() argument
94 TimestampedTracePiece(timestamp, packet_idx_++, std::move(record))); in PushFuchsiaRecord()
101 int64_t timestamp = systrace_line->ts; in PushSystraceLine() local
102 queue->Append(TimestampedTracePiece(timestamp, packet_idx_++, in PushSystraceLine()
108 int64_t timestamp, in PushFtraceEvent() argument
112 TimestampedTracePiece(timestamp, packet_idx_++, std::move(event))); in PushFtraceEvent()
[all …]
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_parser.h42 void ParseGenericFtrace(int64_t timestamp,
47 int64_t timestamp,
51 void ParseSchedSwitch(uint32_t cpu, int64_t timestamp, protozero::ConstBytes);
52 void ParseSchedWakeup(int64_t timestamp, protozero::ConstBytes);
53 void ParseSchedWaking(int64_t timestamp, protozero::ConstBytes);
54 void ParseSchedProcessFree(int64_t timestamp, protozero::ConstBytes);
55 void ParseCpuFreq(int64_t timestamp, protozero::ConstBytes);
56 void ParseGpuFreq(int64_t timestamp, protozero::ConstBytes);
57 void ParseCpuIdle(int64_t timestamp, protozero::ConstBytes);
58 void ParsePrint(int64_t timestamp, uint32_t pid, protozero::ConstBytes);
[all …]
Dsched_event_tracker_unittest.cc51 int64_t timestamp = 100; in TEST_F() local
59 sched_tracker->PushSchedSwitch(cpu, timestamp, pid_1, kCommProc2, prio, in TEST_F()
63 sched_tracker->PushSchedSwitch(cpu, timestamp + 1, pid_2, kCommProc1, prio, in TEST_F()
69 ASSERT_EQ(timestamps[0], timestamp); in TEST_F()
81 int64_t timestamp = 100; in TEST_F() local
87 sched_tracker->PushSchedSwitch(cpu, timestamp, /*tid=*/4, kCommProc2, prio, in TEST_F()
92 sched_tracker->PushSchedSwitch(cpu, timestamp + 1, /*tid=*/2, kCommProc1, in TEST_F()
95 sched_tracker->PushSchedSwitch(cpu, timestamp + 11, /*tid=*/4, kCommProc2, in TEST_F()
98 sched_tracker->PushSchedSwitch(cpu, timestamp + 31, /*tid=*/2, kCommProc1, in TEST_F()
104 ASSERT_EQ(timestamps[0], timestamp); in TEST_F()
[all …]
/external/v8/base/trace_event/common/
Dtrace_event_common.h270 timestamp) \ argument
272 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
276 timestamp, arg_name, arg_val) \ argument
278 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
316 thread_id, timestamp) \ argument
319 timestamp, TRACE_EVENT_FLAG_NONE)
321 category_group, name, id, thread_id, timestamp) \ argument
324 timestamp, TRACE_EVENT_FLAG_COPY)
326 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument
329 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val)
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dhandler_tracking.ipp83 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/libchrome/base/trace_event/common/
Dtrace_event_common.h261 timestamp) \ argument
263 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
267 timestamp, arg_name, arg_val) \ argument
269 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
307 thread_id, timestamp) \ argument
310 timestamp, TRACE_EVENT_FLAG_NONE)
312 category_group, name, id, thread_id, timestamp) \ argument
315 timestamp, TRACE_EVENT_FLAG_COPY)
317 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument
320 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val)
[all …]
/external/perfetto/test/trace_processor/
Dtrack_event_tracks.textproto4 timestamp: 0
24 timestamp: 0
44 timestamp: 0
56 timestamp: 0
65 timestamp: 100
74 timestamp: 200
85 timestamp: 1000
95 timestamp: 2000
105 timestamp: 3000
116 timestamp: 4000
[all …]
Dtrack_event_counters.textproto4 timestamp: 0
26 timestamp: 0
39 timestamp: 0
54 timestamp: 0
69 timestamp: 1000
82 timestamp: 1100
92 timestamp: 2000
114 timestamp: 2000
127 timestamp: 2000
143 timestamp: 2000
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java142 public static boolean isValid(Timestamp timestamp) { in isValid() argument
143 return isValid(timestamp.getSeconds(), timestamp.getNanos()); in isValid()
168 public static Timestamp checkValid(Timestamp timestamp) { in checkValid() argument
169 long seconds = timestamp.getSeconds(); in checkValid()
170 int nanos = timestamp.getNanos(); in checkValid()
179 return timestamp; in checkValid()
203 public static String toString(Timestamp timestamp) { in toString() argument
204 checkValid(timestamp); in toString()
206 long seconds = timestamp.getSeconds(); in toString()
207 int nanos = timestamp.getNanos(); in toString()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DTimedValueQueue.java47 public synchronized void add(long timestamp, V value) { in add() argument
48 clearBufferOnTimeDiscontinuity(timestamp); in add()
50 addUnchecked(timestamp, value); in add()
74 public synchronized @Nullable V pollFloor(long timestamp) { in pollFloor() argument
75 return poll(timestamp, /* onlyOlder= */ true); in pollFloor()
86 public synchronized @Nullable V poll(long timestamp) { in poll() argument
87 return poll(timestamp, /* onlyOlder= */ false); in poll()
101 private V poll(long timestamp, boolean onlyOlder) { in poll() argument
105 long timeDiff = timestamp - timestamps[first]; in poll()
118 private void clearBufferOnTimeDiscontinuity(long timestamp) { in clearBufferOnTimeDiscontinuity() argument
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dinter_frame_delay.cc30 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()
Dtimestamp_map.cc27 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()
/external/libdrm/freedreno/kgsl/
Dkgsl_pipe.c60 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait() argument
65 .timestamp = timestamp, in kgsl_pipe_wait()
76 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait()
81 uint32_t *timestamp) in kgsl_pipe_timestamp() argument
92 *timestamp = req.timestamp; in kgsl_pipe_timestamp()
149 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() local
150 if (timestamp) in kgsl_pipe_pre_submit()
151 fd_pipe_wait(kgsl_pipe->p3d, timestamp); in kgsl_pipe_pre_submit()
157 uint32_t timestamp) in kgsl_pipe_post_submit() argument
165 kgsl_bo->timestamp[pipe->id] = timestamp; in kgsl_pipe_post_submit()
[all …]
/external/tensorflow/tensorflow/python/client/
Dtimeline.py64 def _create_event(self, ph, category, name, pid, tid, timestamp): argument
87 event['ts'] = timestamp
120 def emit_region(self, timestamp, duration, pid, tid, category, name, args): argument
132 event = self._create_event('X', category, name, pid, tid, timestamp)
137 def emit_obj_create(self, category, name, timestamp, pid, tid, object_id): argument
148 event = self._create_event('N', category, name, pid, tid, timestamp)
152 def emit_obj_delete(self, category, name, timestamp, pid, tid, object_id): argument
163 event = self._create_event('D', category, name, pid, tid, timestamp)
167 def emit_obj_snapshot(self, category, name, timestamp, pid, tid, object_id, argument
180 event = self._create_event('O', category, name, pid, tid, timestamp)
[all …]
/external/perfetto/src/trace_processor/importers/common/
Devent_tracker.cc39 int64_t timestamp, in PushProcessCounterForThread() argument
43 auto opt_id = PushCounter(timestamp, value, kInvalidTrackId); in PushProcessCounterForThread()
54 base::Optional<CounterId> EventTracker::PushCounter(int64_t timestamp, in PushCounter() argument
57 if (timestamp < max_timestamp_) { in PushCounter()
60 timestamp, (max_timestamp_ - timestamp) / 1e6); in PushCounter()
64 max_timestamp_ = timestamp; in PushCounter()
67 return counter_values->Insert({timestamp, track_id, value}).id; in PushCounter()
70 InstantId EventTracker::PushInstant(int64_t timestamp, in PushInstant() argument
80 auto id_and_row = instants->Insert({timestamp, name_id, 0, ref_type_id}); in PushInstant()
89 id = instants->Insert({timestamp, name_id, ref, ref_type_id}).id; in PushInstant()

12345678910>>...63