Home
last modified time | relevance | path

Searched refs:rtp_len (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPjitter.cc66 unsigned int dat_len, rtp_len, Npack, k; in main() local
147 rtp_len=0; in main()
151 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); in main()
153 len = ntohs(*((uint16_t *)(rtp_vec + rtp_len))); in main()
154 rtp_len += 2; in main()
155 if(fread(&rtp_vec[rtp_len], sizeof(unsigned char), in main()
160 rtp_len += len-2; in main()
164 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); in main()
/external/webrtc/talk/session/media/
Dsrtpfilter_unittest.cc98 int rtp_len = sizeof(kPcmuFrame), rtcp_len = sizeof(kRtcpReport), out_len; in TestProtectUnprotect() local
99 memcpy(rtp_packet, kPcmuFrame, rtp_len); in TestProtectUnprotect()
104 memcpy(original_rtp_packet, rtp_packet, rtp_len); in TestProtectUnprotect()
107 EXPECT_TRUE(f1_.ProtectRtp(rtp_packet, rtp_len, in TestProtectUnprotect()
109 EXPECT_EQ(out_len, rtp_len + rtp_auth_tag_len(cs1)); in TestProtectUnprotect()
110 EXPECT_NE(0, memcmp(rtp_packet, original_rtp_packet, rtp_len)); in TestProtectUnprotect()
112 EXPECT_EQ(rtp_len, out_len); in TestProtectUnprotect()
113 EXPECT_EQ(0, memcmp(rtp_packet, original_rtp_packet, rtp_len)); in TestProtectUnprotect()
115 EXPECT_TRUE(f2_.ProtectRtp(rtp_packet, rtp_len, in TestProtectUnprotect()
117 EXPECT_EQ(out_len, rtp_len + rtp_auth_tag_len(cs2)); in TestProtectUnprotect()
[all …]
Dchannel_unittest.cc132 int rtp_len, in ChannelTest() argument
140 rtp_packet_(reinterpret_cast<const char*>(rtp_data), rtp_len), in ChannelTest()