Home
last modified time | relevance | path

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

12345

/hardware/nxp/nfc/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()
173 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - 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.cc350 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread()
357 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlThread()
375 gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread()
383 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
455 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
473 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
484 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
504 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
523 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
655 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlNfc_Write() argument
[all …]
DphTmlNfc.h135 uint8_t* pBuffer; /*Buffer passed while invocation of operation */ member
215 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength,
218 NFCSTATUS phTmlNfc_Read(uint8_t* pBuffer, uint16_t wLength,
/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/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/sm8150/media/mm-core/inc/
DOMX_Core.h411 OMX_U8* pBuffer; /**< Pointer to actual block of memory member
606 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
635 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer);
1040 pBuffer) \ argument
1047 pBuffer)
1116 pBuffer) \ argument
1120 pBuffer) /* Macro End */
1147 pBuffer) \ argument
1150 pBuffer) /* Macro End */
1177 pBuffer) \ argument
[all …]
/hardware/qcom/sdm845/media/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-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/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/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/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/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/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-legacy/vidc/common/src/
Dextra_data_handler.cpp232 OMX_U8 *pBuffer = (OMX_U8 *)pBufHdr->pBuffer; in parse_sliceinfo() local
242 if ((*(pBuffer + slice_offset + 0) != 0x00) || in parse_sliceinfo()
243 (*(pBuffer + slice_offset + 1) != 0x00) || in parse_sliceinfo()
244 (*(pBuffer + slice_offset + 2) != 0x00) || in parse_sliceinfo()
245 (*(pBuffer + slice_offset + 3) != H264_START_CODE)) { in parse_sliceinfo()
247 "for slice[%d]", (OMX_U32)(*(OMX_U32 *)(pBuffer + slice_offset)), in parse_sliceinfo()
272 ((unsigned)(buf_hdr->pBuffer + buf_hdr->nOffset + in parse_extra_data()
278 while(extra_data && (OMX_U8*)extra_data < (buf_hdr->pBuffer + in parse_extra_data()
458 OMX_U8 *buffer = (OMX_U8 *) ((unsigned)(buf_hdr->pBuffer + in create_extra_data()
/hardware/nxp/secure_element/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);
DphNxpEsePal_spi.cpp202 int phPalEse_spi_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) { in phPalEse_spi_read() argument
206 ret = read((intptr_t)pDevHandle, (void*)pBuffer, (nNbBytesToRead)); in phPalEse_spi_read()
226 int phPalEse_spi_write(void* pDevHandle, uint8_t* pBuffer, in phPalEse_spi_write() argument
237 pBuffer[0] = SEND_PACKET_SOF; in phPalEse_spi_write()
246 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, in phPalEse_spi_write()
/hardware/qcom/sm8150/media/libarbitrarybytes/src/
Dframeparser.cpp120 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
121 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
274 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
275 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
360 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
453 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
454 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
483 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
484 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp159 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
329 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
330 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
421 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
514 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
515 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
546 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
547 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dframeparser.cpp160 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
161 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
350 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
351 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
460 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
544 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
545 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
579 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
580 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dframeparser.cpp159 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
329 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
330 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_sc_frame()
421 psource = source->pBuffer + source->nOffset; in parse_sc_frame()
514 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
515 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()
546 psource = source->pBuffer + source->nOffset; in parse_h264_nallength()
547 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); in parse_h264_nallength()

12345