Home
last modified time | relevance | path

Searched refs:nDataSize (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DVideoRtpPayloadEncoderNode.cpp129 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 …]
DVideoRtpPayloadDecoderNode.cpp105 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/
DAudioRtpPayloadEncoderNode.cpp94 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 …]
DAudioRtpPayloadDecoderNode.cpp123 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 …]
DImsMediaAudioUtil.cpp514 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/
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/nodes/
DSocketWriterNode.cpp144 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()
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
335 entry.nBufferSize = nDataSize; in OnDataFromFrontNode()
DJitterBufferControlNode.cpp79 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()
DRtcpDecoderNode.cpp82 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/
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,
DDtmfEncoderNode.h38 virtual void OnDataFromFrontNode(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
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/
DImsMediaSocket.cpp239 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/
DISocket.h45 virtual void OnSocketDataFromBridge(uint8_t* pData, uint32_t nDataSize) = 0;
73 virtual int32_t SendTo(uint8_t* pData, uint32_t nDataSize) = 0;
DImsMediaSocket.h86 virtual int32_t SendTo(uint8_t* pData, uint32_t nDataSize);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/
DIRtpSession.h106 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/
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,
DJitterBufferControlNode.h32 virtual void OnDataFromFrontNode(ImsMediaSubType subtype, uint8_t* pData, uint32_t nDataSize,
DRtpDecoderNode.h42 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/
DImsMediaAudioUtil.h154 uint32_t nDataSize, kEvsCodecMode* pEVSCodecMode, uint32_t* pEVSCompactId);

12