/hardware/intel/common/utils/ISV/omx/ |
D | isv_omxcomponent.cpp | 535 OMX_IN OMX_U8 *pBuffer) in UseBuffer() argument 540 pAppPrivate, nSizeBytes, pBuffer); in UseBuffer() 548 OMX_IN OMX_U8 *pBuffer) in ISV_UseBuffer() argument 553 pAppPrivate, nSizeBytes, pBuffer); in ISV_UseBuffer() 561 if (OK != mISVBufferManager->useBuffer(reinterpret_cast<unsigned long>(pBuffer))) { in ISV_UseBuffer() 565 … ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: mVPP useBuffer success. buffer handle %p", __func__, pBuffer); in ISV_UseBuffer() 600 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) in FreeBuffer() argument 604 return pComp->ISV_FreeBuffer(nPortIndex, pBuffer); in FreeBuffer() 609 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) in ISV_FreeBuffer() argument 611 ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: pBuffer %p", __func__, pBuffer); in ISV_FreeBuffer() [all …]
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_MPEG4ES.c | 282 VAEncPictureParameterBufferMPEG4 *pBuffer; in lnc__MPEG4ES_process_picture_param() local 294 pBuffer = (VAEncPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in lnc__MPEG4ES_process_picture_param() 298 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in lnc__MPEG4ES_process_picture_param() 299 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); in lnc__MPEG4ES_process_picture_param() 300 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in lnc__MPEG4ES_process_picture_param() 302 ASSERT(ctx->Width == pBuffer->picture_width); in lnc__MPEG4ES_process_picture_param() 303 ASSERT(ctx->Height == pBuffer->picture_height); in lnc__MPEG4ES_process_picture_param() 316 … pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ in lnc__MPEG4ES_process_picture_param() 318 pBuffer->picture_type, in lnc__MPEG4ES_process_picture_param() 326 free(pBuffer); in lnc__MPEG4ES_process_picture_param() [all …]
|
D | lnc_H263ES.c | 251 VAEncPictureParameterBufferH263 *pBuffer; in lnc__H263ES_process_picture_param() local 263 pBuffer = (VAEncPictureParameterBufferH263 *) obj_buffer->buffer_data; in lnc__H263ES_process_picture_param() 267 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in lnc__H263ES_process_picture_param() 268 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); in lnc__H263ES_process_picture_param() 269 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in lnc__H263ES_process_picture_param() 271 ASSERT(ctx->Width == pBuffer->picture_width); in lnc__H263ES_process_picture_param() 272 ASSERT(ctx->Height == pBuffer->picture_height); in lnc__H263ES_process_picture_param() 298 pBuffer->picture_type, in lnc__H263ES_process_picture_param() 311 free(pBuffer); in lnc__H263ES_process_picture_param() 319 VAEncSliceParameterBuffer *pBuffer; in lnc__H263ES_process_slice_param() local [all …]
|
D | lnc_H264ES.c | 317 VAEncPictureParameterBufferH264 *pBuffer; in lnc__H264ES_process_picture_param() local 330 pBuffer = (VAEncPictureParameterBufferH264 *) obj_buffer->buffer_data; in lnc__H264ES_process_picture_param() 334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in lnc__H264ES_process_picture_param() 335 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id); in lnc__H264ES_process_picture_param() 336 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in lnc__H264ES_process_picture_param() 391 if (0 != pBuffer->last_picture) { in lnc__H264ES_process_picture_param() 396 free(pBuffer); in lnc__H264ES_process_picture_param() 400 p_aux_info->aux_flag = pBuffer->last_picture; in lnc__H264ES_process_picture_param() 411 free(pBuffer); in lnc__H264ES_process_picture_param() 418 VAEncSliceParameterBuffer *pBuffer; in lnc__H264ES_process_slice_param() local [all …]
|
/hardware/intel/img/psb_video/src/ |
D | pnw_MPEG4ES.c | 317 VAEncPictureParameterBufferMPEG4 *pBuffer; in pnw__MPEG4ES_process_picture_param() local 332 pBuffer = (VAEncPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in pnw__MPEG4ES_process_picture_param() 336 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in pnw__MPEG4ES_process_picture_param() 337 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); in pnw__MPEG4ES_process_picture_param() 338 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in pnw__MPEG4ES_process_picture_param() 340 ASSERT(ctx->Width == pBuffer->picture_width); in pnw__MPEG4ES_process_picture_param() 341 ASSERT(ctx->Height == pBuffer->picture_height); in pnw__MPEG4ES_process_picture_param() 355 … pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ in pnw__MPEG4ES_process_picture_param() 357 pBuffer->picture_type, in pnw__MPEG4ES_process_picture_param() 366 … pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ in pnw__MPEG4ES_process_picture_param() [all …]
|
D | pnw_H264ES.c | 593 VAEncPictureParameterBufferH264 *pBuffer; in pnw__H264ES_process_picture_param() local 605 pBuffer = (VAEncPictureParameterBufferH264 *) obj_buffer->buffer_data; in pnw__H264ES_process_picture_param() 609 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in pnw__H264ES_process_picture_param() 610 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id); in pnw__H264ES_process_picture_param() 611 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in pnw__H264ES_process_picture_param() 618 free(pBuffer); in pnw__H264ES_process_picture_param() 709 free(pBuffer); in pnw__H264ES_process_picture_param() 714 VAEncSliceParameterBuffer *pBuffer) in pnw__H264ES_encode_one_slice() argument 731 if (pBuffer->slice_height > (ctx->Height / 16) || in pnw__H264ES_encode_one_slice() 732 pBuffer->start_row_number > (ctx->Height / 16) || in pnw__H264ES_encode_one_slice() [all …]
|
D | pnw_H263ES.c | 275 VAEncPictureParameterBufferH263 *pBuffer; in pnw__H263ES_process_picture_param() local 288 pBuffer = (VAEncPictureParameterBufferH263 *) obj_buffer->buffer_data; in pnw__H263ES_process_picture_param() 292 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in pnw__H263ES_process_picture_param() 293 ctx->dest_surface = SURFACE(pBuffer->reconstructed_picture); in pnw__H263ES_process_picture_param() 294 ctx->coded_buf = BUFFER(pBuffer->coded_buf); in pnw__H263ES_process_picture_param() 296 ctx->RawWidth = pBuffer->picture_width; in pnw__H263ES_process_picture_param() 297 ctx->RawHeight = pBuffer->picture_height; in pnw__H263ES_process_picture_param() 321 pBuffer->picture_type, in pnw__H263ES_process_picture_param() 339 free(pBuffer); in pnw__H263ES_process_picture_param() 347 VAEncSliceParameterBuffer *pBuffer; in pnw__H263ES_process_slice_param() local [all …]
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 327 OMX_U8 *pBuffer) in UseBuffer() argument 365 buffer_hdr->pBuffer = pBuffer; in UseBuffer() 454 buffer_hdr->pBuffer = (*custom_mem_alloc)(nSizeBytes, custom_mem_userdata); in AllocateBuffer() 457 …buffer_hdr->pBuffer = (OMX_U8 *)(((OMX_U32)((OMX_U8 *)buffer_hdr + sizeof(*buffer_hdr)) / mem_alig… in AllocateBuffer() 459 buffer_hdr->pBuffer = (OMX_U8 *)buffer_hdr + sizeof(*buffer_hdr); in AllocateBuffer() 461 if (buffer_hdr->pBuffer == NULL) { in AllocateBuffer() 505 OMX_BUFFERHEADERTYPE *pBuffer) in FreeBuffer() argument 511 cbase->GetName(), cbase->GetWorkingRole(), nPortIndex, pBuffer); in FreeBuffer() 514 entry = list_find(buffer_hdrs, pBuffer); in FreeBuffer() 520 cbase->GetName(), cbase->GetWorkingRole(), nPortIndex, pBuffer); in FreeBuffer() [all …]
|
/hardware/nxp/nfc/halimpl/tml/ |
D | phTmlNfc_i2c.cc | 118 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()
|
D | phTmlNfc.cc | 343 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread() 349 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlThread() 367 gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread() 375 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread() 447 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread() 465 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread() 476 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread() 496 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread() 515 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread() 648 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlNfc_Write() argument [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 360 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/ |
D | omx_vdec_test.cpp | 495 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/intel/common/wrs_omxil_core/base/inc/ |
D | portbase.h | 31 typedef void CustomMemFree(OMX_U8 *pBuffer, OMX_PTR pUserData); 76 OMX_U8 *pBuffer); 82 OMX_BUFFERHEADERTYPE *pBuffer); 93 OMX_ERRORTYPE PushThisBuffer(OMX_BUFFERHEADERTYPE *pBuffer); 99 OMX_ERRORTYPE ReturnThisBuffer(OMX_BUFFERHEADERTYPE *pBuffer); 104 OMX_ERRORTYPE RetainThisBuffer(OMX_BUFFERHEADERTYPE *pBuffer,
|
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/ |
D | OMXVideoDecoderAVCSecure.cpp | 175 native_handle_t *native_handle = (native_handle_t *)pInput->pBuffer; in ProcessorProcess() 185 DumpBuffer2("OMX: AVC codec data: ", pInput->pBuffer, pInput->nFilledLen); in ProcessorProcess() 279 native_handle_t *native_handle = (native_handle_t *)buffer->pBuffer; in PrepareWVCDecodeBuffer() 355 native_handle_t *native_handle = (native_handle_t *)buffer->pBuffer; in PrepareCENCDecodeBuffer() 382 native_handle_t *native_handle = (native_handle_t *)buffer->pBuffer; in PreparePRASFDecodeBuffer() 451 native_handle_t *native_handle = (native_handle_t *)buffer->pBuffer; in PrepareDecodeBuffer() 462 DumpBuffer2("OMX: AVC codec data: ", buffer->pBuffer, buffer->nFilledLen) ; in PrepareDecodeBuffer() 584 void OMXVideoDecoderAVCSecure::MemFreeDataBuffer(OMX_U8 *pBuffer, OMX_PTR pUserData) { in MemFreeDataBuffer() argument 587 p->MemFreeDataBuffer(pBuffer); in MemFreeDataBuffer() 616 …ProtectedDataBuffer *pBuffer =(ProtectedDataBuffer *) mmap(NULL, sizeof(ProtectedDataBuffer), PROT… in MemAllocDataBuffer() local [all …]
|
/hardware/interfaces/media/omx/1.0/vts/functional/component/ |
D | VtsHalMediaOmxV1_0TargetComponentTest.cpp | 457 android::Vector<BufferInfo> pBuffer; in TEST_F() local 458 pBuffer.clear(); in TEST_F() 466 pBuffer.push(buffer); in TEST_F() 744 android::Vector<BufferInfo> pBuffer[2]; in TEST_F() local 760 pBuffer[j - portBase].clear(); in TEST_F() 769 &pBuffer[0], &pBuffer[1]); in TEST_F() 776 pBuffer[j - portBase].push(buffer); in TEST_F() 781 status = observer->dequeueMessage(&msg, DEFAULT_TIMEOUT, &pBuffer[0], in TEST_F() 782 &pBuffer[1]); in TEST_F() 792 for (size_t i = 0; i < pBuffer[1].size(); i++) { in TEST_F() [all …]
|
/hardware/intel/common/utils/ISV/include/ |
D | isv_omxcomponent.h | 53 … virtual OMX_ERRORTYPE releaseBuffer(PORT_INDEX index, OMX_BUFFERHEADERTYPE* pBuffer, bool flush); 150 OMX_IN OMX_U8* pBuffer); 156 OMX_IN OMX_U8* pBuffer); 173 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 176 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 180 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 182 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 186 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 188 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer); 209 OMX_OUT OMX_BUFFERHEADERTYPE* pBuffer); [all …]
|
/hardware/qcom/media/msm8998/mm-core/inc/ |
D | OMX_Core.h | 411 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/ |
D | OMX_Core.h | 411 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/ |
D | OMX_Core.h | 402 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-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 246 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/ |
D | venc_test.cpp | 282 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/ |
D | phNxpEsePal.cpp | 111 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/intel/common/utils/ISV/base/ |
D | isv_processor.cpp | 161 unsigned long fillHandle = reinterpret_cast<unsigned long>(outputBuffer->pBuffer); in getBufForFirmwareOutput() 191 unsigned long inputHandle = reinterpret_cast<unsigned long>(inputBuffer->pBuffer); in updateFirmwareOutputBufStatus() 291 unsigned long inputHandle = reinterpret_cast<unsigned long>(inputBuffer->pBuffer); in getBufForFirmwareInput() 307 unsigned long outputHandle = reinterpret_cast<unsigned long>(outputBuffer->pBuffer); in getBufForFirmwareInput() 612 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in notifyFlush() local 616 pBuffer = mInputBuffers.itemAt(0); in notifyFlush() 617 mpOwner->releaseBuffer(kPortIndexInput, pBuffer, true); in notifyFlush() 618 …h the pBuffer %" PRIuPTR " in input buffer queue.",__func__, reinterpret_cast<uintptr_t>(pBuffer)); in notifyFlush() 640 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in flush() local 644 pBuffer = mInputBuffers.itemAt(0); in flush() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/ |
D | extra_data_handler.cpp | 261 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/ |
D | extra_data_handler.cpp | 265 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()
|