/hardware/qcom/media/mm-video-legacy/vidc/venc/test/ |
D | video_encoder_test.c | 95 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/ |
D | decoder_driver_test.c | 96 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/ |
D | decoder_driver_test.c | 96 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/ |
D | decoder_driver_test.h | 50 int video_driver_fd; member
|
D | omx_vdec_hevc.h | 225 int video_driver_fd; member
|
D | omx_vdec.h | 254 int video_driver_fd; member
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/ |
D | video_encoder_test.h | 57 int video_driver_fd; member
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
D | decoder_driver_test.h | 51 int video_driver_fd; member
|
D | omx_vdec.h | 229 int video_driver_fd; member
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_test.h | 56 int video_driver_fd; member
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec.cpp | 173 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 …]
|
D | omx_vdec_copper.cpp | 135 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/ |
D | omx_vdec_msm8974.cpp | 146 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 …]
|
D | omx_vdec.cpp | 177 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 …]
|
D | omx_vdec_hevc.cpp | 151 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 …]
|
D | omx_vdec_hevc_swvdec.cpp | 140 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 …]
|