• Home
  • Raw
  • Download

Lines Matching refs:node

115 int cam_int_s_fmt(node_info_t *node)  in cam_int_s_fmt()  argument
123 v4l2_fmt.type = node->type; in cam_int_s_fmt()
124 framesize = (node->width * node->height * get_pixel_depth(node->format)) / 8; in cam_int_s_fmt()
126 if (node->planes >= 1) { in cam_int_s_fmt()
127 v4l2_fmt.fmt.pix_mp.width = node->width; in cam_int_s_fmt()
128 v4l2_fmt.fmt.pix_mp.height = node->height; in cam_int_s_fmt()
129 v4l2_fmt.fmt.pix_mp.pixelformat = node->format; in cam_int_s_fmt()
136 ret = exynos_v4l2_s_fmt(node->fd, &v4l2_fmt); in cam_int_s_fmt()
145 int cam_int_reqbufs(node_info_t *node) in cam_int_reqbufs() argument
150 req.count = node->buffers; in cam_int_reqbufs()
151 req.type = node->type; in cam_int_reqbufs()
152 req.memory = node->memory; in cam_int_reqbufs()
154 ret = exynos_v4l2_reqbufs(node->fd, &req); in cam_int_reqbufs()
157 ALOGE("%s: VIDIOC_REQBUFS (fd:%d) failed (%d)",__FUNCTION__,node->fd, ret); in cam_int_reqbufs()
162 int cam_int_qbuf(node_info_t *node, int index) in cam_int_qbuf() argument
170 v4l2_buf.type = node->type; in cam_int_qbuf()
171 v4l2_buf.memory = node->memory; in cam_int_qbuf()
173 v4l2_buf.length = node->planes; in cam_int_qbuf()
175 for(i = 0; i < node->planes; i++){ in cam_int_qbuf()
176 v4l2_buf.m.planes[i].m.fd = (int)(node->buffer[index].fd.extFd[i]); in cam_int_qbuf()
177 v4l2_buf.m.planes[i].length = (unsigned long)(node->buffer[index].size.extS[i]); in cam_int_qbuf()
180 ret = exynos_v4l2_qbuf(node->fd, &v4l2_buf); in cam_int_qbuf()
188 int cam_int_streamon(node_info_t *node) in cam_int_streamon() argument
190 enum v4l2_buf_type type = node->type; in cam_int_streamon()
194 ret = exynos_v4l2_streamon(node->fd, type); in cam_int_streamon()
197 ALOGE("%s: VIDIOC_STREAMON failed [%d] (%d)",__FUNCTION__, node->fd,ret); in cam_int_streamon()
199 ALOGV("On streaming I/O... ... fd(%d)", node->fd); in cam_int_streamon()
204 int cam_int_streamoff(node_info_t *node) in cam_int_streamoff() argument
210 ALOGV("Off streaming I/O... fd(%d)", node->fd); in cam_int_streamoff()
211 ret = exynos_v4l2_streamoff(node->fd, type); in cam_int_streamoff()
219 int isp_int_streamoff(node_info_t *node) in isp_int_streamoff() argument
224 ALOGV("Off streaming I/O... fd(%d)", node->fd); in isp_int_streamoff()
225 ret = exynos_v4l2_streamoff(node->fd, type); in isp_int_streamoff()
233 int cam_int_dqbuf(node_info_t *node) in cam_int_dqbuf() argument
239 v4l2_buf.type = node->type; in cam_int_dqbuf()
240 v4l2_buf.memory = node->memory; in cam_int_dqbuf()
242 v4l2_buf.length = node->planes; in cam_int_dqbuf()
244 ret = exynos_v4l2_dqbuf(node->fd, &v4l2_buf); in cam_int_dqbuf()
251 int cam_int_dqbuf(node_info_t *node, int num_plane) in cam_int_dqbuf() argument
257 v4l2_buf.type = node->type; in cam_int_dqbuf()
258 v4l2_buf.memory = node->memory; in cam_int_dqbuf()
262 ret = exynos_v4l2_dqbuf(node->fd, &v4l2_buf); in cam_int_dqbuf()
269 int cam_int_s_input(node_info_t *node, int index) in cam_int_s_input() argument
273 ret = exynos_v4l2_s_input(node->fd, index); in cam_int_s_input()
1414 newParameters.node = &m_camera_info.capture; in StartSCCThread()
1422 initCameraMemory(&m_camera_info.capture.buffer[i], newParameters.node->planes); in StartSCCThread()
1442 cam_int_s_input(newParameters.node, m_camera_info.sensor_id); in StartSCCThread()
1444 cam_int_s_fmt(newParameters.node); in StartSCCThread()
1446 cam_int_reqbufs(newParameters.node); in StartSCCThread()
1449 for (int i = 0; i < newParameters.node->buffers; i++) { in StartSCCThread()
1451 cam_int_qbuf(newParameters.node, i); in StartSCCThread()
1456 if (cam_int_streamon(newParameters.node) < 0) { in StartSCCThread()
1553 node_info_t *currentNode = targetStreamParms->node; in notifyRequestQueueNotEmpty()
1748 newParameters.node = &m_camera_info.scp; in allocateStream()
1749 newParameters.node->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in allocateStream()
1750 newParameters.node->memory = V4L2_MEMORY_DMABUF; in allocateStream()
1849 newParameters.node = &m_camera_info.capture; in allocateStream()
1850 newParameters.node->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in allocateStream()
1851 newParameters.node->memory = V4L2_MEMORY_DMABUF; in allocateStream()
1903 newParameters.node = &m_camera_info.capture; in allocateStream()
1904 newParameters.node->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in allocateStream()
1905 newParameters.node->memory = V4L2_MEMORY_DMABUF; in allocateStream()
2103 currentNode = targetStreamParms->node; in registerStreamBuffers()
2192 cam_int_streamon(targetStreamParms->node); in registerStreamBuffers()
3616 node_info_t *currentNode = selfStreamParms->node; in m_streamBufferInit()
3777 node_info_t *currentNode = selfStreamParms->node; in m_streamFunc_direct()
4051 node_info_t *currentNode = selfStreamParms->node; in m_streamFunc_indirect()
4151 node_info_t *currentNode = selfStreamParms->node; in m_streamThreadFunc()