• Home
  • Raw
  • Download

Lines Matching refs:bufDef

274         mm_camera_buf_def_t &bufDef, uint32_t index) const  in getBufDef()  argument
280 bufDef.fd = mMemInfo[index].fd; in getBufDef()
281 bufDef.frame_len = mMemInfo[index].size; in getBufDef()
282 bufDef.buf_type = CAM_STREAM_BUF_TYPE_MPLANE; in getBufDef()
283 bufDef.mem_info = (void *)this; in getBufDef()
284 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
285 bufDef.buffer = getPtr(index); in getBufDef()
286 bufDef.buf_idx = index; in getBufDef()
289 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
290 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
291 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
292 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
293 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
294 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
295 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
296 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
297 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
298 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef()
299 bufDef.planes_buf.planes[i-1].length; in getBufDef()
322 mm_camera_buf_def_t &bufDef, in getUserBufDef() argument
337 bufDef.fd = mMemInfo[count].fd; in getUserBufDef()
338 bufDef.buf_type = CAM_STREAM_BUF_TYPE_USERPTR; in getUserBufDef()
339 bufDef.frame_len = buf_info.size; in getUserBufDef()
340 bufDef.mem_info = (void *)this; in getUserBufDef()
341 bufDef.buffer = (void *)((uint8_t *)getPtr(count) in getUserBufDef()
343 bufDef.buf_idx = index; in getUserBufDef()
344 bufDef.user_buf.num_buffers = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
345 bufDef.user_buf.bufs_used = (int8_t)buf_info.frame_buf_cnt; in getUserBufDef()
348 cont_buf = (struct msm_camera_user_buf_cont_t *)bufDef.buffer; in getUserBufDef()
349 cont_buf->buf_cnt = bufDef.user_buf.num_buffers; in getUserBufDef()
351 for (int i = 0; i < bufDef.user_buf.num_buffers; i++) { in getUserBufDef()
353 bufDef.user_buf.buf_idx[i] = -1; in getUserBufDef()
357 bufDef.user_buf.plane_buf = planeBufDef; in getUserBufDef()
360 bufDef.user_buf.num_buffers, index, plane_idx); in getUserBufDef()