Home
last modified time | relevance | path

Searched refs:pfds (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp328 struct pollfd pfds[2]; in async_venc_message_thread() local
332 pfds[0].events = POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLRDBAND | POLLPRI; in async_venc_message_thread()
333 pfds[1].events = POLLIN | POLLERR; in async_venc_message_thread()
334 pfds[0].fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
335 pfds[1].fd = omx->handle->m_poll_efd; in async_venc_message_thread()
371 rc = poll(pfds, 2, POLL_TIMEOUT); in async_venc_message_thread()
382 if ((pfds[1].revents & POLLIN) || (pfds[1].revents & POLLERR)) { in async_venc_message_thread()
387 if ((pfds[0].revents & POLLIN) || (pfds[0].revents & POLLRDNORM)) { in async_venc_message_thread()
393 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread()
442 if ((pfds[0].revents & POLLOUT) || (pfds[0].revents & POLLWRNORM)) { in async_venc_message_thread()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp301 struct pollfd pfds[2]; in async_venc_message_thread() local
305 pfds[0].events = POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLRDBAND | POLLPRI; in async_venc_message_thread()
306 pfds[1].events = POLLIN | POLLERR; in async_venc_message_thread()
307 pfds[0].fd = omx->handle->m_nDriver_fd; in async_venc_message_thread()
308 pfds[1].fd = omx->handle->m_poll_efd; in async_venc_message_thread()
344 rc = poll(pfds, 2, POLL_TIMEOUT); in async_venc_message_thread()
355 if ((pfds[1].revents & POLLIN) || (pfds[1].revents & POLLERR)) { in async_venc_message_thread()
360 if ((pfds[0].revents & POLLIN) || (pfds[0].revents & POLLRDNORM)) { in async_venc_message_thread()
366 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread()
415 if ((pfds[0].revents & POLLOUT) || (pfds[0].revents & POLLWRNORM)) { in async_venc_message_thread()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp156 struct pollfd pfds[2]; in async_message_thread() local
161 pfds[0].events = POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLRDBAND | POLLPRI; in async_message_thread()
162 pfds[1].events = POLLIN | POLLERR; in async_message_thread()
163 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
164 pfds[1].fd = omx->m_poll_efd; in async_message_thread()
169 rc = poll(pfds, 2, POLL_TIMEOUT); in async_message_thread()
177 if ((pfds[1].revents & POLLIN) || (pfds[1].revents & POLLERR)) { in async_message_thread()
181 if ((pfds[0].revents & POLLIN) || (pfds[0].revents & POLLRDNORM)) { in async_message_thread()
188 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
210 if ((pfds[0].revents & POLLOUT) || (pfds[0].revents & POLLWRNORM)) { in async_message_thread()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp172 struct pollfd pfds[2]; in async_message_thread() local
177 pfds[0].events = POLLIN | POLLRDNORM | POLLOUT | POLLWRNORM | POLLRDBAND | POLLPRI; in async_message_thread()
178 pfds[1].events = POLLIN | POLLERR; in async_message_thread()
179 pfds[0].fd = omx->drv_ctx.video_driver_fd; in async_message_thread()
180 pfds[1].fd = omx->m_poll_efd; in async_message_thread()
185 rc = poll(pfds, 2, POLL_TIMEOUT); in async_message_thread()
193 if ((pfds[1].revents & POLLIN) || (pfds[1].revents & POLLERR)) { in async_message_thread()
197 if ((pfds[0].revents & POLLIN) || (pfds[0].revents & POLLRDNORM)) { in async_message_thread()
204 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread()
219 if ((pfds[0].revents & POLLOUT) || (pfds[0].revents & POLLWRNORM)) { in async_message_thread()
[all …]