Home
last modified time | relevance | path

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

1234567

/hardware/nxp/nfc/snxxx/halimpl/tml/transport/
DNfccI2cTransport.cc115 uint8_t pBuffer[FLUSH_BUFFER_SIZE]; in Flushdata() local
123 retRead = read(nHandle, pBuffer, sizeof(pBuffer)); in Flushdata()
125 phNxpNciHal_print_packet("RECV", pBuffer, retRead); in Flushdata()
149 int NfccI2cTransport::Read(void* pDevHandle, uint8_t* pBuffer, in Read() argument
187 read((int)(intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in Read()
188 if (ret_Read > 0 && !(pBuffer[0] == 0xFF && pBuffer[1] == 0xFF)) { in Read()
195 NXPLOG_TML_E(" %s pBuffer[0] = %x pBuffer[1]= %x", __func__, pBuffer[0], in Read()
196 pBuffer[1]); in Read()
200 if (bFwDnldFlag && (pBuffer[0] != 0x00)) { in Read()
211 ret_Read = read((int)(intptr_t)pDevHandle, (pBuffer + numRead), in Read()
[all …]
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Api.cpp39 static int phNxpEse_readPacket(void* pDevHandle, uint8_t* pBuffer,
41 static int phNxpEse_readPacket_legacy(void* pDevHandle, uint8_t* pBuffer,
1043 static int phNxpEse_readPacket(void* pDevHandle, uint8_t* pBuffer, in phNxpEse_readPacket() argument
1076 ret = phPalEse_read(pDevHandle, pBuffer, 2); in phNxpEse_readPacket()
1081 if ((pBuffer[0] == nxpese_ctxt.nadInfo.nadRx) || in phNxpEse_readPacket()
1082 (pBuffer[0] == RECEIVE_PACKET_SOF)) { in phNxpEse_readPacket()
1088 } else if (((pBuffer[0] == 0x00) || (pBuffer[0] == 0xFF)) && in phNxpEse_readPacket()
1089 ((pBuffer[1] == nxpese_ctxt.nadInfo.nadRx) || in phNxpEse_readPacket()
1090 (pBuffer[1] == RECEIVE_PACKET_SOF))) { in phNxpEse_readPacket()
1093 pBuffer[0] = pBuffer[1]; in phNxpEse_readPacket()
[all …]
/hardware/nxp/uwb/halimpl/tml/
DphTmlUwb_spi.cc81 int phTmlUwb_spi_write(void* pDevHandle, uint8_t* pBuffer, size_t nNbBytesToWrite) in phTmlUwb_spi_write() argument
96 numWrote = write((intptr_t)pDevHandle, pBuffer, nNbBytesToWrite); in phTmlUwb_spi_write()
122 int phTmlUwb_spi_read(void* pDevHandle, uint8_t* pBuffer, size_t nNbBytesToRead) in phTmlUwb_spi_read() argument
131 ret_Read = read((intptr_t)pDevHandle, pBuffer, nNbBytesToRead); in phTmlUwb_spi_read()
134 … if((nxpucihal_ctrl.fw_dwnld_mode) && ((0xFF == pBuffer[0]) || ((0x00 == pBuffer[0]) && (0x00 == p… in phTmlUwb_spi_read()
DphTmlUwb.cc204 memcpy(gpphTmlUwb_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlUwb_TmlReaderThread()
218 tTransactionInfo.pBuff = gpphTmlUwb_Context->tReadInfo.pBuffer; in phTmlUwb_TmlReaderThread()
230 ((gpphTmlUwb_Context->tReadInfo.pBuffer[0] & 0x60) != 0x60)) { in phTmlUwb_TmlReaderThread()
294 gpphTmlUwb_Context->tWriteInfo.pBuffer, in phTmlUwb_TmlWriterThread()
305 gpphTmlUwb_Context->tWriteInfo.pBuffer, in phTmlUwb_TmlWriterThread()
318 tTransactionInfo.pBuff = gpphTmlUwb_Context->tWriteInfo.pBuffer; in phTmlUwb_TmlWriterThread()
442 tHAL_UWB_STATUS phTmlUwb_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlUwb_Write() argument
450 if ((NULL != gpphTmlUwb_Context->pDevHandle) && (NULL != pBuffer) && in phTmlUwb_Write()
458 gpphTmlUwb_Context->tWriteInfo.pBuffer = pBuffer; in phTmlUwb_Write()
504 tHAL_UWB_STATUS phTmlUwb_StartRead(uint8_t* pBuffer, uint16_t wLength, in phTmlUwb_StartRead() argument
[all …]
DphTmlUwb.h92 uint8_t* pBuffer; /*Buffer passed while invocation of operation */ member
139 tHAL_UWB_STATUS phTmlUwb_Write(uint8_t* pBuffer, uint16_t wLength,
145 tHAL_UWB_STATUS phTmlUwb_StartRead(uint8_t* pBuffer, uint16_t wLength,
/hardware/nxp/nfc/pn8x/halimpl/tml/
DphTmlNfc_i2c.cc118 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) { in phTmlNfc_i2c_read() argument
154 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
172 ret_Read = read((intptr_t)pDevHandle, pBuffer + numRead, in phTmlNfc_i2c_read()
183 pBuffer[FW_DNLD_LEN_OFFSET] + FW_DNLD_HEADER_LEN + CRC_LEN; in phTmlNfc_i2c_read()
186 pBuffer[NORMAL_MODE_LEN_OFFSET] + NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()
189 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
199 phNxpNciHal_print_packet("RECV", pBuffer, NORMAL_MODE_HEADER_LEN); in phTmlNfc_i2c_read()
226 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer, in phTmlNfc_i2c_write() argument
250 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
DphTmlNfc.cc352 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread()
359 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlThread()
377 gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread()
385 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
457 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
475 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
486 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
506 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
525 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
657 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlNfc_Write() argument
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Domx_vdec_test.cpp360 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
363 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
571 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in ebd_thread() local
582 pBuffer = (OMX_BUFFERHEADERTYPE *) pop(etb_queue); in ebd_thread()
584 if(pBuffer == NULL) in ebd_thread()
590 pBuffer->nOffset = 0; in ebd_thread()
591 if((readBytes = Read_Buffer(pBuffer)) > 0) { in ebd_thread()
592 pBuffer->nFilledLen = readBytes; in ebd_thread()
593 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp); in ebd_thread()
594 OMX_EmptyThisBuffer(dec_handle,pBuffer); in ebd_thread()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp495 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
498 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
692 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in ebd_thread() local
702 pBuffer = (OMX_BUFFERHEADERTYPE *) pop(etb_queue); in ebd_thread()
704 if (pBuffer == NULL) { in ebd_thread()
714 pBuffer->nOffset = 0; in ebd_thread()
715 if (((readBytes = Read_Buffer(pBuffer)) > 0) && !signal_eos) { in ebd_thread()
716 pBuffer->nFilledLen = readBytes; in ebd_thread()
717 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp); in ebd_thread()
718 OMX_EmptyThisBuffer(dec_handle,pBuffer); in ebd_thread()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp468 android::Vector<BufferInfo> pBuffer; in TEST_P() local
469 pBuffer.clear(); in TEST_P()
477 pBuffer.push(buffer); in TEST_P()
755 android::Vector<BufferInfo> pBuffer[2]; in TEST_P() local
771 pBuffer[j - portBase].clear(); in TEST_P()
780 &pBuffer[0], &pBuffer[1]); in TEST_P()
787 pBuffer[j - portBase].push(buffer); in TEST_P()
792 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, &pBuffer[0], in TEST_P()
793 &pBuffer[1]); in TEST_P()
803 for (size_t i = 0; i < pBuffer[1].size(); i++) { in TEST_P()
[all …]
/hardware/qcom/sm7250/media/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
620 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
649 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1054 pBuffer) \ argument
1061 pBuffer)
1130 pBuffer) \ argument
1134 pBuffer) /* Macro End */
1161 pBuffer) \ argument
1164 pBuffer) /* Macro End */
1191 pBuffer) \ argument
[all …]
/hardware/qcom/sm8150/media/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
620 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
649 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1054 pBuffer) \ argument
1061 pBuffer)
1130 pBuffer) \ argument
1134 pBuffer) /* Macro End */
1161 pBuffer) \ argument
1164 pBuffer) /* Macro End */
1191 pBuffer) \ argument
[all …]
/hardware/qcom/media/msm8974/mm-core/omxcore/inc/
DOMX_Core.h402 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
563 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
592 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
991 pBuffer) \ argument
998 pBuffer)
1067 pBuffer) \ argument
1071 pBuffer) /* Macro End */
1098 pBuffer) \ argument
1101 pBuffer) /* Macro End */
1128 pBuffer) \ argument
[all …]
/hardware/qcom/media/msm8974/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
572 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
601 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1000 pBuffer) \ argument
1007 pBuffer)
1076 pBuffer) \ argument
1080 pBuffer) /* Macro End */
1107 pBuffer) \ argument
1110 pBuffer) /* Macro End */
1137 pBuffer) \ argument
[all …]
/hardware/qcom/media/msm8996/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
572 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
601 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1000 pBuffer) \ argument
1007 pBuffer)
1076 pBuffer) \ argument
1080 pBuffer) /* Macro End */
1107 pBuffer) \ argument
1110 pBuffer) /* Macro End */
1137 pBuffer) \ argument
[all …]
/hardware/qcom/media/msm8998/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
572 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
601 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1000 pBuffer) \ argument
1007 pBuffer)
1076 pBuffer) \ argument
1080 pBuffer) /* Macro End */
1107 pBuffer) \ argument
1110 pBuffer) /* Macro End */
1137 pBuffer) \ argument
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvenc_test.cpp246 OMX_BUFFERHEADERTYPE* pBuffer; member
1072 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer) in EBD_CB() argument
1074 D("Got EBD callback ts=%lld", pBuffer->nTimeStamp); in EBD_CB()
1079 if (m_pInBuffers[i] == pBuffer) in EBD_CB()
1082 D("Marked input buffer idx %d as free, buf %p", i, pBuffer->pBuffer); in EBD_CB()
1090 CameraTest_ReleaseFrame(pBuffer->pBuffer, in EBD_CB()
1091 ((OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO*)pBuffer->pAppPrivate)); in EBD_CB()
1097 data.sBitstreamData.pBuffer = pBuffer; in EBD_CB()
1107 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer) in FBD_CB() argument
1109 D("Got FBD callback ts=%lld", pBuffer->nTimeStamp); in FBD_CB()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/
Dvenc_test.cpp282 OMX_BUFFERHEADERTYPE* pBuffer; member
1089 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer) in EBD_CB() argument
1091 D("Got EBD callback ts=%lld", pBuffer->nTimeStamp); in EBD_CB()
1095 if (m_pInBuffers[i] == pBuffer) { in EBD_CB()
1097 D("Marked input buffer idx %d as free, buf %p", i, pBuffer->pBuffer); in EBD_CB()
1104 CameraTest_ReleaseFrame(pBuffer->pBuffer, in EBD_CB()
1105 ((OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO*)pBuffer->pAppPrivate)); in EBD_CB()
1109 data.sBitstreamData.pBuffer = pBuffer; in EBD_CB()
1120 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer) in FBD_CB() argument
1122 D("Got FBD callback ts=%lld", pBuffer->nTimeStamp); in FBD_CB()
[all …]
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/
DphNxpEsePal.cpp111 int phPalEse_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) { in phPalEse_read() argument
114 ret = phPalEse_spi_read(pDevHandle, pBuffer, nNbBytesToRead); in phPalEse_read()
136 int phPalEse_write(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToWrite) { in phPalEse_write() argument
143 numWrote = phPalEse_spi_write(pDevHandle, pBuffer, nNbBytesToWrite); in phPalEse_write()
/hardware/nxp/nfc/snxxx/halimpl/tml/
DphTmlNfc.cc343 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread()
350 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlThread()
364 gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread()
372 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
448 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
468 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
479 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
499 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
649 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlNfc_Write() argument
657 if ((NULL != gpphTmlNfc_Context->pDevHandle) && (NULL != pBuffer) && in phTmlNfc_Write()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp261 OMX_U8 *pBuffer = (OMX_U8 *)pBufHdr->pBuffer; in parse_sliceinfo() local
274 if ((*(pBuffer + slice_offset + 0) != 0x00) || in parse_sliceinfo()
275 (*(pBuffer + slice_offset + 1) != 0x00) || in parse_sliceinfo()
276 (*(pBuffer + slice_offset + 2) != 0x00) || in parse_sliceinfo()
277 (*(pBuffer + slice_offset + 3) != H264_START_CODE)) { in parse_sliceinfo()
279 "for slice[%u]", (unsigned)(*(OMX_U32 *)(pBuffer + slice_offset)), in parse_sliceinfo()
312 ((unsigned long)(buf_hdr->pBuffer + buf_hdr->nOffset + in parse_extra_data()
316 ((unsigned long)extra_data > (unsigned long)buf_hdr->pBuffer) && in parse_extra_data()
317 … ((unsigned long)extra_data < (unsigned long)buf_hdr->pBuffer + buf_hdr->nAllocLen)) { in parse_extra_data()
533 OMX_U8 *buffer = (OMX_U8 *) (buf_hdr->pBuffer + in create_extra_data()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp261 OMX_U8 *pBuffer = (OMX_U8 *)pBufHdr->pBuffer; in parse_sliceinfo() local
274 if ((*(pBuffer + slice_offset + 0) != 0x00) || in parse_sliceinfo()
275 (*(pBuffer + slice_offset + 1) != 0x00) || in parse_sliceinfo()
276 (*(pBuffer + slice_offset + 2) != 0x00) || in parse_sliceinfo()
277 (*(pBuffer + slice_offset + 3) != H264_START_CODE)) { in parse_sliceinfo()
279 "for slice[%u]", (unsigned)(*(OMX_U32 *)(pBuffer + slice_offset)), in parse_sliceinfo()
312 ((unsigned long)(buf_hdr->pBuffer + buf_hdr->nOffset + in parse_extra_data()
316 ((unsigned long)extra_data > (unsigned long)buf_hdr->pBuffer) && in parse_extra_data()
317 … ((unsigned long)extra_data < (unsigned long)buf_hdr->pBuffer + buf_hdr->nAllocLen)) { in parse_extra_data()
533 OMX_U8 *buffer = (OMX_U8 *) (buf_hdr->pBuffer + in create_extra_data()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
Dextra_data_handler.cpp265 OMX_U8 *pBuffer = (OMX_U8 *)pBufHdr->pBuffer; in parse_sliceinfo() local
278 if ((*(pBuffer + slice_offset + 0) != 0x00) || in parse_sliceinfo()
279 (*(pBuffer + slice_offset + 1) != 0x00) || in parse_sliceinfo()
280 (*(pBuffer + slice_offset + 2) != 0x00) || in parse_sliceinfo()
281 (*(pBuffer + slice_offset + 3) != H264_START_CODE)) { in parse_sliceinfo()
283 "for slice[%u]", (unsigned)(*(OMX_U32 *)(pBuffer + slice_offset)), in parse_sliceinfo()
316 ((unsigned long)(buf_hdr->pBuffer + buf_hdr->nOffset + in parse_extra_data()
320 ((unsigned long)extra_data > (unsigned long)buf_hdr->pBuffer) && in parse_extra_data()
321 … ((unsigned long)extra_data < (unsigned long)buf_hdr->pBuffer + buf_hdr->nAllocLen)) { in parse_extra_data()
537 OMX_U8 *buffer = (OMX_U8 *) (buf_hdr->pBuffer + in create_extra_data()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/pal/spi/
DEseSpiTransport.h26 int Read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead);
27 int Write(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToWrite);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/pal/spi/
DphNxpEsePal_spi.h91 int phPalEse_spi_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead);
105 int phPalEse_spi_write(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToWrite);

1234567