Home
last modified time | relevance | path

Searched refs:m_nDriver_fd (Results 1 – 17 of 17) 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 …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp275 pfds[0].fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
532 if (ioctl(m_nDriver_fd, VIDIOC_QUERYCTRL, &cap)) { in venc_query_cap()
1670 m_nDriver_fd = hypv_open(device_name, O_RDWR); in venc_open()
1672 m_nDriver_fd = open(device_name, O_RDWR); in venc_open()
1675 if ((int)m_nDriver_fd < 0) { in venc_open()
1684 DEBUG_PRINT_LOW("m_nDriver_fd = %u", (unsigned int)m_nDriver_fd); in venc_open()
1738 ret = subscribe_to_events(m_nDriver_fd); in venc_open()
1750 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
1764 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
1773 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2_params.cpp598 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) { in venc_set_param()
610 if (ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq)) { in venc_set_param()
630 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) { in venc_set_param()
680 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) { in venc_set_param()
696 if (ioctl(m_nDriver_fd,VIDIOC_REQBUFS, &bufreq)) { in venc_set_param()
989 if (ioctl(m_nDriver_fd, VIDIOC_G_CTRL, &control)) { in venc_set_param()
1134 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) { in venc_set_param()
1196 if(ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control) < 0) { in venc_set_inband_video_header()
1228 if (ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control)) { in venc_set_extradata()
1249 if(ioctl(m_nDriver_fd, VIDIOC_S_CTRL, &control[i])) { in venc_set_session_qp_range()
[all …]
Dvideo_encoder_device_v4l2.cpp266 pfds[0].fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
530 if (ioctl(m_nDriver_fd, VIDIOC_QUERYCTRL, &cap)) { in venc_query_cap()
1498 m_nDriver_fd = open (device_name, O_RDWR); in venc_open()
1499 if ((int)m_nDriver_fd < 0) { in venc_open()
1508 DEBUG_PRINT_LOW("m_nDriver_fd = %u", (unsigned int)m_nDriver_fd); in venc_open()
1556 ret = subscribe_to_events(m_nDriver_fd); in venc_open()
1568 ret = ioctl(m_nDriver_fd, VIDIOC_QUERYCAP, &cap); in venc_open()
1582 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
1591 while (ioctl(m_nDriver_fd, VIDIOC_ENUM_FMT, &fdesc) == 0) { in venc_open()
1601 ret=ioctl(m_nDriver_fd, VIDIOC_S_CTRL,&control); 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_v4l2.h309 OMX_U32 m_nDriver_fd; variable
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h360 OMX_U32 m_nDriver_fd; variable
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h392 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
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h390 OMX_U32 m_nDriver_fd; variable