/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/ |
D | VideoRtpPayloadEncoderNode.cpp | 129 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, 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 159 while (nDataSize >= 4) in FindAvcStartCode() 172 nDataSize -= 1; in FindAvcStartCode() 184 uint8_t* pData, uint32_t nDataSize, uint32_t* pnSkipSize) in FindHevcStartCode() argument 190 while (nDataSize >= 4) in FindHevcStartCode() 203 nDataSize -= 1; in FindHevcStartCode() [all …]
|
D | VideoRtpPayloadDecoderNode.cpp | 105 uint32_t nDataSize, uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument 111 subtype, nullptr, nDataSize, 0, 0, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in OnDataFromFrontNode() 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() 132 uint32_t nDataSize, uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, uint32_t arrivalTime) in DecodeAvc() argument 134 if (pData == nullptr || nDataSize == 0 || mBuffer == nullptr) 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() 172 SendDataToRearNode(subtype, mBuffer, nDataSize + 4, nTimeStamp, bMark, nSeqNum, eDataType, in DecodeAvc() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/ |
D | AudioRtpPayloadEncoderNode.cpp | 94 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, 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 179 nDataSize -= 1; in EncodePayloadAmr() 181 if (nDataSize > 4) in EncodePayloadAmr() 184 pData[0], pData[1], pData[2], pData[3], nDataSize); in EncodePayloadAmr() 196 ft = ImsMediaAudioUtil::ConvertLenToAmrMode(nDataSize); in EncodePayloadAmr() [all …]
|
D | AudioRtpPayloadDecoderNode.cpp | 123 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument 129 subtype, nullptr, nDataSize, 0, 0, 0, MEDIASUBTYPE_UNDEFINED, arrivalTime); in OnDataFromFrontNode() 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() 172 mCodecType, mOctetAligned, nDataSize, timestamp, arrivalTime); in DecodePayloadAmr() 174 mBitReader.SetBuffer(pData, nDataSize); in DecodePayloadAmr() [all …]
|
D | ImsMediaAudioUtil.cpp | 514 uint32_t nDataSize, kEvsCodecMode* pEVSCodecMode, uint32_t* pEVSCompactId) in ConvertEVSPayloadMode() argument 519 nDataBitSize = nDataSize * 8; // change byte to bit size in ConvertEVSPayloadMode()
|
/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/nodes/ |
D | SocketWriterNode.cpp | 144 uint32_t nDataSize, uint32_t nTimestamp, bool /*bMark*/, uint32_t nSeqNum, in OnDataFromFrontNode() argument 150 mMediaType, subtype, nDataSize); in OnDataFromFrontNode() 155 nDataSize, arrivalTime != 0 ? ImsMediaTimer::GetTimeInMilliSeconds() - arrivalTime : 0); in OnDataFromFrontNode() 162 mSocket->SendTo(pData, nDataSize); in OnDataFromFrontNode()
|
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 335 entry.nBufferSize = nDataSize; in OnDataFromFrontNode()
|
D | JitterBufferControlNode.cpp | 79 uint32_t nDataSize, uint32_t nTimestamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument 85 subtype, pData, nDataSize, nTimestamp, bMark, nSeqNum, nDataType, arrivalTime); in OnDataFromFrontNode()
|
D | RtcpDecoderNode.cpp | 82 uint32_t nDataSize, uint32_t nTimeStamp, bool bMark, uint32_t nSeqNum, in OnDataFromFrontNode() argument 90 mMediaType, subtype, nDataSize, nTimeStamp, bMark, nSeqNum); in OnDataFromFrontNode() 93 mRtpSession->ProcRtcpPacket(pData, nDataSize); in OnDataFromFrontNode()
|
/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,
|
D | DtmfEncoderNode.h | 38 virtual void OnDataFromFrontNode(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 335 IMLOGD_PACKET1(IM_PACKET_LOG_RTP, "[ProcRtpPacket] size[%d]", nDataSize); 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 356 IMLOGD_PACKET1(IM_PACKET_LOG_RTCP, "[ProcRtcpPacket] size[%d]", nDataSize); in ProcRtcpPacket() 358 IMS_RtpSvc_ProcRtcpPacket(this, mRtpSessionId, pData, nDataSize, mPeerAddress.ipAddress, in ProcRtcpPacket()
|
/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 242 IMLOGD_PACKET2(IM_PACKET_LOG_SOCKET, "[SendTo] fd[%d],[%d] bytes", mSocketFd, nDataSize); in SendTo() 244 if (nDataSize == 0) in SendTo() 285 len = sendto(mSocketFd, reinterpret_cast<const char*>(pData), nDataSize, 0, pstSockAddr, in SendTo() 291 nDataSize, errno, strerror(errno)); in SendTo()
|
/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;
|
D | ImsMediaSocket.h | 86 virtual int32_t SendTo(uint8_t* pData, uint32_t nDataSize);
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/ |
D | IRtpSession.h | 106 bool ProcRtpPacket(uint8_t* pData, uint32_t nDataSize); 107 bool ProcRtcpPacket(uint8_t* pData, uint32_t nDataSize);
|
/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,
|
D | JitterBufferControlNode.h | 32 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
|
D | RtpDecoderNode.h | 42 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/audio/ |
D | ImsMediaAudioUtil.h | 154 uint32_t nDataSize, kEvsCodecMode* pEVSCodecMode, uint32_t* pEVSCompactId);
|