/hardware/qcom/media/msm8974/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/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device.cpp | 182 … 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 …]
|
D | video_encoder_device_v4l2.cpp | 334 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/ |
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 …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 275 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/ |
D | video_encoder_device_v4l2_params.cpp | 598 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 …]
|
D | video_encoder_device_v4l2.cpp | 266 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/ |
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/msm8996/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device.h | 86 OMX_U32 m_nDriver_fd; variable
|
D | video_encoder_device_v4l2.h | 408 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 309 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 360 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 392 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 441 OMX_U32 m_nDriver_fd; variable
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/inc/ |
D | video_encoder_device_v4l2.h | 390 OMX_U32 m_nDriver_fd; variable
|