Searched refs:v4l2_buf (Results 1 – 5 of 5) sorted by relevance
/hardware/samsung_slsi/exynos5/libcamera/ |
D | ExynosCamera.cpp | 1323 struct v4l2_buffer v4l2_buf; in getPreviewBuf() local 1326 v4l2_buf.m.planes = planes; in getPreviewBuf() 1327 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in getPreviewBuf() 1328 v4l2_buf.memory = V4L2_MEMORY_DMABUF; in getPreviewBuf() 1329 v4l2_buf.length = 0; in getPreviewBuf() 1333 v4l2_buf.length++; in getPreviewBuf() 1336 if (exynos_v4l2_dqbuf(m_previewDev->fd, &v4l2_buf) < 0) { in getPreviewBuf() 1341 if (VIDEO_MAX_FRAME <= v4l2_buf.index) { in getPreviewBuf() 1342 ALOGE("ERR(%s):wrong index = %d", __func__, v4l2_buf.index); in getPreviewBuf() 1346 *buf = m_previewBuf[v4l2_buf.index]; in getPreviewBuf() [all …]
|
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
D | ExynosJpegBase.cpp | 199 struct v4l2_buffer v4l2_buf; in t_v4l2Qbuf() local 204 memset(&v4l2_buf, 0, sizeof(struct v4l2_buffer)); in t_v4l2Qbuf() 207 v4l2_buf.index = 0; in t_v4l2Qbuf() 208 v4l2_buf.type = pstBufInfo->buf_type; in t_v4l2Qbuf() 209 v4l2_buf.memory = pstBufInfo->memory; in t_v4l2Qbuf() 210 v4l2_buf.field = V4L2_FIELD_ANY; in t_v4l2Qbuf() 211 v4l2_buf.length = pstBufInfo->numOfPlanes; in t_v4l2Qbuf() 212 v4l2_buf.m.planes = plane; in t_v4l2Qbuf() 216 v4l2_buf.m.planes[i].m.fd = (unsigned long)pstBuf->addr[i]; in t_v4l2Qbuf() 217 v4l2_buf.m.planes[i].length = pstBuf->size[i]; in t_v4l2Qbuf() [all …]
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | ExynosCameraHWInterface2.cpp | 163 struct v4l2_buffer v4l2_buf; in cam_int_qbuf() local 168 v4l2_buf.m.planes = planes; in cam_int_qbuf() 169 v4l2_buf.type = node->type; in cam_int_qbuf() 170 v4l2_buf.memory = node->memory; in cam_int_qbuf() 171 v4l2_buf.index = index; in cam_int_qbuf() 172 v4l2_buf.length = node->planes; in cam_int_qbuf() 175 v4l2_buf.m.planes[i].m.fd = (int)(node->buffer[index].fd.extFd[i]); in cam_int_qbuf() 176 v4l2_buf.m.planes[i].length = (unsigned long)(node->buffer[index].size.extS[i]); in cam_int_qbuf() 179 ret = exynos_v4l2_qbuf(node->fd, &v4l2_buf); in cam_int_qbuf() 234 struct v4l2_buffer v4l2_buf; in cam_int_dqbuf() local [all …]
|
/hardware/qcom/media/mm-video/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 171 struct v4l2_buffer v4l2_buf ={0}; in async_venc_message_thread() local 187 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_venc_message_thread() 188 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_venc_message_thread() 189 v4l2_buf.length = 1; in async_venc_message_thread() 190 v4l2_buf.m.planes = &plane; in async_venc_message_thread() 191 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_venc_message_thread() 198 omxhdr=omx_venc_base->m_out_mem_ptr+v4l2_buf.index; in async_venc_message_thread() 199 venc_msg.buf.len= v4l2_buf.m.planes->bytesused; in async_venc_message_thread() 200 venc_msg.buf.offset = v4l2_buf.m.planes->reserved[1]; in async_venc_message_thread() 201 … 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/mm-video/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 135 struct v4l2_buffer v4l2_buf ={0}; in async_message_thread() local 154 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in async_message_thread() 155 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 156 v4l2_buf.length = 1; in async_message_thread() 157 v4l2_buf.m.planes = &plane; in async_message_thread() 158 rc = ioctl(pfd.fd, VIDIOC_DQBUF, &v4l2_buf); in async_message_thread() 166 vdec_msg.msgdata.output_frame.client_data=(void*)&v4l2_buf; in async_message_thread() 171 v4l2_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in async_message_thread() 172 v4l2_buf.memory = V4L2_MEMORY_USERPTR; in async_message_thread() 173 v4l2_buf.m.planes = &plane; in async_message_thread() [all …]
|