/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 118 pfd[0].fd = omx->drv_ctx.video_vpu_fd; in async_message_thread() 150 v4l2_buf.length = omx->drv_ctx.output_num_planes; in async_message_thread() 161 extra_idx = EXTRADATA_IDX(omx->drv_ctx.output_num_planes); in async_message_thread() 190 v4l2_buf.length = omx->drv_ctx.input_num_planes; in async_message_thread() 198 extra_idx = EXTRADATA_IDX(omx->drv_ctx.input_num_planes); in async_message_thread() 300 pfd.fd = omx->drv_ctx.video_vpu_fd; in async_message_thread() 307 sem_wait(&(omx->drv_ctx.async_lock)); in async_message_thread() 309 if ((omx->drv_ctx.etb_ftb_info.ftb_cnt > 0)) in async_message_thread() 311 …("async_message_thread 1 omx->drv_ctx.etb_ftb_info.ftb_cnt = %d\n", omx->drv_ctx.etb_ftb_info.ftb_… in async_message_thread() 320 v4l2_buf.bytesused = omx->drv_ctx.etb_ftb_info.ftb_len; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 151 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 169 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 279 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 671 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 684 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 690 drv_ctx.timestamp_adjust = false; in omx_vdec() 691 drv_ctx.video_driver_fd = -1; in omx_vdec() 813 if (drv_ctx.video_driver_fd >=0 ) { in ~omx_vdec() 814 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) in ~omx_vdec() 819 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 140 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 158 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 247 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 655 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 667 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 668 drv_ctx.timestamp_adjust = false; in omx_vdec() 669 drv_ctx.video_driver_fd = -1; in omx_vdec() 790 DEBUG_PRINT_HIGH("Waiting on OMX Async Thread exit driver id %d", drv_ctx.video_driver_fd); in ~omx_vdec() 792 if (drv_ctx.video_driver_fd >=0 ) in ~omx_vdec() 795 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) in ~omx_vdec() [all …]
|
D | omx_vdec_hevc.cpp | 149 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 166 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 584 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 592 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 593 drv_ctx.timestamp_adjust = false; in omx_vdec() 594 drv_ctx.video_driver_fd = -1; in omx_vdec() 702 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) { in ~omx_vdec() 706 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() 707 close(drv_ctx.video_driver_fd); in ~omx_vdec() 726 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() [all …]
|
D | omx_vdec.cpp | 177 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, in async_message_thread() 529 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 540 drv_ctx.timestamp_adjust = false; in omx_vdec() 541 drv_ctx.video_driver_fd = -1; in omx_vdec() 592 close (drv_ctx.video_driver_fd); in ~omx_vdec() 593 drv_ctx.video_driver_fd = -1; in ~omx_vdec() 713 pThis->drv_ctx.op_buf = pThis->op_buf_rcnfg; in process_event_cb() 714 … OMX_ERRORTYPE eRet = pThis->set_buffer_req(&pThis->drv_ctx.op_buf); in process_event_cb() 787 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 812 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 134 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 153 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 245 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 663 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 675 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 676 drv_ctx.timestamp_adjust = false; in omx_vdec() 677 drv_ctx.video_driver_fd = -1; in omx_vdec() 798 DEBUG_PRINT_HIGH("Waiting on OMX Async Thread exit driver id %d", drv_ctx.video_driver_fd); in ~omx_vdec() 800 if (drv_ctx.video_driver_fd >=0 ) in ~omx_vdec() 803 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) in ~omx_vdec() [all …]
|
D | omx_vdec_hevc.cpp | 145 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 162 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 579 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 587 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 588 drv_ctx.timestamp_adjust = false; in omx_vdec() 589 drv_ctx.video_driver_fd = -1; in omx_vdec() 697 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) { in ~omx_vdec() 701 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() 702 close(drv_ctx.video_driver_fd); in ~omx_vdec() 721 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers() [all …]
|
D | omx_vdec_v4l2.cpp | 164 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 187 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 307 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 657 drv_ctx.video_driver_fd = -1; in omx_vdec() 658 drv_ctx.extradata_info.ion.fd_ion_data.fd = -1; in omx_vdec() 741 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 758 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 764 drv_ctx.timestamp_adjust = false; in omx_vdec() 915 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() 917 close(drv_ctx.video_driver_fd); in ~omx_vdec() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 176 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, in async_message_thread() 541 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 547 drv_ctx.timestamp_adjust = false; in omx_vdec() 548 drv_ctx.video_driver_fd = -1; in omx_vdec() 720 pThis->drv_ctx.op_buf = pThis->op_buf_rcnfg; in process_event_cb() 721 OMX_ERRORTYPE eRet = pThis->set_buffer_req(&pThis->drv_ctx.op_buf); in process_event_cb() 795 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 821 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 875 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb() 943 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb() [all …]
|
D | omx_vdec_copper.cpp | 135 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 543 memset (&drv_ctx,0,sizeof(drv_ctx)); 549 drv_ctx.timestamp_adjust = false; 550 drv_ctx.video_driver_fd = -1; 589 close(drv_ctx.video_driver_fd); in ~omx_vdec() 790 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 816 (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 1104 if (pThis->drv_ctx.interlace != VDEC_InterlaceFrameProgressive) in process_event_cb() 1108 if (pThis->drv_ctx.interlace == VDEC_InterlaceInterleaveFrameTopFieldFirst) in process_event_cb() 1110 else if (pThis->drv_ctx.interlace == VDEC_InterlaceInterleaveFrameBottomFieldFirst) in process_event_cb() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 179 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 202 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 329 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 676 drv_ctx.video_driver_fd = -1; in omx_vdec() 677 drv_ctx.extradata_info.ion.fd_ion_data.fd = -1; in omx_vdec() 767 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec() 787 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec() 793 drv_ctx.timestamp_adjust = false; in omx_vdec() 963 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() 965 close(drv_ctx.video_driver_fd); in ~omx_vdec() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 158 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 181 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 300 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 598 memset(&drv_ctx, 0, sizeof(drv_ctx)); in omx_vdec() 599 drv_ctx.video_driver_fd = -1; in omx_vdec() 601 drv_ctx.extradata_info.ion[i].data_fd = -1; in omx_vdec() 602 drv_ctx.extradata_info.ion[i].dev_fd = -1; in omx_vdec() 715 drv_ctx.timestamp_adjust = false; in omx_vdec() 766 drv_ctx.gbm_device_fd = -1; in omx_vdec() 874 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec() [all …]
|
D | omx_vdec_v4l2_params.cpp | 306 switch (drv_ctx.decoder_format) { in get_parameter() 317 if (!eRet && !ioctl(drv_ctx.video_driver_fd, VIDIOC_G_CTRL, &profile_control)) { in get_parameter() 361 if (!eRet && !ioctl(drv_ctx.video_driver_fd, VIDIOC_G_CTRL, &level_control)) { in get_parameter() 456 drv_ctx.video_resolution.frame_width, in get_parameter() 457 drv_ctx.video_resolution.frame_height, in get_parameter() 458 drv_ctx.video_resolution.stride, in get_parameter() 459 drv_ctx.video_resolution.scan_lines); in get_parameter() 558 … (portDefn->nBufferCountActual != drv_ctx.op_buf.actualcount || in set_parameter() 559 … portDefn->nBufferSize != drv_ctx.op_buf.buffer_size)) { in set_parameter() 575 … drv_ctx.op_buf.mincount, (unsigned int)buffer_size, in set_parameter() [all …]
|
D | omx_vdec_extensions.hpp | 111 setStatus &= vExt.setParamInt32(ext, "value", drv_ctx.idr_only_decoding); in get_vendor_extension_config()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 222 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread() 245 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 325 event_fields_changed |= (omx->drv_ctx.video_resolution.frame_height != ptr[0]); in async_message_thread() 326 event_fields_changed |= (omx->drv_ctx.video_resolution.frame_width != ptr[1]); in async_message_thread() 341 (omx->drv_ctx.video_resolution.frame_height != ptr[0] || in async_message_thread() 342 omx->drv_ctx.video_resolution.frame_width != ptr[1])) { in async_message_thread() 348 omx->drv_ctx.video_resolution.frame_height, in async_message_thread() 349 omx->drv_ctx.video_resolution.frame_width, in async_message_thread() 458 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 770 memset(&drv_ctx, 0, sizeof(drv_ctx)); in omx_vdec() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | omx_vdec.h | 383 struct video_driver_context drv_ctx; variable
|
/hardware/qcom/media/msm8996/videopp/inc/ |
D | omx_vdpp.h | 555 struct video_vpu_context drv_ctx; variable
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec_hevc.h | 381 struct video_driver_context drv_ctx; variable
|
D | omx_vdec_hevc_swvdec.h | 438 struct video_driver_context drv_ctx; variable
|
D | omx_vdec.h | 455 struct video_driver_context drv_ctx; variable
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec_hevc.h | 384 struct video_driver_context drv_ctx; variable
|
D | omx_vdec.h | 444 struct video_driver_context drv_ctx; variable
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 465 struct video_driver_context drv_ctx; variable
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 623 struct video_driver_context drv_ctx; variable
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/ |
D | omx_vdec.h | 690 struct video_driver_context drv_ctx; variable
|