Home
last modified time | relevance | path

Searched refs:pData (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DVideoRtpPayloadEncoderNode.cpp128 void VideoRtpPayloadEncoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
140 EncodeAvc(pData, nDataSize, nTimestamp, bMark); in OnDataFromFrontNode()
143 EncodeHevc(pData, nDataSize, nTimestamp, bMark); in OnDataFromFrontNode()
147 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, 0); in OnDataFromFrontNode()
153 uint8_t* pData, uint32_t nDataSize, uint32_t* pnSkipSize) in FindAvcStartCode() argument
155 uint8_t* pCurDataPos = pData; in FindAvcStartCode()
184 uint8_t* pData, uint32_t nDataSize, uint32_t* pnSkipSize) in FindHevcStartCode() argument
186 uint8_t* pCurDataPos = pData; in FindHevcStartCode()
214 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, bool bMark) in EncodeAvc() argument
216 uint8_t* pCurDataPos = pData; in EncodeAvc()
[all …]
DVideoRtpPayloadDecoderNode.cpp104 void VideoRtpPayloadDecoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
118 DecodeAvc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
121 DecodeHevc(subtype, pData, nDataSize, nTimeStamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
125 SendDataToRearNode(MEDIASUBTYPE_UNDEFINED, pData, nDataSize, nTimeStamp, bMark, nSeqNum, in OnDataFromFrontNode()
131 void VideoRtpPayloadDecoderNode::DecodeAvc(ImsMediaSubType subtype, uint8_t* pData, in DecodeAvc() argument
134 if (pData == nullptr || nDataSize == 0 || mBuffer == nullptr) in DecodeAvc()
140 uint8_t bPacketType = pData[0] & 0x1F; in DecodeAvc()
149 IMLOGD_PACKET2(IM_PACKET_LOG_PH, "[DecodeAvc] [%02X] nDataSize[%d]", pData[0], nDataSize); in DecodeAvc()
153 memcpy(mBuffer + 4, pData, nDataSize); in DecodeAvc()
177 uint8_t* pCurrData = pData + 1; in DecodeAvc()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadEncoderNode.cpp93 void AudioRtpPayloadEncoderNode::OnDataFromFrontNode(ImsMediaSubType /*subtype*/, uint8_t* pData, in OnDataFromFrontNode() argument
101 EncodePayloadAmr(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
105 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
109 EncodePayloadEvs(pData, nDataSize, nTimestamp, arrivalTime); in OnDataFromFrontNode()
113 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
172 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime) in EncodePayloadAmr() argument
178 pData++; in EncodePayloadAmr()
184 pData[0], pData[1], pData[2], pData[3], nDataSize); in EncodePayloadAmr()
243 mBWPayload.WriteByteBuffer(pData, nDataBitSize); in EncodePayloadAmr()
280 uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, uint32_t arrivalTime) in EncodePayloadEvs() argument
[all …]
DAudioRtpPayloadDecoderNode.cpp122 void AudioRtpPayloadDecoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
137 DecodePayloadAmr(pData, nDataSize, nTimestamp, nSeqNum, arrivalTime); in OnDataFromFrontNode()
142 MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, nSeqNum); in OnDataFromFrontNode()
145 DecodePayloadEvs(pData, nDataSize, nTimestamp, bMark, nSeqNum, arrivalTime); in OnDataFromFrontNode()
149 SendDataToRearNode(MEDIASUBTYPE_RTPPAYLOAD, pData, nDataSize, nTimestamp, bMark, in OnDataFromFrontNode()
155 void AudioRtpPayloadDecoderNode::DecodePayloadAmr(uint8_t* pData, uint32_t nDataSize, in DecodePayloadAmr() argument
158 if (pData == nullptr || nDataSize == 0) in DecodePayloadAmr()
174 mBitReader.SetBuffer(pData, nDataSize); in DecodePayloadAmr()
276 void AudioRtpPayloadDecoderNode::DecodePayloadEvs(uint8_t* pData, uint32_t nDataSize, in DecodePayloadEvs() argument
279 if (pData == nullptr || nDataSize == 0) in DecodePayloadEvs()
[all …]
DDtmfEncoderNode.cpp104 void DtmfEncoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t size, in OnDataFromFrontNode() argument
111 IMLOGD1("[OnDataFromFrontNode] Send DTMF string %c", *pData); in OnDataFromFrontNode()
113 if (size == 0 || convertSignal(*pData, nSignal) == false) in OnDataFromFrontNode()
132 if (convertSignal(*pData, nSignal) == false) in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/nodes/
DVideoRtpPayloadEncoderNode.h41 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
47 uint8_t* FindAvcStartCode(uint8_t* pData, uint32_t nDataSize, uint32_t* pnSkipSize = nullptr);
48 uint8_t* FindHevcStartCode(uint8_t* pData, uint32_t nDataSize, uint32_t* pnSkipSize = nullptr);
49 void EncodeAvc(uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, bool bMark);
52 void EncodeAvcNALUnit(uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, bool bMark,
55 void EncodeHevc(uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, bool bMark);
57 void EncodeHevcNALUnit(uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, bool bMark,
DVideoRtpPayloadDecoderNode.h35 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
40 void DecodeAvc(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp,
42 void DecodeHevc(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DIRtpSession.cpp333 bool IRtpSession::ProcRtpPacket(uint8_t* pData, uint32_t nDataSize) in ProcRtpPacket() argument
342 ssrc = *reinterpret_cast<uint32_t*>(pData + 8); in ProcRtpPacket()
344 *reinterpret_cast<uint32_t*>(pData + 8) = ssrc; in ProcRtpPacket()
349 IMS_RtpSvc_ProcRtpPacket(this, mRtpSessionId, pData, nDataSize, mPeerAddress.ipAddress, in ProcRtpPacket()
354 bool IRtpSession::ProcRtcpPacket(uint8_t* pData, uint32_t nDataSize) in ProcRtcpPacket() argument
358 IMS_RtpSvc_ProcRtcpPacket(this, mRtpSessionId, pData, nDataSize, mPeerAddress.ipAddress, in ProcRtcpPacket()
363 int IRtpSession::OnRtpPacket(unsigned char* pData, RtpSvc_Length wLen) in OnRtpPacket() argument
371 mRtpEncoderListener->OnRtpPacket(pData, wLen); in OnRtpPacket()
377 int IRtpSession::OnRtcpPacket(unsigned char* pData, RtpSvc_Length wLen) in OnRtcpPacket() argument
389 if (pData != nullptr) in OnRtcpPacket()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/
DIRtpSession.h36 virtual void OnRtpPacket(unsigned char* pData, uint32_t wLen) = 0;
47 virtual void OnRtcpPacket(unsigned char* pData, uint32_t wLen) = 0;
106 bool ProcRtpPacket(uint8_t* pData, uint32_t nDataSize);
107 bool ProcRtcpPacket(uint8_t* pData, uint32_t nDataSize);
115 virtual int OnRtpPacket(unsigned char* pData, RtpSvc_Length wLen);
117 virtual int OnRtcpPacket(unsigned char* pData, RtpSvc_Length wLen);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DISocket.h45 virtual void OnSocketDataFromBridge(uint8_t* pData, uint32_t nDataSize) = 0;
73 virtual int32_t SendTo(uint8_t* pData, uint32_t nDataSize) = 0;
74 virtual int32_t ReceiveFrom(uint8_t* pData, uint32_t nBufferSize) = 0;
DImsMediaSocket.h86 virtual int32_t SendTo(uint8_t* pData, uint32_t nDataSize);
96 virtual int32_t ReceiveFrom(uint8_t* pData, uint32_t nBufferSize);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/nodes/
DAudioRtpPayloadEncoderNode.h33 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
42 uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t arrivalTime);
44 uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, uint32_t arrivalTime);
DAudioRtpPayloadDecoderNode.h42 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
48 void DecodePayloadAmr(uint8_t* pData, uint32_t nDataSize, uint32_t nTimestamp, uint32_t nSeqNum,
50 void DecodePayloadEvs(uint8_t* pData, uint32_t nDataSize, uint32_t nTimeStamp, bool bMark,
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java481 private void notifyVendorSpecificEvent(int event, int dataLen, byte[] pData) { in notifyVendorSpecificEvent() argument
482 if (pData.length < NCI_HEADER_MIN_LEN || dataLen != pData.length) { in notifyVendorSpecificEvent()
487 mListener.onVendorSpecificEvent(pData[NCI_GID_INDEX], pData[NCI_OID_INDEX], in notifyVendorSpecificEvent()
488 Arrays.copyOfRange(pData, OP_CODE_INDEX, pData.length)); in notifyVendorSpecificEvent()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DBaseNode.cpp303 void BaseNode::SendDataToRearNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, in SendDataToRearNode() argument
314 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in SendDataToRearNode()
329 void BaseNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize, in OnDataFromFrontNode() argument
334 entry.pbBuffer = pData; in OnDataFromFrontNode()
DJitterBufferControlNode.cpp78 void JitterBufferControlNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
85 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
DRtcpEncoderNode.cpp171 void RtcpEncoderNode::OnRtcpPacket(unsigned char* pData, uint32_t wLen) in OnRtcpPacket() argument
179 pCurr = reinterpret_cast<uint8_t*>(pData); in OnRtcpPacket()
204 SendDataToRearNode(subtype, pData, wLen, 0, 0, 0); in OnRtcpPacket()
DSocketWriterNode.cpp143 void SocketWriterNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
162 mSocket->SendTo(pData, nDataSize); in OnDataFromFrontNode()
DRtcpDecoderNode.cpp81 void RtcpDecoderNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument
93 mRtpSession->ProcRtcpPacket(pData, nDataSize); in OnDataFromFrontNode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/interface/rtp/
DRtpServiceTypes.h55 tRtpSvc_IndicationFromStack eIndType, RtpDt_Void* pData, RtpDt_Void* pvUserData);
57 typedef RtpDt_Void (*RtpSvc_AppIndCbRtcp)(RtpDt_Void* pData, RtpDt_Void* pvUserData);
DRtpService.h40 virtual int OnRtpPacket(unsigned char* pData, RtpSvc_Length wLen) = 0;
42 virtual int OnRtcpPacket(unsigned char* pData, RtpSvc_Length wLen) = 0;
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaSocket.cpp239 int32_t ImsMediaSocket::SendTo(uint8_t* pData, uint32_t nDataSize) in SendTo() argument
285 len = sendto(mSocketFd, reinterpret_cast<const char*>(pData), nDataSize, 0, pstSockAddr, in SendTo()
297 int32_t ImsMediaSocket::ReceiveFrom(uint8_t* pData, uint32_t nBufferSize) in ReceiveFrom() argument
304 len = recvfrom(mSocketFd, pData, nBufferSize, 0, pstSockAddr, &nSockAddrLen); in ReceiveFrom()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/nodes/
DTextRtpPayloadEncoderNode.h34 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DSocketWriterNode.h35 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
DRtcpDecoderNode.h32 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,

12