Lines Matching refs:bufDef
199 mm_camera_buf_def_t &bufDef, int index) const in getBufDef() argument
205 bufDef.fd = mMemInfo[index].fd; in getBufDef()
206 bufDef.frame_len = offset.frame_len; in getBufDef()
207 bufDef.mem_info = (void *)this; in getBufDef()
208 bufDef.num_planes = offset.num_planes; in getBufDef()
209 bufDef.buffer = getPtr(index); in getBufDef()
210 bufDef.buf_idx = index; in getBufDef()
213 bufDef.planes[0].length = offset.mp[0].len; in getBufDef()
214 bufDef.planes[0].m.userptr = mMemInfo[index].fd; in getBufDef()
215 bufDef.planes[0].data_offset = offset.mp[0].offset; in getBufDef()
216 bufDef.planes[0].reserved[0] = 0; in getBufDef()
217 for (int i = 1; i < bufDef.num_planes; i++) { in getBufDef()
218 bufDef.planes[i].length = offset.mp[i].len; in getBufDef()
219 bufDef.planes[i].m.userptr = mMemInfo[i].fd; in getBufDef()
220 bufDef.planes[i].data_offset = offset.mp[i].offset; in getBufDef()
221 bufDef.planes[i].reserved[0] = in getBufDef()
222 bufDef.planes[i-1].reserved[0] + in getBufDef()
223 bufDef.planes[i-1].length; in getBufDef()