/hardware/samsung_slsi/exynos5/libcamera/ |
ExynosCamera.cpp | 1323 struct v4l2_buffer v4l2_buf; local 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/ |
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.m.planes[i].length = pstBuf->size[i] [all...] |
/hardware/samsung_slsi/exynos5/libcamera2/ |
ExynosCameraHWInterface2.cpp | 164 struct v4l2_buffer v4l2_buf; local 169 v4l2_buf.m.planes = planes; 170 v4l2_buf.type = node->type; 171 v4l2_buf.memory = node->memory; 172 v4l2_buf.index = index; 173 v4l2_buf.length = node->planes; 176 v4l2_buf.m.planes[i].m.fd = (int)(node->buffer[index].fd.extFd[i]); 177 v4l2_buf.m.planes[i].length = (unsigned long)(node->buffer[index].size.extS[i]); 180 ret = exynos_v4l2_qbuf(node->fd, &v4l2_buf); 235 struct v4l2_buffer v4l2_buf; local 253 struct v4l2_buffer v4l2_buf; local 1564 struct v4l2_buffer v4l2_buf; local 2034 struct v4l2_buffer v4l2_buf; local 4031 struct v4l2_buffer v4l2_buf; local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.c | 138 struct v4l2_buffer *v4l2_buf, /* V4L2 buffer */ 158 if (V4L2_MEMORY_USERPTR == v4l2_buf->memory) { 159 unsigned long tmp = (unsigned long)(v4l2_buf->m.userptr); 177 buf_offset = v4l2_buf->m.offset; 178 size = v4l2_buf->length; 210 if (V4L2_MEMORY_USERPTR == v4l2_buf->memory) 211 user_ptr = (unsigned long *)(v4l2_buf->m.userptr); 214 v4l2_buf->length, 217 v4l2_fd, v4l2_buf->m.offset);
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
video_encoder_device_v4l2.cpp | 245 struct v4l2_buffer v4l2_buf; local 251 memset(&v4l2_buf, 0, sizeof(v4l2_buf)); 294 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 295 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 296 v4l2_buf.length = omx->handle->num_planes; 297 v4l2_buf.m.planes = plane; 299 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 302 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; 303 venc_msg.buf.len= v4l2_buf.m.planes->bytesused [all...] |
/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/vdec/src/ |
omx_vdec_hevc.cpp | 146 struct v4l2_buffer v4l2_buf; local 147 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 166 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 167 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 168 v4l2_buf.length = omx->drv_ctx.num_planes; 169 v4l2_buf.m.planes = plane; 170 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 173 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 176 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) 2147 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 | 141 struct v4l2_buffer v4l2_buf; local 142 memset((void *)&v4l2_buf,0,sizeof(v4l2_buf)); 162 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 163 v4l2_buf.memory = V4L2_MEMORY_USERPTR; 164 v4l2_buf.length = omx->drv_ctx.num_planes; 165 v4l2_buf.m.planes = plane; 166 while (!ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf)) { 169 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; 172 vdec_msg.msgdata.output_frame.time_stamp= ((uint64_t)v4l2_buf.timestamp.tv_sec * (uint64_t)1000000) 2454 struct v4l2_buffer v4l2_buf; local [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...] |