Home
last modified time | relevance | path

Searched refs:m_nDriver_fd (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp179 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 …]
Dvideo_encoder_device_copper.cpp173 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/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp182 … error_code = ioctl(omx->handle->m_nDriver_fd,VEN_IOCTL_CMD_READ_NEXT_MSG,(void *)&ioctl_msg); in async_venc_message_thread()
315 m_nDriver_fd = open ("/dev/msm_vidc_enc",O_RDWR|O_NONBLOCK); in venc_open()
317 if (m_nDriver_fd == 0) { in venc_open()
319 m_nDriver_fd = open ("/dev/msm_vidc_enc",O_RDWR|O_NONBLOCK); in venc_open()
322 if ((int)m_nDriver_fd < 0) { in venc_open()
327 DEBUG_PRINT_LOW("m_nDriver_fd = %d", m_nDriver_fd); in venc_open()
333 if (ioctl (m_nDriver_fd, VEN_IOCTL_GET_NUMBER_INSTANCES, (void*)&ioctl_msg) < 0 ) { in venc_open()
382 if (ioctl (m_nDriver_fd,VEN_IOCTL_SET_BASE_CFG,(void*)&ioctl_msg) < 0 ) { in venc_open()
391 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_INPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open()
399 if (ioctl (m_nDriver_fd,VEN_IOCTL_GET_OUTPUT_BUFFER_REQ,(void*)&ioctl_msg) < 0) { in venc_open()
[all …]
Dvideo_encoder_device_v4l2.cpp334 pfds[0].fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
630 if (ioctl(m_nDriver_fd, VIDIOC_G_CTRL, &control) < 0) { in handle_input_extradata()
1109 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
1110 if ((int)m_nDriver_fd < 0) { in venc_open()
1119 DEBUG_PRINT_LOW("m_nDriver_fd = %u", (unsigned int)m_nDriver_fd); in venc_open()
1168 ret = subscribe_to_events(m_nDriver_fd); in venc_open()
1180 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
1194 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
1203 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
1243 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt); in venc_open()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp181 … 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 …]
Dvideo_encoder_device_v4l2.cpp293 pfd.fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
853 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
855 if (m_nDriver_fd == 0) { in venc_open()
857 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
860 if ((int)m_nDriver_fd < 0) { in venc_open()
865 DEBUG_PRINT_LOW("m_nDriver_fd = %u", (unsigned int)m_nDriver_fd); in venc_open()
912 ret = subscribe_to_events(m_nDriver_fd); in venc_open()
927 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
941 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
950 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device.h81 OMX_U32 m_nDriver_fd; variable
Dvideo_encoder_device_copper.h197 OMX_U32 m_nDriver_fd; variable
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h86 OMX_U32 m_nDriver_fd; variable
Dvideo_encoder_device_v4l2.h408 OMX_U32 m_nDriver_fd; variable
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device.h86 OMX_U32 m_nDriver_fd; variable
Dvideo_encoder_device_v4l2.h309 OMX_U32 m_nDriver_fd; variable
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h441 OMX_U32 m_nDriver_fd; variable