Lines Matching refs:bufDef
219 mm_camera_buf_def_t &bufDef, int index) in getBufDef() argument
228 bufDef.fd = mMemInfo[index].fd; in getBufDef()
229 bufDef.frame_len = mMemInfo[index].size; in getBufDef()
230 bufDef.mem_info = (void *)this; in getBufDef()
231 bufDef.num_planes = offset.num_planes; in getBufDef()
232 bufDef.buffer = getPtrLocked(index); in getBufDef()
233 bufDef.buf_idx = index; in getBufDef()
236 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
237 bufDef.planes[0].m.userptr = mMemInfo[index].fd; in getBufDef()
238 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
239 bufDef.planes[0].reserved[0] = 0; in getBufDef()
240 for (int i = 1; i < bufDef.num_planes; i++) { in getBufDef()
241 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
242 bufDef.planes[i].m.userptr = mMemInfo[i].fd; in getBufDef()
243 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
244 bufDef.planes[i].reserved[0] = in getBufDef()
245 bufDef.planes[i-1].reserved[0] + in getBufDef()
246 bufDef.planes[i-1].length; in getBufDef()