Home
last modified time | relevance | path

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

1234567891011

/hardware/intel/common/utils/ISV/omx/
Disv_omxcomponent.cpp534 OMX_IN OMX_U8 *pBuffer) in UseBuffer() argument
539 pAppPrivate, nSizeBytes, pBuffer); in UseBuffer()
547 OMX_IN OMX_U8 *pBuffer) in ISV_UseBuffer() argument
552 pAppPrivate, nSizeBytes, pBuffer); in ISV_UseBuffer()
560 if (OK != mISVBufferManager->useBuffer(reinterpret_cast<unsigned long>(pBuffer))) { in ISV_UseBuffer()
564 … ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: mVPP useBuffer success. buffer handle %p", __func__, pBuffer); in ISV_UseBuffer()
599 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) in FreeBuffer() argument
603 return pComp->ISV_FreeBuffer(nPortIndex, pBuffer); in FreeBuffer()
608 OMX_IN OMX_BUFFERHEADERTYPE *pBuffer) in ISV_FreeBuffer() argument
610 ALOGD_IF(ISV_COMPONENT_DEBUG, "%s: pBuffer %p", __func__, pBuffer); in ISV_FreeBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c227 void ResetBufferPointers(unsigned char **pBuffer);
232 int unParse_Header (OMX_U8* pBuffer, FILE *fIn, int * payload);
239 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
240 OMX_ERRORTYPE send_input_buffer_tc7 (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *f…
407 void FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in FillBufferDone() argument
410 pBuffer, pBuffer->pBuffer, pBuffer->nFilledLen); in FillBufferDone()
412 TIME_PRINT("TimeStamp Output: %lld\n",pBuffer->nTimeStamp); in FillBufferDone()
413 TICK_PRINT("TickCount Output: %ld\n\n",pBuffer->nTickCount); in FillBufferDone()
414 write(OpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in FillBufferDone()
433 void EmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in EmptyBufferDone() argument
[all …]
/hardware/intel/img/psb_video/src/mrst/
Dlnc_MPEG4ES.c282 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()
316pBuffer->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 …]
Dlnc_H263ES.c251 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 …]
Dlnc_H264ES.c317 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/ti/omap4xxx/domx/domx/omx_rpc/src/
Domx_rpc.c285 OMX_PTR pBuffer = NULL; in RPC_CallbackThread() local
318 RPC_getPacket(nPacketSize, pBuffer); in RPC_CallbackThread()
319 status = read(pRPCCtx->fd_omx, pBuffer, nPacketSize); in RPC_CallbackThread()
336 nFxnIdx = ((struct omx_packet *) pBuffer)->fxn_idx; in RPC_CallbackThread()
347 pBuffer)->data); in RPC_CallbackThread()
348 RPC_freePacket(pBuffer); in RPC_CallbackThread()
349 pBuffer = NULL; in RPC_CallbackThread()
353 pBuffer)->data); in RPC_CallbackThread()
354 RPC_freePacket(pBuffer); in RPC_CallbackThread()
355 pBuffer = NULL; in RPC_CallbackThread()
[all …]
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/
Domx_rpc.c285 OMX_PTR pBuffer = NULL; in RPC_CallbackThread() local
319 RPC_getPacket(nPacketSize, pBuffer); in RPC_CallbackThread()
320 status = read(pRPCCtx->fd_omx, pBuffer, nPacketSize); in RPC_CallbackThread()
344 nFxnIdx = ((struct omx_packet *) pBuffer)->fxn_idx; in RPC_CallbackThread()
355 pBuffer)->data); in RPC_CallbackThread()
356 RPC_freePacket(pBuffer); in RPC_CallbackThread()
357 pBuffer = NULL; in RPC_CallbackThread()
361 pBuffer)->data); in RPC_CallbackThread()
362 RPC_freePacket(pBuffer); in RPC_CallbackThread()
363 pBuffer = NULL; in RPC_CallbackThread()
[all …]
/hardware/intel/img/psb_video/src/
Dpnw_MPEG4ES.c317 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()
355pBuffer->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()
366pBuffer->vop_time_increment, /* In testbench, this should be FrameNum */ in pnw__MPEG4ES_process_picture_param()
[all …]
Dpnw_H264ES.c593 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 …]
Dpnw_H263ES.c275 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 …]
Dpnw_jpeg.c315 VAEncPictureParameterBufferJPEG *pBuffer; in pnw__jpeg_process_picture_param() local
334 pBuffer = (VAEncPictureParameterBufferJPEG *) obj_buffer->buffer_data; in pnw__jpeg_process_picture_param()
339 if (((pBuffer->pic_flags).bits.profile != 0) || /* Only "0 - Baseline" is supported */ in pnw__jpeg_process_picture_param()
340 ((pBuffer->pic_flags).bits.progressive != 0) || /* Only "0 - sequential" is supported */ in pnw__jpeg_process_picture_param()
341 ((pBuffer->pic_flags).bits.huffman != 1) || /* Only "1 - huffman" is supported */ in pnw__jpeg_process_picture_param()
342 ((pBuffer->pic_flags).bits.interleaved != 0) || /* Only "0 - non interleaved" is supported */ in pnw__jpeg_process_picture_param()
343 ((pBuffer->pic_flags).bits.differential != 0)) /* Only "0 - non differential" is supported */ in pnw__jpeg_process_picture_param()
346 if ((pBuffer->sample_bit_depth != 8) || /* Only 8-bits sample depth is supported */ in pnw__jpeg_process_picture_param()
347 …(pBuffer->num_components != PNW_JPEG_COMPONENTS_NUM) || /* Only 3 components setting is supported … in pnw__jpeg_process_picture_param()
348 (pBuffer->quality > 100)) in pnw__jpeg_process_picture_param()
[all …]
/hardware/intel/common/wrs_omxil_core/base/src/
Dportbase.cpp327 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/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c335 void FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in FillBufferDone() argument
337 write(OpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in FillBufferDone()
348 void EmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in EmptyBufferDone() argument
350 write(IpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in EmptyBufferDone()
934 OMX_BUFFERHEADERTYPE* pBuffer = pInputBufferHeader[k]; in main() local
935 nRead = fread(pBuffer->pBuffer, 1, pBuffer->nAllocLen, fIn); in main()
937 pBuffer->nFilledLen = nRead; in main()
938 pBuffer->nTimeStamp = (OMX_S64)rand() % 70; in main()
939 pBuffer->nTickCount = rand() % 70; in main()
944 pBuffer->nFilledLen = 0; in main()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c204 void ResetBufferPointers(OMX_U8 **pBuffer);
207 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
394 void FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in FillBufferDone() argument
396 APP_DPRINT ("APP:::: OUTPUT BUFFER = %p && %p\n",pBuffer, pBuffer->pBuffer); in FillBufferDone()
397 APP_DPRINT ("APP:::: pBuffer->nFilledLen = %d\n",(int)pBuffer->nFilledLen); in FillBufferDone()
399 TIME_PRINT("TimeStamp Output: %lld\n",pBuffer->nTimeStamp); in FillBufferDone()
400 TICK_PRINT("TickCount Output: %ld\n\n",pBuffer->nTickCount); in FillBufferDone()
401 write(OpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in FillBufferDone()
417 void EmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in EmptyBufferDone() argument
419 APP_DPRINT ("APP:::: INPUT BUFFER = %p && %p\n",pBuffer, pBuffer->pBuffer); in EmptyBufferDone()
[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/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c143 OMX_ERRORTYPE send_input_buffer (OMX_HANDLETYPE pHandle, OMX_BUFFERHEADERTYPE* pBuffer, FILE *fIn);
282 void FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in FillBufferDone() argument
284 write(OpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in FillBufferDone()
316 void EmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in EmptyBufferDone() argument
318 write(IpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in EmptyBufferDone()
958 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in main() local
959 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
960 … error = send_input_buffer (*pHandle, pBuffer, fIn); in main()
971 OMX_BUFFERHEADERTYPE* pBuffer = NULL; in main() local
972 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
[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/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
DOMX_G729Decoder.c135 static OMX_ERRORTYPE EmptyThisBuffer (OMX_HANDLETYPE hComp, OMX_BUFFERHEADERTYPE* pBuffer);
137 static OMX_ERRORTYPE FillThisBuffer (OMX_HANDLETYPE hComp, OMX_BUFFERHEADERTYPE* pBuffer);
146 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer,
154 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
162 OMX_IN OMX_U8* pBuffer);
1320 OMX_BUFFERHEADERTYPE* pBuffer) in EmptyThisBuffer() argument
1331 pBuffer->pBuffer, in EmptyThisBuffer()
1332 pBuffer->nFilledLen, in EmptyThisBuffer()
1343 if (pBuffer == NULL) { in EmptyThisBuffer()
1348 if (pBuffer->nSize != sizeof(OMX_BUFFERHEADERTYPE)) { in EmptyThisBuffer()
[all …]
/hardware/ti/omap4xxx/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c71 uint8_t* pBuffer = NULL; in readLocalFile() local
95 pBuffer = (uint8_t*)malloc(nBytesToAllocate); in readLocalFile()
96 if (pBuffer == NULL) in readLocalFile()
109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); in readLocalFile()
130 pBuffer[nBytesRead] = 0; in readLocalFile()
135 return pBuffer; in readLocalFile()
142 free(pBuffer); in readLocalFile()
/hardware/ti/omap4-aah/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c71 uint8_t* pBuffer = NULL; in readLocalFile() local
95 pBuffer = (uint8_t*)malloc(nBytesToAllocate); in readLocalFile()
96 if (pBuffer == NULL) in readLocalFile()
109 nBytesRead = fread(pBuffer, 1, statFile.st_size, pFile); in readLocalFile()
130 pBuffer[nBytesRead] = 0; in readLocalFile()
135 return pBuffer; in readLocalFile()
142 free(pBuffer); in readLocalFile()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
DOMX_G729Encoder.c136 OMX_BUFFERHEADERTYPE* pBuffer);
138 OMX_BUFFERHEADERTYPE* pBuffer);
147 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer,
153 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
159 OMX_IN OMX_U8* pBuffer);
1287 OMX_BUFFERHEADERTYPE* pBuffer) in EmptyThisBuffer() argument
1305 pBuffer->pBuffer, in EmptyThisBuffer()
1306 pBuffer->nFilledLen, in EmptyThisBuffer()
1311 if (pBuffer == NULL) in EmptyThisBuffer()
1317 if (pBuffer->nSize != sizeof(OMX_BUFFERHEADERTYPE)) in EmptyThisBuffer()
[all …]
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c226 OMX_BUFFERHEADERTYPE* pBuffer,
357 void FillBufferDone (OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in FillBufferDone() argument
360 TIME_PRINT("TimeStamp Output: %lld\n",pBuffer->nTimeStamp); in FillBufferDone()
361 TICK_PRINT("TickCount Output: %ld\n\n",pBuffer->nTickCount); in FillBufferDone()
362 write(OpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in FillBufferDone()
371 void EmptyBufferDone(OMX_HANDLETYPE hComponent, OMX_PTR ptr, OMX_BUFFERHEADERTYPE* pBuffer) in EmptyBufferDone() argument
375 write(IpBuf_Pipe[1], &pBuffer, sizeof(pBuffer)); in EmptyBufferDone()
1020 OMX_BUFFERHEADERTYPE* pBuffer; in main() local
1021 read(IpBuf_Pipe[0], &pBuffer, sizeof(pBuffer)); in main()
1022 pBuffer->nFlags = 0; in main()
[all …]
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/
DOMXVideoDecoderAVCSecure.cpp175 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/intel/common/wrs_omxil_core/base/inc/
Dportbase.h31 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/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
DOMX_G726Encoder.c129 static OMX_ERRORTYPE EmptyThisBuffer (OMX_HANDLETYPE hComp, OMX_BUFFERHEADERTYPE* pBuffer);
131 static OMX_ERRORTYPE FillThisBuffer (OMX_HANDLETYPE hComp, OMX_BUFFERHEADERTYPE* pBuffer);
139 OMX_INOUT OMX_BUFFERHEADERTYPE** pBuffer,
147 OMX_IN OMX_BUFFERHEADERTYPE* pBuffer);
155 OMX_IN OMX_U8* pBuffer);
1068 OMX_BUFFERHEADERTYPE* pBuffer) in EmptyThisBuffer() argument
1081 if (pBuffer == NULL) { in EmptyThisBuffer()
1087 if (pBuffer->nSize != sizeof(OMX_BUFFERHEADERTYPE)) { in EmptyThisBuffer()
1099 if (pBuffer->nVersion.nVersion != pComponentPrivate->nVersion) { in EmptyThisBuffer()
1105 if (pBuffer->nInputPortIndex != G726ENC_INPUT_PORT) { in EmptyThisBuffer()
[all …]

1234567891011