Home
last modified time | relevance | path

Searched refs:report_block (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/media/cast/rtcp/
Drtcp_sender_unittest.cc28 transport::RtcpReportBlock report_block; in GetReportBlock() local
30 report_block.remote_ssrc = 0xDEAD; in GetReportBlock()
31 report_block.media_ssrc = kMediaSsrc; // SSRC of the RTP packet sender. in GetReportBlock()
32 report_block.fraction_lost = kLoss >> 24; in GetReportBlock()
33 report_block.cumulative_lost = kLoss; // 24 bits valid. in GetReportBlock()
34 report_block.extended_high_sequence_number = kExtendedMax; in GetReportBlock()
35 report_block.jitter = kTestJitter; in GetReportBlock()
36 report_block.last_sr = kLastSr; in GetReportBlock()
37 report_block.delay_since_last_sr = kDelayLastSr; in GetReportBlock()
38 return report_block; in GetReportBlock()
[all …]
Drtcp.cc159 transport::RtcpReportBlock report_block; in SendRtcpFromRtpReceiver() local
177 report_block.remote_ssrc = 0; // Not needed to set send side. in SendRtcpFromRtpReceiver()
178 report_block.media_ssrc = remote_ssrc_; // SSRC of the RTP packet sender. in SendRtcpFromRtpReceiver()
181 &report_block.fraction_lost, &report_block.cumulative_lost, in SendRtcpFromRtpReceiver()
182 &report_block.extended_high_sequence_number, &report_block.jitter); in SendRtcpFromRtpReceiver()
185 report_block.last_sr = last_report_truncated_ntp_; in SendRtcpFromRtpReceiver()
192 report_block.delay_since_last_sr = in SendRtcpFromRtpReceiver()
195 report_block.delay_since_last_sr = 0; in SendRtcpFromRtpReceiver()
200 &report_block, in SendRtcpFromRtpReceiver()
Drtcp_sender.cc165 const transport::RtcpReportBlock* report_block, in SendRtcpFromRtpReceiver() argument
186 BuildRR(report_block, &packet->data); in SendRtcpFromRtpReceiver()
213 void RtcpSender::BuildRR(const transport::RtcpReportBlock* report_block, in BuildRR() argument
220 uint16 number_of_rows = (report_block) ? 7 : 1; in BuildRR()
225 big_endian_writer.WriteU8(0x80 + (report_block ? 1 : 0)); in BuildRR()
230 if (report_block) { in BuildRR()
231 AddReportBlocks(*report_block, packet); // Adds 24 bytes. in BuildRR()
235 void RtcpSender::AddReportBlocks(const transport::RtcpReportBlock& report_block, in AddReportBlocks() argument
246 big_endian_writer.WriteU32(report_block.media_ssrc); in AddReportBlocks()
247 big_endian_writer.WriteU8(report_block.fraction_lost); in AddReportBlocks()
[all …]
Drtcp_sender.h55 const transport::RtcpReportBlock* report_block,
62 void BuildRR(const transport::RtcpReportBlock* report_block,
65 void AddReportBlocks(const transport::RtcpReportBlock& report_block,
Drtcp_receiver.cc196 transport::RtcpReportBlock report_block; in HandleReportBlock() local
197 report_block.remote_ssrc = remote_ssrc; in HandleReportBlock()
198 report_block.media_ssrc = rb.ssrc; in HandleReportBlock()
199 report_block.fraction_lost = rb.fraction_lost; in HandleReportBlock()
200 report_block.cumulative_lost = rb.cumulative_number_of_packets_lost; in HandleReportBlock()
201 report_block.extended_high_sequence_number = in HandleReportBlock()
203 report_block.jitter = rb.jitter; in HandleReportBlock()
204 report_block.last_sr = rb.last_sender_report; in HandleReportBlock()
205 report_block.delay_since_last_sr = rb.delay_last_sender_report; in HandleReportBlock()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_packet_unittest.cc48 EXPECT_EQ(0, parser.report_block()->num_packets()); in TEST()
70 EXPECT_EQ(1, parser.report_block()->num_packets()); in TEST()
71 EXPECT_EQ(kRemoteSsrc, parser.report_block()->Ssrc()); in TEST()
72 EXPECT_EQ(55U, parser.report_block()->FractionLost()); in TEST()
73 EXPECT_EQ(0x111111U, parser.report_block()->CumPacketLost()); in TEST()
74 EXPECT_EQ(0x22222222U, parser.report_block()->ExtHighestSeqNum()); in TEST()
75 EXPECT_EQ(0x33333333U, parser.report_block()->Jitter()); in TEST()
76 EXPECT_EQ(0x44444444U, parser.report_block()->LastSr()); in TEST()
77 EXPECT_EQ(0x55555555U, parser.report_block()->DelayLastSr()); in TEST()
96 EXPECT_EQ(2, parser.report_block()->num_packets()); in TEST()
[all …]
Drtcp_sender.cc1853 RTCPReportBlock report_block; in PrepareRTCP() local
1855 feedback_state, it->second, &report_block, &NTPsec, &NTPfrac)) in PrepareRTCP()
1856 AddReportBlock(it->first, &internal_report_blocks_, &report_block); in PrepareRTCP()
2061 RTCPReportBlock* report_block, in PrepareReport() argument
2067 report_block->fractionLost = stats.fraction_lost; in PrepareReport()
2068 report_block->cumulativeLost = stats.cumulative_lost; in PrepareReport()
2069 report_block->extendedHighSeqNum = in PrepareReport()
2071 report_block->jitter = stats.jitter; in PrepareReport()
2091 report_block->delaySinceLastSR = delaySinceLastReceivedSR; in PrepareReport()
2092 report_block->lastSR = feedback_state.remote_sr; in PrepareReport()
Drtcp_receiver_unittest.cc114 ReportBlock report_block(rtp_ssrc, extended_max, fraction_loss, in AddRrPacket() local
116 std::list<ReportBlock> report_block_vector(&report_block, in AddRrPacket()
117 &report_block + 1); in AddRrPacket()
Drtcp_sender.h208 RTCPReportBlock* report_block,
Drtp_rtcp_impl.cc794 const RTCPReportBlock* report_block) { in AddRTCPReportBlock() argument
795 return rtcp_sender_.AddExternalReportBlock(ssrc, report_block); in AddRTCPReportBlock()
/external/chromium_org/third_party/webrtc/voice_engine/
Dchannel.cc3431 ReportBlock report_block; in GetRemoteRTCPReportBlocks() local
3432 report_block.sender_SSRC = it->remoteSSRC; in GetRemoteRTCPReportBlocks()
3433 report_block.source_SSRC = it->sourceSSRC; in GetRemoteRTCPReportBlocks()
3434 report_block.fraction_lost = it->fractionLost; in GetRemoteRTCPReportBlocks()
3435 report_block.cumulative_num_packets_lost = it->cumulativeLost; in GetRemoteRTCPReportBlocks()
3436 report_block.extended_highest_sequence_number = it->extendedHighSeqNum; in GetRemoteRTCPReportBlocks()
3437 report_block.interarrival_jitter = it->jitter; in GetRemoteRTCPReportBlocks()
3438 report_block.last_SR_timestamp = it->lastSR; in GetRemoteRTCPReportBlocks()
3439 report_block.delay_since_last_SR = it->delaySinceLastSR; in GetRemoteRTCPReportBlocks()
3440 report_blocks->push_back(report_block); in GetRemoteRTCPReportBlocks()
/external/e2fsprogs/lib/quota/
Dquotaio_tree.c542 static int report_block(struct dquot *dquot, uint blk, char *bitmap, in report_block() function
604 entries += report_block(dquot, blk, bitmap, in report_tree()
/external/chromium_org/third_party/webrtc/test/
Drtcp_packet_parser.h390 ReportBlock* report_block() { return &report_block_; } in report_block() function