Home
last modified time | relevance | path

Searched refs:drv_ctx (Results 1 – 15 of 15) sorted by relevance

/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp118 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/
Domx_vdec_msm8974.cpp151 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()
670 memset (&drv_ctx,0,sizeof(drv_ctx)); in omx_vdec()
683 memset(&drv_ctx.extradata_info, 0, sizeof(drv_ctx.extradata_info)); in omx_vdec()
689 drv_ctx.timestamp_adjust = false; in omx_vdec()
690 drv_ctx.video_driver_fd = -1; in omx_vdec()
812 if (drv_ctx.video_driver_fd >=0 ) { in ~omx_vdec()
813 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) in ~omx_vdec()
818 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
[all …]
Domx_vdec_hevc.cpp149 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 …]
Domx_vdec.cpp177 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/
Domx_vdec_hevc_swvdec.cpp134 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 …]
Domx_vdec_hevc.cpp145 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 …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp176 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 …]
Domx_vdec_copper.cpp135 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/msm8996/videopp/inc/
Domx_vdpp.h555 struct video_vpu_context drv_ctx; variable
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Domx_vdec.h383 struct video_driver_context drv_ctx; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h381 struct video_driver_context drv_ctx; variable
Domx_vdec_hevc_swvdec.h438 struct video_driver_context drv_ctx; variable
Domx_vdec.h442 struct video_driver_context drv_ctx; variable
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec_hevc.h384 struct video_driver_context drv_ctx; variable
Domx_vdec.h444 struct video_driver_context drv_ctx; variable