Home
last modified time | relevance | path

Searched refs:RtpDt_UChar (Results 1 – 25 of 53) sorted by relevance

123

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/core/
DRtpHeader.h41 RtpDt_UChar m_ucVersion;
49 RtpDt_UChar m_ucPadding;
55 RtpDt_UChar m_ucExtension;
60 RtpDt_UChar m_ucCsrcCount;
70 RtpDt_UChar m_ucMarker;
75 RtpDt_UChar m_ucPayloadType;
108 RtpDt_Void setVersion(IN RtpDt_UChar ucVersion);
113 RtpDt_UChar getVersion();
123 RtpDt_UChar getPadding();
128 RtpDt_Void setExtension(RtpDt_UChar ext);
[all …]
DRtcpHeader.h41 RtpDt_UChar m_ucVersion;
51 RtpDt_UChar m_ucReceptionReportCount;
56 RtpDt_UChar m_ucPacketType;
82 eRtp_Bool setVersion(IN RtpDt_UChar ucVersion);
89 RtpDt_UChar getVersion();
112 eRtp_Bool setReceptionReportCount(IN RtpDt_UChar ucReceptionReport);
117 RtpDt_UChar getReceptionReportCount();
129 RtpDt_Void setPacketType(IN RtpDt_UChar ucPacketType);
134 RtpDt_UChar getPacketType();
171 eRtp_Bool decodeRtcpHeader(IN RtpDt_UChar* pRtcpBuffer, RtpDt_Int32 length);
[all …]
DRtcpReportBlock.h42 RtpDt_UChar m_ucFracLost;
92 RtpDt_Void setFracLost(IN RtpDt_UChar ucFracLost);
97 RtpDt_UChar getFracLost();
152 eRtp_Bool decodeReportBlock(IN RtpDt_UChar* pcRepBlkBuf);
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpAppPacketTest.cpp50 std::unique_ptr<RtpDt_UChar[]> pucAppBuf(new RtpDt_UChar[14]); in TEST_F()
54 (RtpDt_UChar[]){0x80, 0xCC, 0x00, 0x07, 0x19, 0x6D, 0x27, 0xC5, 0x2B, 0x67, 0x01}, 13); in TEST_F()
61 std::unique_ptr<RtpDt_UChar[]> pucAppBuf(new RtpDt_UChar[14]); in TEST_F()
65 (RtpDt_UChar[]){0x80, 0xCC, 0x00, 0x07, 0x19, 0x6D, 0x27, 0xC5, 0x2B, 0x67}, 12); in TEST_F()
72 std::unique_ptr<RtpDt_UChar[]> pucAppBuf(new RtpDt_UChar[14]); in TEST_F()
75 memcpy(pucAppBuf.get(), (RtpDt_UChar[]){0x80, 0xCC, 0x00, 0x07, 0x19, 0x6D, 0x27, 0xC5, 0x2B}, in TEST_F()
86 std::unique_ptr<RtpDt_UChar[]> pcBuff(new RtpDt_UChar[RTP_DEF_MTU_SIZE]); in TEST_F()
111 std::unique_ptr<RtpDt_UChar[]> pcBuff(new RtpDt_UChar[RTP_DEF_MTU_SIZE]); in TEST_F()
126 std::unique_ptr<RtpDt_UChar[]> appBuffNew(new RtpDt_UChar[10]); in TEST_F()
130 (RtpDt_UChar[]){0x01, 0x07, 0x08, 0x09, 0x01, 0x02, 0x03, 0x04, 0xAA, 0xBB, 0x40, 0x20}, in TEST_F()
DRtcpChunkTest.cpp49 RtpDt_UChar* pucChunkBuf = new RtpDt_UChar[60]; in TEST_F()
56 RtpDt_UChar* pcBuffer = new RtpDt_UChar[chunkItem->ucLength]; in TEST_F()
78 (RtpDt_UChar[]){0x01, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
101 RtpDt_UChar* pucChunkBuf = new RtpDt_UChar[60]; in TEST_F()
111 RtpDt_UChar* pcBuffer = new RtpDt_UChar[chunkItem->ucLength]; in TEST_F()
138 (RtpDt_UChar[]){0x01, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
163 RtpDt_UChar* pucChunkBuf = new RtpDt_UChar[60]; in TEST_F()
173 RtpDt_UChar* pcBuffer = new RtpDt_UChar[chunkItem->ucLength]; in TEST_F()
200 (RtpDt_UChar[]){0x02, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
227 RtpDt_UChar* pucChunkBuf = new RtpDt_UChar[60]; in TEST_F()
[all …]
DRtcpSdesPacketTest.cpp50 RtpDt_UChar* pucSdesBuf = new RtpDt_UChar[60]; in TEST_F()
57 RtpDt_UChar* pcBuffer = new RtpDt_UChar[sdesItem->ucLength]; in TEST_F()
80 (RtpDt_UChar[]){0x01, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
108 RtpDt_UChar* pucSdesBuf = new RtpDt_UChar[60]; in TEST_F()
118 RtpDt_UChar* pcBuffer = new RtpDt_UChar[sdesItem->ucLength]; in TEST_F()
144 (RtpDt_UChar[]){0x01, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
179 RtpDt_UChar* pucSdesBuf = new RtpDt_UChar[60]; in TEST_F()
189 RtpDt_UChar* pcBuffer = new RtpDt_UChar[sdesItem->ucLength]; in TEST_F()
216 (RtpDt_UChar[]){0x02, 0x12, 0x73, 0x6C, 0x65, 0x65, 0x70, 0x79, 0x40, 0x65, 0x78, 0x61, in TEST_F()
DRtcpByePacketTest.cpp62 std::unique_ptr<RtpDt_UChar[]> byePacket(new RtpDt_UChar[sizeof(inputBuffer)]); in TEST_F()
90 std::unique_ptr<RtpDt_UChar[]> byePacket(new RtpDt_UChar[sizeof(inputBuffer)]); in TEST_F()
125 std::unique_ptr<RtpDt_UChar[]> byePacket(new RtpDt_UChar[sizeof(inputBuffer)]); in TEST_F()
160 std::unique_ptr<RtpDt_UChar[]> pcBuff(new RtpDt_UChar[RTP_DEF_MTU_SIZE]); in TEST_F()
169 std::unique_ptr<RtpDt_UChar[]> byePacket(new RtpDt_UChar[sizeof(pExpectedBuffer)]); in TEST_F()
199 std::unique_ptr<RtpDt_UChar[]> pcBuff(new RtpDt_UChar[RTP_DEF_MTU_SIZE]); in TEST_F()
209 std::unique_ptr<RtpDt_UChar[]> byePacket(new RtpDt_UChar[sizeof(pExpectedBuffer)]); in TEST_F()
DRtcpXrPacketTest.cpp25 RtpDt_UChar pRtcpBuff[] = {0x81, 0xc8, 0x00, 0x06, 0x59, 0x09, 0x41, 0x02}; in TEST()
49 objRtcpXrPacket.decodeRtcpXrPacket(reinterpret_cast<RtpDt_UChar*>(bufXrPacket), 24, 0); in TEST()
75 RtpDt_UChar* buf = objRtcpPktBuf.getBuffer(); in TEST()
77 RtpDt_UChar expectedBuf[] = { in TEST()
DRtpPacketTest.cpp243 RtpDt_UChar* pucRtpPayLoadBuffer = new RtpDt_UChar[sizeof(pRtpPayLoad)]; in TEST()
305 RtpDt_UChar* pucRtpExtensionBuffer = new RtpDt_UChar[sizeof(pRtpExtension)]; in TEST()
315 RtpDt_UChar* pucRtpPayLoadBuffer = new RtpDt_UChar[sizeof(pRtpPayLoad)]; in TEST()
DRtcpFbPacketTest.cpp25 RtpDt_UChar pRtcpBuff[] = {0x81, 0xc8, 0x00, 0x06, 0x59, 0x09, 0x41, 0x02}; in TEST()
59 reinterpret_cast<RtpDt_UChar*>(bufPacket), sizeof(bufPacket)); in TEST()
91 RtpDt_UChar* buf = objRtcpPktBuf.getBuffer(); in TEST()
92 RtpDt_UChar expectedBuf[] = {0x81, 0xcd, 0x00, 0x03, 0x01, 0x02, 0x03, 0x04, 0xaa, 0xaa, 0xaa, in TEST()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtpHeader.cpp41 RtpDt_Void RtpHeader::setVersion(IN RtpDt_UChar ucVersion) in setVersion()
46 RtpDt_UChar RtpHeader::getVersion() in getVersion()
56 RtpDt_UChar RtpHeader::getPadding() in getPadding()
61 RtpDt_Void RtpHeader::setExtension(RtpDt_UChar ext) in setExtension()
66 RtpDt_UChar RtpHeader::getExtension() in getExtension()
71 RtpDt_Void RtpHeader::setCsrcCount(IN RtpDt_UChar ucCsrcCount) in setCsrcCount()
76 RtpDt_UChar RtpHeader::getCsrcCount() in getCsrcCount()
99 RtpDt_UChar RtpHeader::getMarker() in getMarker()
104 RtpDt_Void RtpHeader::setPayloadType(IN RtpDt_UChar ucPayloadType) in setPayloadType()
109 RtpDt_UChar RtpHeader::getPayloadType() in getPayloadType()
[all …]
DRtpPacket.cpp73 RtpDt_UChar* pcRtpBuf = pobjRtpPktBuf->getBuffer(); in formPacket()
89 const RtpDt_UChar* pRtpUtlBuf = m_pobjExt->getBuffer(); in formPacket()
99 const RtpDt_UChar* pRtpUtlBuf = m_pobjRtpPayload->getBuffer(); in formPacket()
115 RtpDt_UChar ucTmpPadLen = m_ucPadLen - RTP_ONE; in formPacket()
118 *(reinterpret_cast<RtpDt_UChar*>(pcRtpBuf + ucTmpPadLen)) = m_ucPadLen; in formPacket()
134 RtpDt_UChar* pcRtpBuf = pobjRtpPktBuf->getBuffer(); in decodePacket()
168 RtpDt_UChar* pRtpExtData = new RtpDt_UChar[uXHdrLen]; in decodePacket()
183 RtpDt_UChar ucPadBit = RTP_ZERO; in decodePacket()
188 RtpDt_UChar ucPadLen = RTP_ZERO; in decodePacket()
192 ucPadLen = *(reinterpret_cast<RtpDt_UChar*>(pcRtpBuf + uiPadLenPos)); in decodePacket()
[all …]
DRtcpHeader.cpp32 eRtp_Bool RtcpHeader::setVersion(IN RtpDt_UChar ucVersion) in setVersion()
44 RtpDt_UChar RtcpHeader::getVersion() in getVersion()
59 eRtp_Bool RtcpHeader::setReceptionReportCount(IN RtpDt_UChar ucReceptionReportCount) in setReceptionReportCount()
71 RtpDt_UChar RtcpHeader::getReceptionReportCount() in getReceptionReportCount()
76 RtpDt_Void RtcpHeader::setPacketType(IN RtpDt_UChar ucPacketType) in setPacketType()
81 RtpDt_UChar RtcpHeader::getPacketType() in getPacketType()
115 eRtp_Bool RtcpHeader::decodeRtcpHeader(IN RtpDt_UChar* pRtcpBuffer, RtpDt_Int32 length) in decodeRtcpHeader()
156 RtpDt_UChar* pcRtcpHdrBuf = pobjRtcpPktBuf->getBuffer(); in formRtcpHeader()
173 RtpDt_UChar* pcRtcpHdrBuf = pobjRtcpPktBuf->getBuffer(); in formPartialRtcpHeader()
207 IN RtpDt_UChar ucReceptionReportCount, IN RtpDt_UChar ucPacketType, IN RtpDt_UInt32 uiSsrc) in populateRtcpHeader()
DRtcpChunk.cpp55 eRTP_STATUS_CODE RtcpChunk::decodeRtcpChunk(IN RtpDt_UChar* pucChunkBuf, in decodeRtcpChunk()
73 pstSdesItem->ucType = *(reinterpret_cast<RtpDt_UChar*>(pucChunkBuf)); in decodeRtcpChunk()
82 pstSdesItem->ucLength = *(reinterpret_cast<RtpDt_UChar*>(pucChunkBuf)); in decodeRtcpChunk()
90 RtpDt_UChar* pcSdesBuf = new RtpDt_UChar[pstSdesItem->ucLength]; in decodeRtcpChunk()
120 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpChunk()
134 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = pstSdesItem->ucType; in formRtcpChunk()
144 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = pstSdesItem->ucLength; in formRtcpChunk()
155 pucBuffer[0] = (RtpDt_UChar)RTP_ZERO; in formRtcpChunk()
DRtcpByePacket.cpp67 eRTP_STATUS_CODE RtcpByePacket::decodeByePacket(IN RtpDt_UChar* pucByeBuf, IN RtpDt_UInt16 usByeLen) in decodeByePacket()
69 RtpDt_UChar ucSsrcCnt = m_objRtcpHdr.getReceptionReportCount(); in decodeByePacket()
97 RtpDt_UChar* pucReason = new RtpDt_UChar[uiByte4Data]; in decodeByePacket()
122 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formByePacket()
139 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)m_pReason->getLength(); in formByePacket()
164 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)uiPadLen; in formByePacket()
DRtcpRrPacket.cpp74 IN RtpDt_UChar* pucRrBuf, IN RtpDt_UInt16& usRrLen, IN RtpDt_UInt16 usProfExtLen) in decodeRrPacket()
94 RtpDt_UChar* pcProfExtBuf = new RtpDt_UChar[usProfExtLen]; in decodeRrPacket()
137 RtpDt_UChar* pucExtHdr = m_pobjExt->getBuffer(); in formRrPacket()
139 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket()
156 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket()
162 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)uiPadLen; in formRrPacket()
DRtcpAppPacket.cpp66 eRTP_STATUS_CODE RtcpAppPacket::decodeAppPacket(IN RtpDt_UChar* pucAppBuf, IN RtpDt_UInt16 usAppLen) in decodeAppPacket()
78 RtpDt_UChar* pucTmpBuf = nullptr; in decodeAppPacket()
80 pucTmpBuf = new RtpDt_UChar[usTmpAppLen]; in decodeAppPacket()
94 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formAppPacket()
126 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)uiPadLen; in formAppPacket()
DRtcpXrPacket.cpp56 IN RtpDt_UChar* pucRtcpXrBuf, IN RtpDt_UInt16 usRtcpXrLen, IN RtpDt_UChar ucPktType) in decodeRtcpXrPacket()
72 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpXrPacket()
104 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)uiPadLen; in formRtcpXrPacket()
DRtcpFbPacket.cpp86 IN RtpDt_UChar* pucRtcpFbBuf, IN RtpDt_UInt16 usRtcpFbLen) in decodeRtcpFbPacket()
97 RtpBuffer* pFCI = new RtpBuffer(usRtcpFbLen, reinterpret_cast<RtpDt_UChar*>(pucRtcpFbBuf)); in decodeRtcpFbPacket()
113 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpFbPacket()
149 *(reinterpret_cast<RtpDt_UChar*>(pucBuffer)) = (RtpDt_UChar)uiPadLen; in formRtcpFbPacket()
DRtcpReportBlock.cpp42 RtpDt_Void RtcpReportBlock::setFracLost(IN RtpDt_UChar ucFracLost) in setFracLost()
47 RtpDt_UChar RtcpReportBlock::getFracLost() in getFracLost()
102 eRtp_Bool RtcpReportBlock::decodeReportBlock(IN RtpDt_UChar* pcRepBlkBuf) in decodeReportBlock()
115 m_ucFracLost = (RtpDt_UChar)(uiTemp4Data & 0x000000FF); in decodeReportBlock()
138 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formReportBlock()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/interface/rtp/
DRtpServiceTypes.h58 typedef RtpDt_Int32 (*RtpSvc_SendToPeerCb)(RtpDt_UChar*, RtpSvc_Length, RtpDt_Void* pvUserData);
59 typedef RtpDt_Int32 (*RtcpSvc_SendToPeerCb)(RtpDt_UChar*, RtpSvc_Length, RtpDt_Void* pvUserData);
70 RtpDt_UChar byPayLoadType;
100 RtpDt_UChar* pMsgHdr;
103 RtpDt_UChar* pMsgBody;
108 RtpDt_UChar* pExtData;
117 RtpDt_UChar* pMsg; // total RTCP Packet(Hdr + App Info)
127 RtpDt_UChar* pMsg; // total RTCP Packet(Hdr + App Info)
133 RtpDt_UChar* pMsg;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/utils/
DRtpBuffer.h36 RtpDt_UChar* m_pBuffer;
49 RtpBuffer(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer);
72 RtpDt_Void setBuffer(IN RtpDt_UChar* pBuff);
79 RtpDt_UChar* getBuffer();
88 RtpDt_Void setBufferInfo(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer);
DRtpGlobal.h154 RtpDt_UChar ucType;
155 RtpDt_UChar ucLength;
156 RtpDt_UChar* pValue;
163 RtpDt_UChar* m_pBlockBuffer;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/utils/
DRtpBuffer.cpp26 RtpBuffer::RtpBuffer(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer) in RtpBuffer()
34 m_pBuffer = new RtpDt_UChar[m_uiLength]; in RtpBuffer()
65 RtpDt_Void RtpBuffer::setBuffer(IN RtpDt_UChar* pBuff) in setBuffer()
70 RtpDt_UChar* RtpBuffer::getBuffer() in getBuffer()
75 RtpDt_Void RtpBuffer::setBufferInfo(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer) in setBufferInfo()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/
DRtpService.cpp28 OUT RtcpConfigInfo* pobjRtcpCfgInfo, IN RtpDt_UChar* sdesName, IN RtpDt_UInt32 uiLength) in addSdesItem()
57 RtpDt_UChar* pExtHdrBuffer = pobjRtpPkt->getExtHeader()->getBuffer(); in populateReceiveRtpIndInfo()
86 pstRtpIndMsg->pMsgBody = reinterpret_cast<RtpDt_UChar*>(pobjRtpPayload->getBuffer()); in populateReceiveRtpIndInfo()
225 RtpDt_UChar* pBuf = new RtpDt_UChar[nBufferSize]; in SetRtpHeaderExtension()
311 RtpDt_UChar* pcIpAddr = new RtpDt_UChar[uiIpLen]; in IMS_RtpSvc_CreateSession()
330 pobjRtcpConfigInfo, reinterpret_cast<RtpDt_UChar*>(szLocalIP), strlen(szLocalIP) + 1); in IMS_RtpSvc_CreateSession()
450 pobjRtpPayload->setBufferInfo(wBufferLength, reinterpret_cast<RtpDt_UChar*>(pBuffer)); in IMS_RtpSvc_SendRtpPacket()
490 IN RTPSESSIONID hRtpSession, IN RtpDt_UChar* pMsg, IN RtpDt_UInt16 uiMsgLength, in IMS_RtpSvc_ProcRtpPacket()
520 objRmtAddr.setBufferInfo(uiTransLen + 1, reinterpret_cast<RtpDt_UChar*>(pPeerIp)); in IMS_RtpSvc_ProcRtpPacket()
668 IN RTPSESSIONID hRtpSession, IN RtpDt_UChar* pMsg, IN RtpDt_UInt16 uiMsgLength, in IMS_RtpSvc_ProcRtcpPacket()
[all …]

123