Home
last modified time | relevance | path

Searched refs:video_driver_fd (Results 1 – 16 of 16) sorted by relevance

/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c95 encoder_context->video_driver_fd = -1; in main()
237 init_decode->video_driver_fd = open ("/dev/msm_vidc_enc", \ in init_encoder()
242 if (init_decode->video_driver_fd < 0) in init_encoder()
262 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_BASE_CFG, in init_encoder()
274 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_RATE_CTRL_CFG, in init_encoder()
287 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
298 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
311 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_CODEC_PROFILE, in init_encoder()
322 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_SET_PROFILE_LEVEL, in init_encoder()
339 if (ioctl (init_decode->video_driver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ, in init_encoder()
[all …]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/
Ddecoder_driver_test.c96 decoder_context->video_driver_fd = -1; in main()
231 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \ in init_decoder()
236 if (init_decode->video_driver_fd < 0) in init_decoder()
247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC, in init_decoder()
258 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT, in init_decoder()
268 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES, in init_decoder()
283 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
301 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_BUFFER_REQ, in init_decoder()
314 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
586 if (ioctl (decode_context->video_driver_fd,VDEC_IOCTL_SET_BUFFER, in allocate_buffer()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
Ddecoder_driver_test.c96 decoder_context->video_driver_fd = -1; in main()
222 init_decode->video_driver_fd = open ("/dev/msm_vidc_dec", \ in init_decoder()
227 if (init_decode->video_driver_fd < 0) { in init_decoder()
237 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_CODEC, in init_decoder()
247 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_OUTPUT_FORMAT, in init_decoder()
256 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_PICRES, in init_decoder()
271 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
288 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_SET_BUFFER_REQ, in init_decoder()
300 if (ioctl (init_decode->video_driver_fd,VDEC_IOCTL_GET_BUFFER_REQ, in init_decoder()
545 if (ioctl (decode_context->video_driver_fd,VDEC_IOCTL_SET_BUFFER, in allocate_buffer()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h50 int video_driver_fd; member
Domx_vdec_hevc.h225 int video_driver_fd; member
Domx_vdec.h254 int video_driver_fd; member
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_test.h57 int video_driver_fd; member
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/
Ddecoder_driver_test.h51 int video_driver_fd; member
Domx_vdec.h229 int video_driver_fd; member
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h56 int video_driver_fd; member
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Domx_vdec.cpp173 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, in async_message_thread()
543 drv_ctx.video_driver_fd = -1; in omx_vdec()
866 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
934 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
977 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
1215 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1218 drv_ctx.video_driver_fd, errno); in component_init()
1220 if(drv_ctx.video_driver_fd == 0){ in component_init()
1221 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1224 if(drv_ctx.video_driver_fd < 0) in component_init()
[all …]
Domx_vdec_copper.cpp135 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
550 drv_ctx.video_driver_fd = -1;
589 close(drv_ctx.video_driver_fd); in ~omx_vdec()
1198 drv_ctx.video_driver_fd = open("/dev/video32", O_RDWR); in component_init()
1201 drv_ctx.video_driver_fd, errno); in component_init()
1203 if(drv_ctx.video_driver_fd == 0){ in component_init()
1204 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1207 if(drv_ctx.video_driver_fd < 0) in component_init()
1362 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_SUBSCRIBE_EVENT, &sub); in component_init()
1369 ret = ioctl(drv_ctx.video_driver_fd, VIDIOC_QUERYCAP, &cap); in component_init()
[all …]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp146 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
663 drv_ctx.video_driver_fd = -1; in omx_vdec()
782 if (drv_ctx.video_driver_fd >=0 ) { in ~omx_vdec()
783 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) in ~omx_vdec()
788 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
789 close(drv_ctx.video_driver_fd); in ~omx_vdec()
797 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd); in ~omx_vdec()
808 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
813 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1510 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
[all …]
Domx_vdec.cpp177 error_code = ioctl ( omx->drv_ctx.video_driver_fd,VDEC_IOCTL_GET_NEXT_MSG, in async_message_thread()
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()
859 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
918 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
953 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
1199 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1202 drv_ctx.video_driver_fd, errno); in component_init()
1204 if (drv_ctx.video_driver_fd == 0) { in component_init()
[all …]
Domx_vdec_hevc.cpp151 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
596 drv_ctx.video_driver_fd = -1; in omx_vdec()
704 if (ioctl(drv_ctx.video_driver_fd, VIDIOC_DECODER_CMD, &dec)) { in ~omx_vdec()
708 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
709 close(drv_ctx.video_driver_fd); in ~omx_vdec()
728 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1248 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1251 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1253 if (drv_ctx.video_driver_fd == 0) { in component_init()
1254 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
[all …]
Domx_vdec_hevc_swvdec.cpp140 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
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()
804 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
805 close(drv_ctx.video_driver_fd); in ~omx_vdec()
838 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
843 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1746 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
[all …]