Home
last modified time | relevance | path

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

12

/hardware/qcom/media/msm8974/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/msm8974/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/msm8974/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/msm8974/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h50 int video_driver_fd; member
Domx_vdec_hevc.h225 int video_driver_fd; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h56 int video_driver_fd; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h56 int video_driver_fd; member
/hardware/qcom/media/msm8974/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/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_test.h57 int video_driver_fd; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_test.h56 int video_driver_fd; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h50 int video_driver_fd; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Ddecoder_driver_test.h50 int video_driver_fd; member
Domx_vdec_hevc.h226 int video_driver_fd; member
/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()
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()
820 close(drv_ctx.video_driver_fd); in ~omx_vdec()
829 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd); in ~omx_vdec()
840 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
845 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1657 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.cpp149 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
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()
1246 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1249 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1251 if (drv_ctx.video_driver_fd == 0) { in component_init()
1252 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 …]
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp200 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
737 drv_ctx.video_driver_fd = -1; in omx_vdec()
1001 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
1003 close(drv_ctx.video_driver_fd); in ~omx_vdec()
1012 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd); in ~omx_vdec()
1047 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_EXT_CTRLS, &controls); in set_dpb()
1136 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &fmt); in decide_dpb_buffer_mode()
1144 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_FMT, &fmt); in decide_dpb_buffer_mode()
1240 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &fmt); in decide_downscalar()
1310 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &fmt); in decide_downscalar()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp179 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
676 drv_ctx.video_driver_fd = -1; 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()
975 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd); in ~omx_vdec()
987 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
992 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1028 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_EXT_CTRLS, &controls); in set_dpb()
1070 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &fmt); in decide_dpb_buffer_mode()
1076 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_FMT, &fmt); in decide_dpb_buffer_mode()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp164 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
657 drv_ctx.video_driver_fd = -1; 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()
926 DEBUG_PRINT_INFO("Exit OMX vdec Destructor: fd=%d",drv_ctx.video_driver_fd); in ~omx_vdec()
938 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
943 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
978 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_EXT_CTRLS, &controls); in set_dpb()
1061 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_S_CTRL, &control); in enable_downscalar()
1109 rc = ioctl(drv_ctx.video_driver_fd, VIDIOC_G_FMT, &fmt); in decide_downscalar()
[all …]
Domx_vdec_hevc.cpp145 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
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()
1241 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
1244 device_name, drv_ctx.video_driver_fd, errno); in component_init()
1246 if (drv_ctx.video_driver_fd == 0) { in component_init()
1247 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
[all …]
Domx_vdec_hevc_swvdec.cpp134 pfd.fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
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()
812 unsubscribe_to_events(drv_ctx.video_driver_fd); in ~omx_vdec()
813 close(drv_ctx.video_driver_fd); in ~omx_vdec()
846 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
851 rc = ioctl(obj->drv_ctx.video_driver_fd,VIDIOC_REQBUFS, &bufreq); in release_buffers()
1763 drv_ctx.video_driver_fd = open(device_name, O_RDWR); in component_init()
[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()
548 drv_ctx.video_driver_fd = -1; in omx_vdec()
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()
986 if (ioctl (pThis->drv_ctx.video_driver_fd, in process_event_cb()
1232 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1235 drv_ctx.video_driver_fd, errno); in component_init()
1237 if(drv_ctx.video_driver_fd == 0){ in component_init()
1238 drv_ctx.video_driver_fd = open(device_name, O_RDWR | O_NONBLOCK); in component_init()
1241 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 …]

12