/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
video_encoder_device_copper.cpp | 171 struct v4l2_event dqevent; local 217 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 218 printf("\n Data Recieved = %d \n",dqevent.u.data[0]); 219 if(dqevent.u.data[0] == MSM_VIDC_CLOSE_DONE){ [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_v4l2.cpp | 160 struct v4l2_event dqevent; local 228 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); 229 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 231 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; 242 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_BITDEPTH_CHANGED_INSUFFICIENT ) { 246 omx->dpb_bit_depth = dqevent.u.data[0]; 247 DEBUG_PRINT_HIGH("VIDC Port Reconfig Bitdepth change - %d", dqevent.u.data[0]); 252 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 268 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 277 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) [all...] |
omx_vdec_hevc.cpp | 142 struct v4l2_event dqevent; local 201 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 202 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 211 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT ) { 220 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 236 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { [all...] |
omx_vdec_hevc_swvdec.cpp | 131 struct v4l2_event dqevent; local 192 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 193 if(dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 202 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 218 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 221 } else if(dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { 230 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { 231 unsigned char *tmp = dqevent.u.data; 235 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_UNQUEUED_BUFFER) { 236 unsigned char *tmp = dqevent.u.data [all...] |
/hardware/qcom/media/msm8996/videopp/src/ |
omx_vdpp.cpp | 115 struct v4l2_event dqevent; local 215 memset(&dqevent, 0, sizeof(struct v4l2_event)); 216 rc = ioctl(pfd[0].fd, VIDIOC_DQEVENT, &dqevent); 217 if(dqevent.type == VPU_EVENT_HW_ERROR) 229 else if (dqevent.type == VPU_EVENT_FLUSH_DONE) { 232 memcpy(&buf_type, dqevent.u.data, sizeof(buf_type)); 258 else if(dqevent.type == VPU_EVENT_ACTIVE_REGION_CHANGED) 266 memcpy(&vdpp_msg.msgdata.ar_result, dqevent.u.data, sizeof(v4l2_rect)); 296 struct v4l2_event dqevent; local [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device_v4l2.cpp | 291 struct v4l2_event dqevent; local 411 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 413 if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 416 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 432 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 441 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_v4l2.cpp | 175 struct v4l2_event dqevent; local 236 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); 237 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 239 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data; 266 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 268 uint32_t flush_type = *(uint32_t *)dqevent.u.data; 290 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 299 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { 308 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { 317 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_msm8974.cpp | 148 struct v4l2_event dqevent; local 210 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 211 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 220 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 236 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 248 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_UNSUPPORTED) { 257 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { 266 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { 267 unsigned int *ptr = (unsigned int *)(void *)dqevent.u.data [all...] |
omx_vdec_hevc.cpp | 146 struct v4l2_event dqevent; local 205 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 206 if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 215 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_SUFFICIENT ) { 224 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 240 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 243 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { [all...] |
omx_vdec_hevc_swvdec.cpp | 137 struct v4l2_event dqevent; local 197 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 198 if(dqevent.type == V4L2_EVENT_MSM_VIDC_PORT_SETTINGS_CHANGED_INSUFFICIENT ) { 207 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 223 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_CLOSE_DONE) { 226 } else if(dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR) { 235 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_BUFFER_REFERENCE) { 236 unsigned int *ptr = (unsigned int *)dqevent.u.data; 239 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_RELEASE_UNQUEUED_BUFFER) { 240 unsigned int *ptr = (unsigned int *)dqevent.u.data [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device_v4l2.cpp | 330 struct v4l2_event dqevent; local 491 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); 493 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 509 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 518 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ [all...] |
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device_v4l2.cpp | 306 struct v4l2_event dqevent; local 459 rc = ioctl(pfds[0].fd, VIDIOC_DQEVENT, &dqevent); 461 if (dqevent.type == V4L2_EVENT_MSM_VIDC_FLUSH_DONE) { 477 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_HW_OVERLOAD) { 486 } else if (dqevent.type == V4L2_EVENT_MSM_VIDC_SYS_ERROR){ [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
omx_vdec_copper.cpp | 132 struct v4l2_event dqevent; local 180 rc = ioctl(pfd.fd, VIDIOC_DQEVENT, &dqevent); 181 if(dqevent.u.data[0] == MSM_VIDC_DECODER_EVENT_CHANGE){ 185 } else if (dqevent.u.data[0] == MSM_VIDC_DECODER_FLUSH_DONE){ [all...] |