big_endian_writer_ 18 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 19 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kNtpHigh); // NTP timestamp. big_endian_writer_ 20 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kNtpLow); big_endian_writer_ 21 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kRtpTimestamp); big_endian_writer_ 22 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kSendPacketCount); big_endian_writer_ 23 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kSendOctetCount); big_endian_writer_ 31 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 32 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(ntp_high); big_endian_writer_ 33 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(ntp_low); big_endian_writer_ 34 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(rtp_timestamp); big_endian_writer_ 35 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kSendPacketCount); big_endian_writer_ 36 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kSendOctetCount); big_endian_writer_ 42 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 46 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(rtp_ssrc); big_endian_writer_ 47 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kLoss); big_endian_writer_ 48 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kExtendedMax); big_endian_writer_ 49 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kTestJitter); big_endian_writer_ 50 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kLastSr); big_endian_writer_ 51 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kDelayLastSr); big_endian_writer_ 57 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 58 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(1); // c_name. big_endian_writer_ 61 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8( big_endian_writer_ 64 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(c_name.c_str()[i]); big_endian_writer_ 82 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); big_endian_writer_ 88 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 92 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(9); // Block type. big_endian_writer_ 93 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Reserved. big_endian_writer_ 94 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(4); // Block length. big_endian_writer_ 96 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0); big_endian_writer_ 97 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0); big_endian_writer_ 98 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0); big_endian_writer_ 99 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0); big_endian_writer_ 103 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(5); // Block type. big_endian_writer_ 104 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Reserved. big_endian_writer_ 105 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(3); // Block length. big_endian_writer_ 108 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 109 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kLastRr); big_endian_writer_ 110 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kDelayLastRr); big_endian_writer_ 114 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(5); // Block type. big_endian_writer_ 115 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Reserved. big_endian_writer_ 116 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(9); // Block length. big_endian_writer_ 117 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xaaaaaaaa); big_endian_writer_ 118 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xaaaaaaaa); big_endian_writer_ 119 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xaaaaaaaa); big_endian_writer_ 122 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 123 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kLastRr); big_endian_writer_ 124 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kDelayLastRr); big_endian_writer_ 125 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xbbbbbbbb); big_endian_writer_ 126 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xbbbbbbbb); big_endian_writer_ 127 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0xbbbbbbbb); big_endian_writer_ 131 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(4); // Block type. big_endian_writer_ 132 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Reserved. big_endian_writer_ 133 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(2); // Block length. big_endian_writer_ 134 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kNtpHigh); big_endian_writer_ 135 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(kNtpLow); big_endian_writer_ 140 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 141 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 142 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(kMissingPacket); big_endian_writer_ 143 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(0); big_endian_writer_ 149 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 150 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 155 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 156 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 161 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 162 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 163 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Padding bits. big_endian_writer_ 164 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(kPayloadtype); big_endian_writer_ 168 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0x80 | big_endian_writer_ 172 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(static_cast<uint8>(picture_id & 0x7f)); big_endian_writer_ 177 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 178 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(0); big_endian_writer_ 179 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('R'); big_endian_writer_ 180 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('E'); big_endian_writer_ 181 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('M'); big_endian_writer_ 182 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('B'); big_endian_writer_ 183 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(1); // Number of SSRCs. big_endian_writer_ 184 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(1); // BR Exp. big_endian_writer_ 186 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(static_cast<uint16>(kTestRembBitrate / 2)); big_endian_writer_ 187 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 194 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 195 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(media_ssrc); big_endian_writer_ 196 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('C'); big_endian_writer_ 197 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('A'); big_endian_writer_ 198 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('S'); big_endian_writer_ 199 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('T'); big_endian_writer_ 200 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(kAckFrameId); big_endian_writer_ 201 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(3); // Loss fields. big_endian_writer_ 202 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(target_delay_ms); big_endian_writer_ 203 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(kLostFrameId); big_endian_writer_ 204 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(kRtcpCastAllPacketsLost); big_endian_writer_ 205 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Lost packet id mask. big_endian_writer_ 206 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(kFrameIdWithLostPackets); big_endian_writer_ 207 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(kLostPacketId1); big_endian_writer_ 208 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0x2); // Lost packet id mask. big_endian_writer_ 209 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(kFrameIdWithLostPackets); big_endian_writer_ 210 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(kLostPacketId3); big_endian_writer_ 211 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0); // Lost packet id mask. big_endian_writer_ 216 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 217 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('C'); big_endian_writer_ 218 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('A'); big_endian_writer_ 219 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('S'); big_endian_writer_ 220 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('T'); big_endian_writer_ 225 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32((static_cast<uint32>(event_id) << 24) + big_endian_writer_ 231 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(sender_ssrc); big_endian_writer_ 232 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('C'); big_endian_writer_ 233 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('A'); big_endian_writer_ 234 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('S'); big_endian_writer_ 235 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8('T'); big_endian_writer_ 241 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU32(rtp_timestamp); big_endian_writer_ 242 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(static_cast<uint8>(num_events - 1)); big_endian_writer_ 243 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(static_cast<uint8>(event_timesamp_base >> 16)); big_endian_writer_ 244 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(static_cast<uint8>(event_timesamp_base >> 8)); big_endian_writer_ 245 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(static_cast<uint8>(event_timesamp_base)); big_endian_writer_ 251 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(event_data); big_endian_writer_ 254 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(type_and_delta); big_endian_writer_ 272 media/cast/rtcp/test_rtcp_packet_builder.cc int this_packet_length = (big_endian_writer_.ptr() - ptr_of_length_ - 2); big_endian_writer_ 286 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(0x80 | (format_or_count & 0x1F)); big_endian_writer_ 287 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU8(payload); big_endian_writer_ 288 media/cast/rtcp/test_rtcp_packet_builder.cc ptr_of_length_ = big_endian_writer_.ptr(); big_endian_writer_ 291 media/cast/rtcp/test_rtcp_packet_builder.cc big_endian_writer_.WriteU16(0xDEAD); big_endian_writer_ 95 media/cast/rtcp/test_rtcp_packet_builder.h int Length() { return kMaxIpPacketSize - big_endian_writer_.remaining(); } big_endian_writer_ 105 media/cast/rtcp/test_rtcp_packet_builder.h base::BigEndianWriter big_endian_writer_;