/hardware/intel/img/psb_video/src/ |
D | psb_surface_attrib.c | 134 struct v4l2_buffer *v4l2_buf, /* V4L2 buffer */ 154 if (V4L2_MEMORY_USERPTR == v4l2_buf->memory) { 155 unsigned long tmp = (unsigned long)(v4l2_buf->m.userptr); 173 buf_offset = v4l2_buf->m.offset; 174 size = v4l2_buf->length; 206 if (V4L2_MEMORY_USERPTR == v4l2_buf->memory) 207 user_ptr = (unsigned long *)(v4l2_buf->m.userptr); 210 v4l2_buf->length, 213 v4l2_fd, v4l2_buf->m.offset);
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 170 struct v4l2_buffer v4l2_buf ={0}; in async_venc_message_thread() local 186 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 187 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 188 v4l2_buf.length = 1; in async_venc_message_thread() 189 v4l2_buf.m.planes = &plane; in async_venc_message_thread() 190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_venc_message_thread() 197 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 199 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; in async_venc_message_thread() 200 … venc_msg.buf.ptrbuffer = (OMX_U8 *)omx_venc_base->m_pOutput_pmem[v4l2_buf.index].buffer; in async_venc_message_thread() [all …]
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 114 struct v4l2_buffer v4l2_buf; in async_message_thread() local 122 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 148 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 149 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 150 v4l2_buf.length = omx->drv_ctx.output_num_planes; in async_message_thread() 151 v4l2_buf.m.planes = plane; in async_message_thread() 152 while(!ioctl(pfd[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 156 vdpp_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 165 …vdpp_msg.msgdata.output_frame.len= v4l2_buf.m.planes[0].bytesused + v4l2_buf.m.planes[extra_idx].b… in async_message_thread() 169 vdpp_msg.msgdata.output_frame.len=v4l2_buf.m.planes[0].bytesused; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 313 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 323 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 372 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 373 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 374 v4l2_buf.length = omx->handle->num_output_planes; in async_venc_message_thread() 375 v4l2_buf.m.planes = plane; in async_venc_message_thread() 377 while (!ioctl(pfds[0].fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 380 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 381 int extra_idx = EXTRADATA_IDX(v4l2_buf.length); in async_venc_message_thread() 383 omxhdr->pPlatformPrivate = (void *)v4l2_buf.m.planes[extra_idx].m.userptr; in async_venc_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 289 struct v4l2_buffer v4l2_buf; in async_venc_message_thread() local 295 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); in async_venc_message_thread() 338 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 339 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 340 v4l2_buf.length = omx->handle->num_planes; in async_venc_message_thread() 341 v4l2_buf.m.planes = plane; in async_venc_message_thread() 343 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_venc_message_thread() 346 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 347 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 348 venc_msg.buf.offset = v4l2_buf.m.planes->data_offset; in async_venc_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 146 struct v4l2_buffer v4l2_buf; in async_message_thread() local 147 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 169 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 170 v4l2_buf.m.planes = plane; in async_message_thread() 171 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 174 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 177 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 178 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
D | omx_vdec_hevc.cpp | 144 struct v4l2_buffer v4l2_buf; in async_message_thread() local 145 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 164 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 165 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 166 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 167 v4l2_buf.m.planes = plane; in async_message_thread() 168 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 171 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 174 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 175 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 129 struct v4l2_buffer v4l2_buf; in async_message_thread() local 130 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 151 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 152 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 153 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 154 v4l2_buf.m.planes = plane; in async_message_thread() 155 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 158 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 161 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 162 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
D | omx_vdec_hevc.cpp | 140 struct v4l2_buffer v4l2_buf; in async_message_thread() local 141 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); in async_message_thread() 160 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 161 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 162 v4l2_buf.length = omx->drv_ctx.num_planes; in async_message_thread() 163 v4l2_buf.m.planes = plane; in async_message_thread() 164 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { in async_message_thread() 167 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 170 …vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000… in async_message_thread() 171 (uint64_t)v4l2_buf.timestamp.tv_usec; in async_message_thread() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 131 struct v4l2_buffer v4l2_buf ={0}; in async_message_thread() local 150 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 151 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 152 v4l2_buf.length = 1; in async_message_thread() 153 v4l2_buf.m.planes = &plane; in async_message_thread() 154 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_message_thread() 162 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in async_message_thread() 168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 169 v4l2_buf.m.planes = &plane; in async_message_thread() [all …]
|