Searched refs:m_nDriver_fd (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device.cpp | 179 error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread() 209 m_nDriver_fd = open (device_name,O_RDWR|O_NONBLOCK); in venc_open() 210 if(m_nDriver_fd == 0) in venc_open() 213 m_nDriver_fd = open (device_name,O_RDWR|O_NONBLOCK); in venc_open() 216 if((int)m_nDriver_fd < 0) in venc_open() 222 DEBUG_PRINT_LOW("\nm_nDriver_fd = %d\n", m_nDriver_fd); in venc_open() 227 if(ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) in venc_open() 280 if(ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) in venc_open() 294 if(ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_open() 301 if(ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) in venc_open() [all …]
|
D | video_encoder_device_copper.cpp | 173 pfd.fd = omx->handle->m_nDriver_fd; in async_venc_message_thread() 242 m_nDriver_fd = open ("/dev/video33",O_RDWR); in venc_open() 243 if(m_nDriver_fd == 0) in venc_open() 246 m_nDriver_fd = open ("/dev/video33",O_RDWR); in venc_open() 249 if((int)m_nDriver_fd < 0) in venc_open() 255 DEBUG_PRINT_LOW("\nm_nDriver_fd = %d\n", m_nDriver_fd); in venc_open() 319 ret = ioctl(m_nDriver_fd, VIDIOC_SUBSCRIBE_EVENT, &sub); in venc_open() 329 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open() 341 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open() 349 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open() [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 181 … error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread() 314 m_nDriver_fd = open ("/dev/msm_vidc_enc",O_RDWR|O_NONBLOCK); in venc_open() 316 if (m_nDriver_fd == 0) { in venc_open() 318 m_nDriver_fd = open ("/dev/msm_vidc_enc",O_RDWR|O_NONBLOCK); in venc_open() 321 if ((int)m_nDriver_fd < 0) { in venc_open() 326 DEBUG_PRINT_LOW("m_nDriver_fd = %d", m_nDriver_fd); in venc_open() 332 if (ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) { in venc_open() 381 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) { in venc_open() 390 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() 398 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open() [all …]
|
D | video_encoder_device_v4l2.cpp | 248 pfd.fd = omx->handle->m_nDriver_fd; in async_venc_message_thread() 773 m_nDriver_fd = open (device_name, O_RDWR); in venc_open() 775 if (m_nDriver_fd == 0) { in venc_open() 777 m_nDriver_fd = open (device_name, O_RDWR); in venc_open() 780 if ((int)m_nDriver_fd < 0) { in venc_open() 785 DEBUG_PRINT_LOW("m_nDriver_fd = %u", (unsigned int)m_nDriver_fd); in venc_open() 826 ret = subscribe_to_events(m_nDriver_fd); in venc_open() 841 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open() 855 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open() 864 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open() [all …]
|
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/ |
D | video_encoder_device.h | 81 OMX_U32 m_nDriver_fd; variable
|
D | video_encoder_device_copper.h | 197 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device.h | 86 OMX_U32 m_nDriver_fd; variable
|
D | video_encoder_device_v4l2.h | 275 OMX_U32 m_nDriver_fd; variable
|