Home
last modified time | relevance | path

Searched refs:pBuffer (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_vendor_opus_decoder.cc110 auto* pBuffer = in a2dp_vendor_opus_decoder_decode_packet() local
114 numChannels = opus_packet_get_nb_channels(pBuffer); in a2dp_vendor_opus_decoder_decode_packet()
115 numFrames = opus_packet_get_nb_frames(pBuffer, bufferSize); in a2dp_vendor_opus_decoder_decode_packet()
117 pBuffer, A2DP_OPUS_CODEC_DEFAULT_SAMPLERATE); in a2dp_vendor_opus_decoder_decode_packet()
118 frameLen = opus_packet_get_nb_samples(pBuffer, bufferSize, in a2dp_vendor_opus_decoder_decode_packet()
120 uint32_t num_frames = pBuffer[0] & 0xf; in a2dp_vendor_opus_decoder_decode_packet()
129 numChannels = opus_packet_get_nb_channels(pBuffer); in a2dp_vendor_opus_decoder_decode_packet()
132 reinterpret_cast<unsigned char*>(pBuffer), in a2dp_vendor_opus_decoder_decode_packet()
Da2dp_aac_decoder.cc68 auto* pBuffer = reinterpret_cast<UCHAR*>(p_buf->data + p_buf->offset); in a2dp_aac_decoder_decode_packet() local
73 &pBuffer, &bufferSize, &bytesValid); in a2dp_aac_decoder_decode_packet()
Da2dp_vendor_ldac_decoder.cc205 unsigned char* pBuffer = in a2dp_vendor_ldac_decoder_decode_packet() local
217 frame_number = (int)pBuffer[0]; in a2dp_vendor_ldac_decoder_decode_packet()
223 ldac_BCO_decode_packet_func(a2dp_ldac_decoder_cb.ldac_handle_bco, pBuffer, in a2dp_vendor_ldac_decoder_decode_packet()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/utils/
DRtpBuffer.cpp26 RtpBuffer::RtpBuffer(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer) in RtpBuffer() argument
36 if (pBuffer != nullptr) in RtpBuffer()
38 memcpy(m_pBuffer, pBuffer, m_uiLength); in RtpBuffer()
75 RtpDt_Void RtpBuffer::setBufferInfo(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer) in setBufferInfo() argument
78 m_pBuffer = pBuffer; in setBufferInfo()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/jni/
Dlibimsmediajni.cpp64 jbyte* pBuffer = env->GetByteArrayElements(baData, nullptr); in SendData2Java() local
66 if (pBuffer != nullptr) in SendData2Java()
68 memcpy(pBuffer, objParcel.data(), objParcel.dataSize()); in SendData2Java()
69 env->ReleaseByteArrayElements(baData, pBuffer, 0); in SendData2Java()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/include/rtp/utils/
DRtpBuffer.h49 RtpBuffer(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer);
88 RtpDt_Void setBufferInfo(IN RtpDt_UInt32 uiLength, IN RtpDt_UChar* pBuffer);
/packages/services/BuiltInPrintService/jni/plugins/
Dpclm_wrapper_api.cpp50 void PCLmFreeBuffer(void *thisClass, void *pBuffer) { in PCLmFreeBuffer() argument
51 return static_cast<PCLmGenerator *>(thisClass)->FreeBuffer(pBuffer); in PCLmFreeBuffer()
Dpclm_wrapper_api.h41 void PCLmFreeBuffer(void *thisClass, void *pBuffer);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/
DRtpReceiverInfo.cpp271 RtpDt_UChar* pBuffer = pobjIpAddr->getBuffer(); in setIpAddr() local
273 m_pobjIpAddr = new RtpBuffer(uiLength, pBuffer); in setIpAddr()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
DPCLmGenerator.h72 void FreeBuffer(void *pBuffer);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/interface/rtp/
DRtpService.h131 IN RTPSESSIONID hRtpSession, IN RtpDt_Char* pBuffer, IN RtpDt_UInt16 wBufferLength,
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp1920 void PCLmGenerator::FreeBuffer(void *pBuffer) { in FreeBuffer() argument
1921 if (jobOpen == job_closed && pBuffer) { in FreeBuffer()
1922 if (pBuffer == allocatedOutputBuffer) { in FreeBuffer()
1925 free(pBuffer); in FreeBuffer()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/
DRtpService.cpp409 IN RTPSESSIONID hRtpSession, IN RtpDt_Char* pBuffer, IN RtpDt_UInt16 wBufferLength, in IMS_RtpSvc_SendRtpPacket() argument
450 pobjRtpPayload->setBufferInfo(wBufferLength, reinterpret_cast<RtpDt_UChar*>(pBuffer)); in IMS_RtpSvc_SendRtpPacket()