/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
video_encoder_device_copper.cpp | 170 struct v4l2_buffer v4l2_buf ={0}; local 186 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 187 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 188 v4l2_buf.length = 1; 189 v4l2_buf.m.planes = &plane; 190 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); 197 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 198 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; 199 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; 200 venc_msg.buf.ptrbuffer = (OMX_U8 *)omx_venc_base->m_pOutput_pmem[v4l2_buf.index].buffer [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device_v4l2.cpp | 289 struct v4l2_buffer v4l2_buf; local 295 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); 338 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 339 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 340 v4l2_buf.length = omx->handle->num_planes; 341 v4l2_buf.m.planes = plane; 343 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 346 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 347 venc_msg.buf.len= v4l2_buf.m.planes->bytesused [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
omx_vdec_copper.cpp | 131 struct v4l2_buffer v4l2_buf ={0}; local 150 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 151 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 152 v4l2_buf.length = 1; 153 v4l2_buf.m.planes = &plane; 154 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); 162 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 167 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; 168 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 169 v4l2_buf.m.planes = &plane 7398 struct v4l2_buffer v4l2_buf ={0}; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
omx_vdec_hevc.cpp | 144 struct v4l2_buffer v4l2_buf; local 145 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 164 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 165 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 166 v4l2_buf.length = omx->drv_ctx.num_planes; 167 v4l2_buf.m.planes = plane; 168 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 171 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 174 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) 2145 struct v4l2_buffer v4l2_buf; local [all...] |
omx_vdec_hevc_swvdec.cpp | 135 struct v4l2_buffer v4l2_buf; local 136 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 156 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 157 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 158 v4l2_buf.length = omx->drv_ctx.num_planes; 159 v4l2_buf.m.planes = plane; 160 while(!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 163 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 166 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) 2692 struct v4l2_buffer v4l2_buf; local [all...] |
omx_vdec_msm8974.cpp | 143 struct v4l2_buffer v4l2_buf; local 144 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 164 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 165 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 166 v4l2_buf.length = omx->drv_ctx.num_planes; 167 v4l2_buf.m.planes = plane; 168 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 171 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 174 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) 2625 struct v4l2_buffer v4l2_buf; local [all...] |