Searched refs:uiRtpLength (Results 1 – 2 of 2) sorted by relevance
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpPacketTest.cpp | 248 const RtpDt_UInt32 uiRtpLength = RTP_FIXED_HDR_LEN + sizeof(pRtpPayLoad); in TEST() local 251 uint8_t pExpectedBuffer[uiRtpLength] = {0x80, 0x7f, 0xb0, 0x45, 0x00, 0x01, 0x36, 0x6a, 0xae, in TEST() 256 uint8_t puiRtpBuffer[uiRtpLength] = {0}; in TEST() 257 RtpBuffer rtpPacketbuf(uiRtpLength, puiRtpBuffer); in TEST() 262 EXPECT_EQ(memcmp(rtpPacketbuf.getBuffer(), pExpectedBuffer, uiRtpLength), 0); in TEST() 320 const RtpDt_UInt32 uiRtpLength = in TEST() local 329 uint8_t puiRtpBuffer[uiRtpLength] = {0}; in TEST() 330 RtpBuffer rtpPacketbuf(uiRtpLength, puiRtpBuffer); in TEST() 335 EXPECT_EQ(memcmp(rtpPacketbuf.getBuffer(), pExpectedBuffer, uiRtpLength), 0); in TEST()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpSession.cpp | 1720 RtpDt_UInt32 uiRtpLength = pobjPayload->getLength(); in createRtpPacket() local 1722 RtpDt_UInt32 uiPadLength = uiRtpLength % RTP_FOUR; in createRtpPacket() 1726 uiRtpLength += uiPadLength; in createRtpPacket() 1732 uiRtpLength += RTP_FIXED_HDR_LEN; in createRtpPacket() 1733 uiRtpLength += (RTP_FOUR * pobjRtpHdr->getCsrcCount()); in createRtpPacket() 1735 uiRtpLength += pobjXHdr->getLength(); in createRtpPacket() 1737 RtpDt_UChar* pucRtpBuffer = new RtpDt_UChar[uiRtpLength]; in createRtpPacket() 1745 memset(pucRtpBuffer, RTP_ZERO, uiRtpLength); in createRtpPacket() 1747 pRtpPkt->setBufferInfo(uiRtpLength, pucRtpBuffer); in createRtpPacket()
|