/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/ |
D | VideoRtpPayloadEncoderNode.cpp | 128 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 …]
|
D | VideoRtpPayloadDecoderNode.cpp | 104 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/ |
D | AudioRtpPayloadEncoderNode.cpp | 93 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 …]
|
D | AudioRtpPayloadDecoderNode.cpp | 122 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 …]
|
D | DtmfEncoderNode.cpp | 104 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/ |
D | VideoRtpPayloadEncoderNode.h | 41 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,
|
D | VideoRtpPayloadDecoderNode.h | 35 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/ |
D | IRtpSession.cpp | 333 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/ |
D | IRtpSession.h | 36 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/ |
D | ISocket.h | 45 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;
|
D | ImsMediaSocket.h | 86 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/ |
D | AudioRtpPayloadEncoderNode.h | 33 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);
|
D | AudioRtpPayloadDecoderNode.h | 42 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/ |
D | NativeNfcManager.java | 481 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/ |
D | BaseNode.cpp | 303 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()
|
D | JitterBufferControlNode.cpp | 78 void JitterBufferControlNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument 85 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
|
D | RtcpEncoderNode.cpp | 171 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()
|
D | SocketWriterNode.cpp | 143 void SocketWriterNode::OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, in OnDataFromFrontNode() argument 162 mSocket->SendTo(pData, nDataSize); in OnDataFromFrontNode()
|
D | RtcpDecoderNode.cpp | 81 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/ |
D | RtpServiceTypes.h | 55 tRtpSvc_IndicationFromStack eIndType, RtpDt_Void* pData, RtpDt_Void* pvUserData); 57 typedef RtpDt_Void (*RtpSvc_AppIndCbRtcp)(RtpDt_Void* pData, RtpDt_Void* pvUserData);
|
D | RtpService.h | 40 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/ |
D | ImsMediaSocket.cpp | 239 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/ |
D | TextRtpPayloadEncoderNode.h | 34 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/ |
D | SocketWriterNode.h | 35 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
|
D | RtcpDecoderNode.h | 32 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
|