Searched refs:v4l2_buf (Results 1 - 10 of 10) sorted by relevance

/hardware/samsung_slsi/exynos5/libcamera/
H A DExynosCamera.cpp1323 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 DExynosJpegBase.cpp199 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 DExynosCameraHWInterface2.cpp164 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/
H A Dpsb_surface_attrib.c138 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/
H A Dvideo_encoder_device_v4l2.cpp245 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
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Dvideo_encoder_device_copper.cpp170 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
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp146 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
2147 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_hevc_swvdec.cpp135 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
2692 struct v4l2_buffer v4l2_buf; local
[all...]
H A Domx_vdec_msm8974.cpp141 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
2454 struct v4l2_buffer v4l2_buf; local
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
H A Domx_vdec_copper.cpp131 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 268 milliseconds