/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
H A D | omx_video_encoder.cpp | 1608 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 1663 omxhdr = (OMX_BUFFERHEADERTYPE* )\ 1666 if(omxhdr == NULL || 1667 (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && 1668 ((OMX_U32)(omxhdr - omx->meta_buffer_hdr) > omx->m_sInPortDef.nBufferCountActual))) 1670 omxhdr = NULL; 1675 omx->omx_release_meta_buffer(omxhdr); 1677 omx->post_event ((unsigned int)omxhdr,m_sVenc_msg->statuscode, 1682 omxhdr = (OMX_BUFFERHEADERTYPE*)m_sVenc_msg->buf.clientdata; 1684 if( (omxhdr ! [all...] |
H A D | video_encoder_device_copper.cpp | 163 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 197 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 202 venc_msg.buf.clientdata=(void*)omxhdr; 214 omxhdr=omx_venc_base->m_inp_mem_ptr+v4l2_buf.index; 215 venc_msg.buf.clientdata=(void*)omxhdr;
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_video_encoder.cpp | 2147 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 2196 omxhdr = (OMX_BUFFERHEADERTYPE* )\ 2199 if (omxhdr == NULL || 2200 (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && 2201 ((OMX_U32)(omxhdr - omx->meta_buffer_hdr) > omx->m_sInPortDef.nBufferCountActual))) { 2202 omxhdr = NULL; 2207 omx->omx_release_meta_buffer(omxhdr); 2209 omx->post_event ((unsigned long)omxhdr,m_sVenc_msg->statuscode, 2213 omxhdr = (OMX_BUFFERHEADERTYPE*)m_sVenc_msg->buf.clientdata; 2215 if ( (omxhdr ! [all...] |
H A D | video_encoder_device_v4l2.cpp | 284 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 346 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 351 venc_msg.buf.clientdata=(void*)omxhdr; 373 if (omxhdr->nFilledLen) 395 omxhdr = &omx_venc_base->meta_buffer_hdr[v4l2_buf.index]; 397 omxhdr = &omx_venc_base->m_inp_mem_ptr[v4l2_buf.index]; 399 venc_msg.buf.clientdata=(void*)omxhdr;
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_mpeg4.cpp | 2410 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 2413 omxhdr = (OMX_BUFFERHEADERTYPE*)p_ipbuffer->p_client_data; 2417 if ( (omxhdr == NULL) || 2418 ( ((OMX_U32)(omxhdr - m_inp_mem_ptr) >m_sInPortDef.nBufferCountActual) && 2419 ((OMX_U32)(omxhdr - meta_buffer_hdr) >m_sInPortDef.nBufferCountActual) 2423 omxhdr = NULL; 2427 if (omxhdr != NULL) 2430 omx_release_meta_buffer(omxhdr); 2436 meta_buf = (encoder_media_buffer_type *)omxhdr->pBuffer; 2453 post_event ((unsigned long)omxhdr,erro 2470 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 2550 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local [all...] |
H A D | omx_video_encoder.cpp | 2351 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 2403 omxhdr = (OMX_BUFFERHEADERTYPE* )\ 2406 if (omxhdr == NULL || 2407 (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && 2408 ((OMX_U32)(omxhdr - omx->meta_buffer_hdr) > omx->m_sInPortDef.nBufferCountActual))) { 2409 omxhdr = NULL; 2414 omx->omx_release_meta_buffer(omxhdr); 2416 omx->post_event ((unsigned long)omxhdr,m_sVenc_msg->statuscode, 2420 omxhdr = (OMX_BUFFERHEADERTYPE*)m_sVenc_msg->buf.clientdata; 2422 if ( (omxhdr ! [all...] |
H A D | video_encoder_device_v4l2.cpp | 308 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 380 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 383 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; 385 omxhdr->pPlatformPrivate = 0; 391 venc_msg.buf.clientdata=(void*)omxhdr; 413 if (omxhdr->nFilledLen) 452 omxhdr = &omx_venc_base->meta_buffer_hdr[v4l2_buf.index]; 454 omxhdr = &omx_venc_base->m_inp_mem_ptr[v4l2_buf.index]; 458 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; 459 omx->handle->mInputExtradata.put((char *)omxhdr [all...] |
/hardware/qcom/media/msm8996/videopp/src/ |
H A D | omx_vdpp.cpp | 6399 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6457 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 6459 if (omxhdr == NULL || 6460 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) 6463 omxhdr = NULL; 6467 // No need to update the omxhdr->nFilledLen using the plane[0].len + plane[1].len here. 6470 omx->post_event ((unsigned int)omxhdr,vdpp_msg->status_code, 6477 omxhdr=omx->m_out_mem_ptr+v4l2_buf_ptr->index; 6480 if (omxhdr && omxhdr [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
H A D | omx_vdec.cpp | 6765 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6835 omxhdr = (OMX_BUFFERHEADERTYPE* )\ 6839 if (omxhdr == NULL || 6840 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) 6842 omxhdr = NULL; 6846 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 6862 omxhdr = (OMX_BUFFERHEADERTYPE*)vdec_msg->msgdata.output_frame.client_data; 6864 omxhdr, vdec_msg->msgdata.output_frame.time_stamp, 6885 if (omxhdr && omxhdr [all...] |
H A D | omx_vdec_copper.cpp | 6318 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6389 // omxhdr = (OMX_BUFFERHEADERTYPE* ) \ 6393 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 6394 if (omxhdr == NULL || 6395 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) 6397 omxhdr = NULL; 6401 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 6419 omxhdr=omx->m_out_mem_ptr+v4l2_buf_ptr->index; 6421 omxhdr, vdec_msg->msgdata.output_frame.time_stamp, 6424 if (omxhdr [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec.cpp | 6550 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6618 omxhdr = (OMX_BUFFERHEADERTYPE* )\ 6622 if (omxhdr == NULL || 6623 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) { 6624 omxhdr = NULL; 6628 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 6646 omxhdr = (OMX_BUFFERHEADERTYPE*)vdec_msg->msgdata.output_frame.client_data; 6648 omxhdr, vdec_msg->msgdata.output_frame.time_stamp, 6666 if (omxhdr && omxhdr [all...] |
H A D | omx_vdec_hevc.cpp | 6086 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6136 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 6140 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 6141 if (omxhdr == NULL || 6142 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) { 6143 omxhdr = NULL; 6147 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 6165 omxhdr=omx->m_out_mem_ptr+v4l2_buf_ptr->index; 6167 omxhdr, vdec_msg->msgdata.output_frame.time_stamp, 6170 if (omxhdr [all...] |
H A D | omx_vdec_hevc_swvdec.cpp | 7255 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 7315 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 7319 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 7320 if (omxhdr == NULL || 7321 ((omxhdr - omx->m_inp_mem_ptr) > (int)omx->drv_ctx.ip_buf.actualcount) ) 7323 omxhdr = NULL; 7333 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 7360 omxhdr=p_mem_ptr+v4l2_buf_ptr->index; 7362 omxhdr, omxhdr [all...] |
H A D | omx_vdec_msm8974.cpp | 7433 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 7493 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 7497 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 7498 if (omxhdr == NULL || 7499 ((omxhdr - omx->m_inp_mem_ptr) > (int)omx->drv_ctx.ip_buf.actualcount) ) { 7500 omxhdr = NULL; 7509 omxhdr->nFlags |= OMX_BUFFERFLAG_DATACORRUPT; 7512 if (omxhdr->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 7523 omx->post_event ((unsigned long)omxhdr,vdec_msg->status_code, 7541 omxhdr [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc.cpp | 6050 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 6100 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 6104 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 6105 if (omxhdr == NULL || 6106 ((omxhdr - omx->m_inp_mem_ptr) > omx->drv_ctx.ip_buf.actualcount) ) { 6107 omxhdr = NULL; 6111 omx->post_event ((unsigned int)omxhdr,vdec_msg->status_code, 6129 omxhdr=omx->m_out_mem_ptr+v4l2_buf_ptr->index; 6131 omxhdr, vdec_msg->msgdata.output_frame.time_stamp, 6134 if (omxhdr [all...] |
H A D | omx_vdec_hevc_swvdec.cpp | 7470 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 7530 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 7534 omxhdr=omx->m_inp_mem_ptr+v4l2_buf_ptr->index; 7535 if (omxhdr == NULL || 7536 ((omxhdr - omx->m_inp_mem_ptr) > (int)omx->drv_ctx.ip_buf.actualcount) ) 7538 omxhdr = NULL; 7548 omx->post_event ((unsigned long)omxhdr, (unsigned long)vdec_msg->status_code, 7575 omxhdr=p_mem_ptr+v4l2_buf_ptr->index; 7577 omxhdr, omxhdr [all...] |
H A D | omx_vdec_v4l2.cpp | 8154 OMX_BUFFERHEADERTYPE* omxhdr = NULL; local 8214 /* omxhdr = (OMX_BUFFERHEADERTYPE* ) 8220 omxhdr = NULL; 8225 omxhdr = omx->m_inp_mem_ptr + v4l2_buf_ptr->index; 8233 omxhdr->nFlags |= OMX_BUFFERFLAG_DATACORRUPT; 8236 if (omxhdr->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 8248 omxhdr->nFlags |= OMX_BUFFERFLAG_SYNCFRAME; 8250 omx->post_event ((unsigned long)omxhdr,vdec_msg->status_code, 8271 omxhdr = NULL; 8276 omxhdr [all...] |