Searched refs:v4l2_buf (Results 1 - 8 of 8) sorted by relevance
/hardware/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosCamera.cpp | 1323 struct v4l2_buffer v4l2_buf; local 1326 v4l2_buf.m.planes = planes; 1327 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 1328 v4l2_buf.memory = V4L2_MEMORY_DMABUF; 1329 v4l2_buf.length = 0; 1333 v4l2_buf.length++; 1336 if (exynos_v4l2_dqbuf(m_previewDev->fd, &v4l2_buf) < 0) { 1341 if (VIDEO_MAX_FRAME <= v4l2_buf.index) { 1342 ALOGE("ERR(%s):wrong index = %d", __func__, v4l2_buf.index); 1346 *buf = m_previewBuf[v4l2_buf 1363 struct v4l2_buffer v4l2_buf; local 1527 struct v4l2_buffer v4l2_buf; local 1578 struct v4l2_buffer v4l2_buf; local 1710 struct v4l2_buffer v4l2_buf; local 1755 struct v4l2_buffer v4l2_buf; local 3469 struct v4l2_buffer v4l2_buf; local [all...] |
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
H A D | ExynosJpegBase.cpp | 199 struct v4l2_buffer v4l2_buf; local 204 memset(&v4l2_buf, 0, sizeof(struct v4l2_buffer)); 207 v4l2_buf.index = 0; 208 v4l2_buf.type = pstBufInfo->buf_type; 209 v4l2_buf.memory = pstBufInfo->memory; 210 v4l2_buf.field = V4L2_FIELD_ANY; 211 v4l2_buf.length = pstBufInfo->numOfPlanes; 212 v4l2_buf.m.planes = plane; 216 v4l2_buf.m.planes[i].m.fd = (unsigned long)pstBuf->addr[i]; 217 v4l2_buf [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosCameraHWInterface2.cpp | 163 struct v4l2_buffer v4l2_buf; local 168 v4l2_buf.m.planes = planes; 169 v4l2_buf.type = node->type; 170 v4l2_buf.memory = node->memory; 171 v4l2_buf.index = index; 172 v4l2_buf.length = node->planes; 175 v4l2_buf.m.planes[i].m.fd = (int)(node->buffer[index].fd.extFd[i]); 176 v4l2_buf.m.planes[i].length = (unsigned long)(node->buffer[index].size.extS[i]); 179 ret = exynos_v4l2_qbuf(node->fd, &v4l2_buf); 234 struct v4l2_buffer v4l2_buf; local 252 struct v4l2_buffer v4l2_buf; local 1554 struct v4l2_buffer v4l2_buf; local 2024 struct v4l2_buffer v4l2_buf; local 4004 struct v4l2_buffer v4l2_buf; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 226 struct v4l2_buffer v4l2_buf; local 232 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); 275 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 276 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 277 v4l2_buf.length = omx->handle->num_planes; 278 v4l2_buf.m.planes = plane; 280 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 283 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 284 venc_msg.buf.len= v4l2_buf [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/ |
H A D | video_encoder_device_copper.cpp | 172 struct v4l2_buffer v4l2_buf ={0}; local 188 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 189 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 190 v4l2_buf.length = 1; 191 v4l2_buf.m.planes = &plane; 192 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); 199 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 200 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; 201 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; 202 venc_msg.buf.ptrbuffer = (OMX_U8 *)omx_venc_base->m_pOutput_pmem[v4l2_buf [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
H A D | omx_vdec_hevc.cpp | 137 struct v4l2_buffer v4l2_buf; local 138 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 157 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 158 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 159 v4l2_buf.length = omx->drv_ctx.num_planes; 160 v4l2_buf.m.planes = plane; 161 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 164 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 167 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf 2133 struct v4l2_buffer v4l2_buf; local [all...] |
H A D | omx_vdec_msm8974.cpp | 136 struct v4l2_buffer v4l2_buf; local 137 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 2288 struct v4l2_buffer v4l2_buf; local [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
H A D | 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 7398 struct v4l2_buffer v4l2_buf ={0}; local [all...] |
Completed in 207 milliseconds