Home
last modified time | relevance | path

Searched refs:pobjRtcpPktBuf (Results 1 – 23 of 23) sorted by relevance

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtcpRrPacket.cpp116 eRTP_STATUS_CODE RtcpRrPacket::formRrPacket(OUT RtpBuffer* pobjRtcpPktBuf, IN eRtp_Bool bHdrInfo) in formRrPacket() argument
119 RtpDt_UInt32 uiRtPktPos = pobjRtcpPktBuf->getLength(); in formRrPacket()
124 pobjRtcpPktBuf->setLength(uiRepBlkPos); in formRrPacket()
130 pobjRepBlk->formReportBlock(pobjRtcpPktBuf); in formRrPacket()
133 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formRrPacket()
139 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket()
142 pobjRtcpPktBuf->setLength(uiCurPos); in formRrPacket()
156 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket()
176 pobjRtcpPktBuf->setLength(uiRtPktPos); in formRrPacket()
177 m_objRtcpHdr.formRtcpHeader(pobjRtcpPktBuf); in formRrPacket()
[all …]
DRtcpPacket.cpp170 eRTP_STATUS_CODE RtcpPacket::decodeRtcpPacket(IN RtpBuffer* pobjRtcpPktBuf, in decodeRtcpPacket() argument
179 if (pobjRtcpPktBuf == nullptr || pobjRtcpPktBuf->getBuffer() == nullptr || in decodeRtcpPacket()
180 pobjRtcpPktBuf->getLength() < RTP_WORD_SIZE) in decodeRtcpPacket()
184 if (pobjRtcpPktBuf->getLength() == RTP_WORD_SIZE) in decodeRtcpPacket()
186 m_objHeader.decodeRtcpHeader(pobjRtcpPktBuf->getBuffer(), pobjRtcpPktBuf->getLength()); in decodeRtcpPacket()
191 RtpDt_UInt32 uiCompPktLen = pobjRtcpPktBuf->getLength(); in decodeRtcpPacket()
196 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in decodeRtcpPacket()
380 eRTP_STATUS_CODE RtcpPacket::formRtcpPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formRtcpPacket() argument
387 pobjRtcpPktBuf->setLength(RTP_ZERO); in formRtcpPacket()
407 eEncodeRes = pobjSrPkt->formSrPacket(pobjRtcpPktBuf); in formRtcpPacket()
[all …]
DRtcpSdesPacket.cpp89 eRTP_STATUS_CODE RtcpSdesPacket::formSdesPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formSdesPacket() argument
91 RtpDt_UInt32 uiSdesPktPos = pobjRtcpPktBuf->getLength(); in formSdesPacket()
97 pobjRtcpPktBuf->setLength(uiCurPos); in formSdesPacket()
104 eChunkStatus = pobjRtcpChunk->formRtcpChunk(pobjRtcpPktBuf); in formSdesPacket()
113 uiCurPos = pobjRtcpPktBuf->getLength(); in formSdesPacket()
116 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formSdesPacket()
131 pobjRtcpPktBuf->setLength(uiSdesPktPos); in formSdesPacket()
132 m_objRtcpHdr.formPartialRtcpHeader(pobjRtcpPktBuf); in formSdesPacket()
138 pobjRtcpPktBuf->setLength(uiCurPos); in formSdesPacket()
DRtcpSrPacket.cpp265 eRTP_STATUS_CODE RtcpSrPacket::formSrPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formSrPacket() argument
307 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formSrPacket()
308 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formSrPacket()
343 pobjRtcpPktBuf->setLength(uiCurPos); in formSrPacket()
344 eEncodeRes = m_objRrPkt.formRrPacket(pobjRtcpPktBuf, eRTP_FALSE); in formSrPacket()
352 RtpDt_UInt32 uiSrPktLen = pobjRtcpPktBuf->getLength(); in formSrPacket()
354 pucBuffer = pobjRtcpPktBuf->getBuffer(); in formSrPacket()
379 pobjRtcpPktBuf->setLength(RTP_ZERO); in formSrPacket()
381 pobjRtcpHdr->formRtcpHeader(pobjRtcpPktBuf); in formSrPacket()
383 pobjRtcpPktBuf->setLength(uiSrPktLen); in formSrPacket()
DRtcpHeader.cpp151 eRtp_Bool RtcpHeader::formRtcpHeader(OUT RtpBuffer* pobjRtcpPktBuf) in formRtcpHeader() argument
154 formPartialRtcpHeader(pobjRtcpPktBuf); in formRtcpHeader()
156 RtpDt_UChar* pcRtcpHdrBuf = pobjRtcpPktBuf->getBuffer(); in formRtcpHeader()
157 RtpDt_UInt32 uiBufPos = pobjRtcpPktBuf->getLength(); in formRtcpHeader()
164 pobjRtcpPktBuf->setLength(uiBufPos); in formRtcpHeader()
169 eRtp_Bool RtcpHeader::formPartialRtcpHeader(OUT RtpBuffer* pobjRtcpPktBuf) in formPartialRtcpHeader() argument
173 RtpDt_UChar* pcRtcpHdrBuf = pobjRtcpPktBuf->getBuffer(); in formPartialRtcpHeader()
174 RtpDt_UInt32 uiBufPos = pobjRtcpPktBuf->getLength(); in formPartialRtcpHeader()
200 pobjRtcpPktBuf->setLength(uiBufPos); in formPartialRtcpHeader()
DRtcpXrPacket.cpp68 eRTP_STATUS_CODE RtcpXrPacket::formRtcpXrPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formRtcpXrPacket() argument
70 RtpDt_UInt32 uiXrPktPos = pobjRtcpPktBuf->getLength(); in formRtcpXrPacket()
71 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formRtcpXrPacket()
72 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpXrPacket()
118 pobjRtcpPktBuf->setLength(uiXrPktPos); in formRtcpXrPacket()
119 m_objRtcpHdr.formRtcpHeader(pobjRtcpPktBuf); in formRtcpXrPacket()
122 pobjRtcpPktBuf->setLength(uiCurPos); in formRtcpXrPacket()
DRtcpAppPacket.cpp89 eRTP_STATUS_CODE RtcpAppPacket::formAppPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formAppPacket() argument
91 RtpDt_UInt32 uiAppPktPos = pobjRtcpPktBuf->getLength(); in formAppPacket()
93 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formAppPacket()
94 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formAppPacket()
139 pobjRtcpPktBuf->setLength(uiAppPktPos); in formAppPacket()
140 m_objRtcpHdr.formRtcpHeader(pobjRtcpPktBuf); in formAppPacket()
144 pobjRtcpPktBuf->setLength(uiCurPos); in formAppPacket()
DRtcpFbPacket.cpp109 eRTP_STATUS_CODE RtcpFbPacket::formRtcpFbPacket(OUT RtpBuffer* pobjRtcpPktBuf) in formRtcpFbPacket() argument
111 RtpDt_UInt32 uiFbPktPos = pobjRtcpPktBuf->getLength(); in formRtcpFbPacket()
112 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formRtcpFbPacket()
113 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpFbPacket()
163 pobjRtcpPktBuf->setLength(uiFbPktPos); in formRtcpFbPacket()
164 m_objRtcpHdr.formRtcpHeader(pobjRtcpPktBuf); in formRtcpFbPacket()
167 pobjRtcpPktBuf->setLength(uiCurPos); in formRtcpFbPacket()
DRtcpByePacket.cpp119 eRTP_STATUS_CODE RtcpByePacket::formByePacket(OUT RtpBuffer* pobjRtcpPktBuf) in formByePacket() argument
121 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formByePacket()
122 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formByePacket()
149 RtpDt_UInt32 uiByePktPos = pobjRtcpPktBuf->getLength(); in formByePacket()
178 pobjRtcpPktBuf->setLength(uiByePktPos); in formByePacket()
179 m_objRtcpHdr.formRtcpHeader(pobjRtcpPktBuf); in formByePacket()
183 pobjRtcpPktBuf->setLength(uiCurPos); in formByePacket()
DRtcpChunk.cpp117 eRTP_STATUS_CODE RtcpChunk::formRtcpChunk(OUT RtpBuffer* pobjRtcpPktBuf) in formRtcpChunk() argument
119 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formRtcpChunk()
120 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpChunk()
169 pobjRtcpPktBuf->setLength(uiCurPos); in formRtcpChunk()
DRtcpReportBlock.cpp135 eRtp_Bool RtcpReportBlock::formReportBlock(OUT RtpBuffer* pobjRtcpPktBuf) in formReportBlock() argument
137 RtpDt_UInt32 uiCurPos = pobjRtcpPktBuf->getLength(); in formReportBlock()
138 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formReportBlock()
176 pobjRtcpPktBuf->setLength(uiCurPos); in formReportBlock()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/core/
DRtcpHeader.h180 eRtp_Bool formRtcpHeader(OUT RtpBuffer* pobjRtcpPktBuf);
189 eRtp_Bool formPartialRtcpHeader(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpPacket.h153 eRTP_STATUS_CODE decodeRtcpPacket(IN RtpBuffer* pobjRtcpPktBuf, IN RtpDt_UInt16 usExtHdrLen,
164 eRTP_STATUS_CODE formRtcpPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpXrPacket.h81 eRTP_STATUS_CODE formRtcpXrPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpSdesPacket.h82 eRTP_STATUS_CODE formSdesPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpChunk.h75 eRTP_STATUS_CODE formRtcpChunk(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpByePacket.h82 eRTP_STATUS_CODE formByePacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpAppPacket.h94 eRTP_STATUS_CODE formAppPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpRrPacket.h108 eRTP_STATUS_CODE formRrPacket(OUT RtpBuffer* pobjRtcpPktBuf, IN eRtp_Bool bHdrInfo);
DRtcpFbPacket.h118 eRTP_STATUS_CODE formRtcpFbPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpSrPacket.h128 eRTP_STATUS_CODE formSrPacket(OUT RtpBuffer* pobjRtcpPktBuf);
DRtcpReportBlock.h157 eRtp_Bool formReportBlock(OUT RtpBuffer* pobjRtcpPktBuf);
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtpStackUtilTest.cpp42 uint8_t pobjRtcpPktBuf[] = {0xFF, 0xFF, 0xFF, 0xFF, 0x59, 0x09, 0x41, 0x02}; in TEST() local
44 EXPECT_EQ(RtpStackUtil::getRtcpSsrc(pobjRtcpPktBuf), 0x59094102); in TEST()