Searched refs:rpsi (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_packet_unittest.cc | 363 Rpsi rpsi; in TEST() local 367 rpsi.WithPayloadType(100); in TEST() 368 rpsi.WithPictureId(kPictureId); in TEST() 370 RawPacket packet = rpsi.Build(); in TEST() 373 EXPECT_EQ(100, parser.rpsi()->PayloadType()); in TEST() 374 EXPECT_EQ(kNumberOfValidBytes * 8, parser.rpsi()->NumberOfValidBits()); in TEST() 375 EXPECT_EQ(kPictureId, parser.rpsi()->PictureId()); in TEST() 379 Rpsi rpsi; in TEST() local 383 rpsi.WithPictureId(kPictureId); in TEST() 385 RawPacket packet = rpsi.Build(); in TEST() [all …]
|
D | rtcp_packet.cc | 399 void CreateRpsi(const RTCPPacketPSFBRPSI& rpsi, in CreateRpsi() argument 405 assert(rpsi.NumberOfValidBits % 8 == 0); in CreateRpsi() 408 AssignUWord32(buffer, pos, rpsi.SenderSSRC); in CreateRpsi() 409 AssignUWord32(buffer, pos, rpsi.MediaSSRC); in CreateRpsi() 411 AssignUWord8(buffer, pos, rpsi.PayloadType); in CreateRpsi() 412 memcpy(buffer + *pos, rpsi.NativeBitString, rpsi.NumberOfValidBits / 8); in CreateRpsi() 413 *pos += rpsi.NumberOfValidBits / 8; in CreateRpsi()
|
/external/chromium_org/media/cast/rtcp/ |
D | rtcp_sender.cc | 337 void RtcpSender::BuildRpsi(const RtcpRpsiMessage* rpsi, Packet* packet) const { in BuildRpsi() argument 354 while ((rpsi->picture_id >> bits_required) > 0) { in BuildRpsi() 367 big_endian_writer.WriteU32(rpsi->remote_ssrc); in BuildRpsi() 375 big_endian_writer.WriteU8(rpsi->payload_type); in BuildRpsi() 380 static_cast<uint8>(rpsi->picture_id >> (i * 7))); in BuildRpsi() 383 big_endian_writer.WriteU8(static_cast<uint8>(rpsi->picture_id & 0x7f)); in BuildRpsi()
|
D | rtcp_utility.cc | 682 field_.rpsi.sender_ssrc = sender_ssrc; in ParseFeedBackCommon() 683 field_.rpsi.media_ssrc = media_ssrc; in ParseFeedBackCommon() 738 big_endian_reader.ReadU8(&field_.rpsi.payload_type); in ParseRpsiItem() 739 big_endian_reader.ReadBytes(&field_.rpsi.native_bit_string, length - 2); in ParseRpsiItem() 740 field_.rpsi.number_of_valid_bits = in ParseRpsiItem()
|
D | rtcp_receiver.cc | 341 if (rtcp_field.rpsi.number_of_valid_bits % 8 != 0) { in HandleRpsi() 348 uint8 bytes = rtcp_field.rpsi.number_of_valid_bits / 8; in HandleRpsi() 350 rpsi_picture_id += (rtcp_field.rpsi.native_bit_string[n] & 0x7f); in HandleRpsi() 353 rpsi_picture_id += (rtcp_field.rpsi.native_bit_string[bytes - 1] & 0x7f); in HandleRpsi()
|
D | rtcp_sender.h | 74 void BuildRpsi(const RtcpRpsiMessage* rpsi, Packet* packet) const;
|
D | rtcp_utility.h | 177 RtcpFieldPayloadSpecificRpsi rpsi; member
|
/external/chromium_org/third_party/webrtc/test/ |
D | rtcp_packet_parser.h | 195 void Set(const RTCPUtility::RTCPPacketPSFBRPSI& rpsi) { in Set() argument 196 rpsi_ = rpsi; in Set() 401 Rpsi* rpsi() { return &rpsi_; } in rpsi() function
|