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