Lines Matching refs:bufDef
225 mm_camera_buf_def_t &bufDef, uint32_t index) in getBufDef() argument
234 bufDef.fd = mMemInfo[index].fd; in getBufDef()
235 bufDef.frame_len = mMemInfo[index].size; in getBufDef()
236 bufDef.mem_info = (void *)this; in getBufDef()
237 bufDef.buffer = getPtrLocked(index); in getBufDef()
238 bufDef.planes_buf.num_planes = (int8_t)offset.num_planes; in getBufDef()
239 bufDef.buf_idx = (uint8_t)index; in getBufDef()
242 bufDef.planes_buf.planes[0].length = offset.mp[0].len; in getBufDef()
243 bufDef.planes_buf.planes[0].m.userptr = (long unsigned int)mMemInfo[index].fd; in getBufDef()
244 bufDef.planes_buf.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
245 bufDef.planes_buf.planes[0].reserved[0] = 0; in getBufDef()
246 for (int i = 1; i < bufDef.planes_buf.num_planes; i++) { in getBufDef()
247 bufDef.planes_buf.planes[i].length = offset.mp[i].len; in getBufDef()
248 bufDef.planes_buf.planes[i].m.userptr = (long unsigned int)mMemInfo[i].fd; in getBufDef()
249 bufDef.planes_buf.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
250 bufDef.planes_buf.planes[i].reserved[0] = in getBufDef()
251 bufDef.planes_buf.planes[i-1].reserved[0] + in getBufDef()
252 bufDef.planes_buf.planes[i-1].length; in getBufDef()