Home
last modified time | relevance | path

Searched refs:dqevent (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp171 struct v4l2_event dqevent; in async_venc_message_thread() local
217 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
218 printf("\n Data Recieved = %d \n",dqevent.u.data[0]); in async_venc_message_thread()
219 if(dqevent.u.data[0] == MSM_VIDC_CLOSE_DONE){ in async_venc_message_thread()
/hardware/qcom/media/msm8996/videopp/src/
Domx_vdpp.cpp115 struct v4l2_event dqevent; in async_message_thread() local
215 memset(&dqevent, 0, sizeof(struct v4l2_event)); in async_message_thread()
216 rc = ioctl(pfd[0].fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
217 if(dqevent.type == VPU_EVENT_HW_ERROR) in async_message_thread()
229 else if (dqevent.type == VPU_EVENT_FLUSH_DONE) { in async_message_thread()
232 memcpy(&buf_type, dqevent.u.data, sizeof(buf_type)); in async_message_thread()
258 else if(dqevent.type == VPU_EVENT_ACTIVE_REGION_CHANGED) in async_message_thread()
266 memcpy(&vdpp_msg.msgdata.ar_result, dqevent.u.data, sizeof(v4l2_rect)); in async_message_thread()
296 struct v4l2_event dqevent; in async_message_thread() local
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp154 struct v4l2_event dqevent; in async_message_thread() local
215 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
216 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
218 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
237 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
239 uint32_t flush_type = *(uint32_t *)dqevent.u.data; in async_message_thread()
261 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_message_thread()
270 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { in async_message_thread()
279 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
288 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { in async_message_thread()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp160 struct v4l2_event dqevent; in async_message_thread() local
228 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
229 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
231 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
242 … } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_BITDEPTH_CHANGED_INSUFFICIENT ) { in async_message_thread()
246 omx->dpb_bit_depth = dqevent.u.data[0]; in async_message_thread()
247 DEBUG_PRINT_HIGH("VIDC Port Reconfig Bitdepth change - %d", dqevent.u.data[0]); in async_message_thread()
252 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
268 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_message_thread()
277 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { in async_message_thread()
[all …]
Domx_vdec_hevc_swvdec.cpp131 struct v4l2_event dqevent; in async_message_thread() local
192 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
193 if(dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
202 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
218 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_message_thread()
221 } else if(dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
230 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { in async_message_thread()
231 unsigned char *tmp = dqevent.u.data; in async_message_thread()
235 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_UNQUEUED_BUFFER) { in async_message_thread()
236 unsigned char *tmp = dqevent.u.data; in async_message_thread()
Domx_vdec_hevc.cpp142 struct v4l2_event dqevent; in async_message_thread() local
201 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
202 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
211 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT ) { in async_message_thread()
220 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
236 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_message_thread()
239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_msm8974.cpp148 struct v4l2_event dqevent; in async_message_thread() local
210 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
211 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
220 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
236 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_message_thread()
239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_message_thread()
248 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { in async_message_thread()
257 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
266 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { in async_message_thread()
267 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
[all …]
Domx_vdec_hevc_swvdec.cpp137 struct v4l2_event dqevent; in async_message_thread() local
197 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
198 if(dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
207 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
223 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_message_thread()
226 } else if(dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
235 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { in async_message_thread()
236 unsigned int *ptr = (unsigned int *)dqevent.u.data; in async_message_thread()
239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_UNQUEUED_BUFFER) { in async_message_thread()
240 unsigned int *ptr = (unsigned int *)dqevent.u.data; in async_message_thread()
Domx_vdec_hevc.cpp146 struct v4l2_event dqevent; in async_message_thread() local
205 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
206 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
215 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT ) { in async_message_thread()
224 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
240 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_message_thread()
243 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp291 struct v4l2_event dqevent; in async_venc_message_thread() local
411 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
413 if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { in async_venc_message_thread()
416 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_venc_message_thread()
432 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_venc_message_thread()
441 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_venc_message_thread()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp218 struct v4l2_event dqevent; in async_message_thread() local
279 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
280 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
282 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
301 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT) { in async_message_thread()
308 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
395 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
397 uint32_t flush_type = *(uint32_t *)dqevent.u.data; in async_message_thread()
419 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_message_thread()
428 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { in async_message_thread()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp262 struct v4l2_event dqevent; in async_venc_message_thread() local
413 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
415 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_venc_message_thread()
431 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_venc_message_thread()
440 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ in async_venc_message_thread()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp175 struct v4l2_event dqevent; in async_message_thread() local
236 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
237 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { in async_message_thread()
239 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; in async_message_thread()
266 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_message_thread()
268 uint32_t flush_type = *(uint32_t *)dqevent.u.data; in async_message_thread()
290 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_message_thread()
299 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { in async_message_thread()
308 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { in async_message_thread()
317 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { in async_message_thread()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp330 struct v4l2_event dqevent; in async_venc_message_thread() local
491 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
493 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_venc_message_thread()
509 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_venc_message_thread()
518 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ in async_venc_message_thread()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp306 struct v4l2_event dqevent; in async_venc_message_thread() local
459 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
461 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_venc_message_thread()
477 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_venc_message_thread()
486 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ in async_venc_message_thread()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp271 struct v4l2_event dqevent; in async_venc_message_thread() local
422 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); in async_venc_message_thread()
424 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { in async_venc_message_thread()
440 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { in async_venc_message_thread()
449 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ in async_venc_message_thread()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp132 struct v4l2_event dqevent; in async_message_thread() local
180 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); in async_message_thread()
181 if(dqevent.u.data[0] == MSM_VIDC_DECODER_EVENT_CHANGE){ in async_message_thread()
185 } else if (dqevent.u.data[0] == MSM_VIDC_DECODER_FLUSH_DONE){ in async_message_thread()