/external/chromium_org/chrome/renderer/media/ |
cast_ipc_dispatcher_unittest.cc | 33 media::cast::PacketEvent packet_event; local 34 packet_event.rtp_timestamp = 100; 35 packet_event.max_packet_id = 10; 36 packet_event.packet_id = 5; 37 packet_event.size = 512; 38 packet_event.timestamp = base::SimpleTestTickClock().NowTicks(); 39 packet_event.type = media::cast::PACKET_SENT_TO_NETWORK; 40 packet_event.media_type = media::cast::VIDEO_EVENT; 42 packet_events.push_back(packet_event); 53 packet_events.push_back(packet_event); [all...] |
/external/chromium_org/media/cast/logging/ |
raw_event_subscriber.h | 24 // Called on main thread when a PacketEvent, given by |packet_event|, 26 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) = 0;
|
receiver_time_offset_estimator_impl.cc | 122 const PacketEvent& packet_event) { 124 switch (packet_event.type) { 126 upper_bound_.SetSent(packet_event.rtp_timestamp, 127 packet_event.packet_id, 128 packet_event.media_type == AUDIO_EVENT, 129 packet_event.timestamp); 132 upper_bound_.SetReceived(packet_event.rtp_timestamp, 133 packet_event.packet_id, 134 packet_event.media_type == AUDIO_EVENT, 135 packet_event.timestamp) [all...] |
logging_raw.cc | 79 PacketEvent packet_event; local 80 packet_event.rtp_timestamp = rtp_timestamp; 81 packet_event.frame_id = frame_id; 82 packet_event.max_packet_id = max_packet_id; 83 packet_event.packet_id = packet_id; 84 packet_event.size = size; 85 packet_event.timestamp = time_of_event; 86 packet_event.type = event; 87 packet_event.media_type = event_media_type; 91 (*it)->OnReceivePacketEvent(packet_event); [all...] |
encoding_event_subscriber.cc | 115 const PacketEvent& packet_event) { 118 if (event_media_type_ != packet_event.media_type) 122 GetRelativeRtpTimestamp(packet_event.rtp_timestamp); 135 event_proto.get(), packet_event.packet_id, packet_event.size); 146 if ((*base_it)->packet_id() == packet_event.packet_id) { 154 << packet_event.rtp_timestamp << ". " 163 event_proto.get(), packet_event.packet_id, packet_event.size); 167 << packet_event.rtp_timestamp << ", [all...] |
simple_event_subscriber.cc | 26 const PacketEvent& packet_event) { 28 packet_events_.push_back(packet_event);
|
simple_event_subscriber.h | 29 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
|
log_deserializer.cc | 114 linked_ptr<AggregatedPacketEvent> packet_event(new AggregatedPacketEvent); 115 if (!packet_event->ParseFromArray(reader->ptr(), proto_size)) 120 packet_event->set_relative_rtp_timestamp( 121 packet_event->relative_rtp_timestamp() + relative_rtp_timestamp); 122 relative_rtp_timestamp = packet_event->relative_rtp_timestamp(); 125 packet_event->relative_rtp_timestamp()); 128 std::make_pair(packet_event->relative_rtp_timestamp(), packet_event)); 132 MergePacketEvent(*packet_event, it->second);
|
log_serializer.cc | 89 media::cast::proto::AggregatedPacketEvent packet_event(**it); 91 packet_event.relative_rtp_timestamp(); 92 packet_event.set_relative_rtp_timestamp( 96 proto_size = packet_event.ByteSize(); 102 if (!packet_event.SerializeToArray(writer.ptr(), writer.remaining()))
|
stats_event_subscriber.h | 39 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE; 199 void RecordPacketSentTime(const PacketEvent& packet_event); 200 void ErasePacketSentTime(const PacketEvent& packet_event); 201 void RecordNetworkLatency(const PacketEvent& packet_event);
|
stats_event_subscriber.cc | 162 const PacketEvent& packet_event) { 165 CastLoggingEvent type = packet_event.type; 166 if (packet_event.media_type != event_media_type_) 173 stats.sum_size = packet_event.size; 177 it->second.sum_size += packet_event.size; 181 UpdateFirstLastEventTime(packet_event.timestamp, is_receiver_event); 185 RecordNetworkLatency(packet_event); 189 ErasePacketSentTime(packet_event); 193 UpdateLastResponseTime(packet_event.timestamp); 499 const PacketEvent& packet_event) { [all...] |
encoding_event_subscriber.h | 56 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
|
receiver_time_offset_estimator_impl.h | 43 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
|
serialize_deserialize_test.cc | 76 linked_ptr<AggregatedPacketEvent> packet_event(new AggregatedPacketEvent); 77 packet_event->set_relative_rtp_timestamp(i * 90); 79 BasePacketEvent* base_event = packet_event->add_base_packet_event(); 91 packet_event_list_.push_back(packet_event);
|
encoding_event_subscriber_unittest.cc | 629 linked_ptr<AggregatedPacketEvent> packet_event = *packet_it; local 632 packet_event->base_packet_event_size()); 635 packet_event = *packet_it; 636 EXPECT_EQ(1, packet_event->base_packet_event_size()); 657 packet_event = *packet_it; 660 packet_event->base_packet_event(0).event_type_size()); 663 packet_event = *packet_it; 664 EXPECT_EQ(1, packet_event->base_packet_event(0).event_type_size());
|
/external/chromium_org/media/cast/net/rtcp/ |
receiver_rtcp_event_subscriber.cc | 50 const PacketEvent& packet_event) { 53 if (ShouldProcessEvent(packet_event.type, packet_event.media_type)) { 55 if (packet_event.type == PACKET_RECEIVED) { 56 rtcp_event.type = packet_event.type; 57 rtcp_event.timestamp = packet_event.timestamp; 58 rtcp_event.packet_id = packet_event.packet_id; 60 std::make_pair(packet_event.rtp_timestamp, rtcp_event));
|
receiver_rtcp_event_subscriber.h | 44 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
|
rtcp_builder_unittest.cc | 220 PacketEvent packet_event; local 221 packet_event.rtp_timestamp = kRtpTimestamp; 222 packet_event.type = PACKET_RECEIVED; 223 packet_event.media_type = VIDEO_EVENT; 224 packet_event.timestamp = testing_clock.NowTicks(); 225 packet_event.packet_id = kLostPacketId1; 226 event_subscriber.OnReceivePacketEvent(packet_event); 282 PacketEvent packet_event; local 283 packet_event.rtp_timestamp = kRtpTimestamp + 2345; 284 packet_event.type = PACKET_RECEIVED [all...] |
/external/chromium_org/media/cast/test/ |
fake_receiver_time_offset_estimator.cc | 23 const PacketEvent& packet_event) {
|
fake_receiver_time_offset_estimator.h | 27 virtual void OnReceivePacketEvent(const PacketEvent& packet_event) OVERRIDE;
|