Searched refs:rpsi (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_packet_unittest.cc | 219 Rpsi rpsi; in TEST() local 223 rpsi.WithPayloadType(100); in TEST() 224 rpsi.WithPictureId(kPictureId); in TEST() 226 rtc::scoped_ptr<RawPacket> packet(rpsi.Build()); in TEST() 229 EXPECT_EQ(100, parser.rpsi()->PayloadType()); in TEST() 230 EXPECT_EQ(kNumberOfValidBytes * 8, parser.rpsi()->NumberOfValidBits()); in TEST() 231 EXPECT_EQ(kPictureId, parser.rpsi()->PictureId()); in TEST() 235 Rpsi rpsi; in TEST() local 239 rpsi.WithPictureId(kPictureId); in TEST() 241 rtc::scoped_ptr<RawPacket> packet(rpsi.Build()); in TEST() [all …]
|
D | rtcp_packet.cc | 194 void CreateRpsi(const RTCPPacketPSFBRPSI& rpsi, in CreateRpsi() argument 199 assert(rpsi.NumberOfValidBits % 8 == 0); in CreateRpsi() 200 AssignUWord32(buffer, pos, rpsi.SenderSSRC); in CreateRpsi() 201 AssignUWord32(buffer, pos, rpsi.MediaSSRC); in CreateRpsi() 203 AssignUWord8(buffer, pos, rpsi.PayloadType); in CreateRpsi() 204 memcpy(buffer + *pos, rpsi.NativeBitString, rpsi.NumberOfValidBits / 8); in CreateRpsi() 205 *pos += rpsi.NumberOfValidBits / 8; in CreateRpsi()
|
D | rtcp_sender.cc | 585 rtcp::Rpsi* rpsi = new rtcp::Rpsi(); in BuildRPSI() local 586 rpsi->From(ssrc_); in BuildRPSI() 587 rpsi->To(remote_ssrc_); in BuildRPSI() 588 rpsi->WithPayloadType(ctx.feedback_state_.send_payload_type); in BuildRPSI() 589 rpsi->WithPictureId(ctx.picture_id_); in BuildRPSI() 591 return rtc::scoped_ptr<rtcp::Rpsi>(rpsi); in BuildRPSI()
|
D | rtcp_sender_unittest.cc | 459 EXPECT_EQ(kPayloadType, parser()->rpsi()->PayloadType()); in TEST_F() 460 EXPECT_EQ(kPictureId, parser()->rpsi()->PictureId()); in TEST_F()
|
/external/webrtc/webrtc/test/ |
D | rtcp_packet_parser.h | 195 void Set(const RTCPUtility::RTCPPacketPSFBRPSI& rpsi) { in Set() argument 196 rpsi_ = rpsi; in Set() 649 Rpsi* rpsi() { return &rpsi_; } in rpsi() function
|