Lines Matching refs:w
77 int l, int t, int w, int h,
134 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument
170 *stride = w; in gralloc_alloc_rgb()
172 size = w * h; in gralloc_alloc_rgb()
179 bpr = ALIGN(w*bpp, 64); in gralloc_alloc_rgb()
196 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, in gralloc_alloc_rgb()
202 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument
212 *stride = ALIGN(w, 16); in gralloc_alloc_framework_yuv()
216 *stride = w; in gralloc_alloc_framework_yuv()
228 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, h); in gralloc_alloc_framework_yuv()
232 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_yuv() argument
241 *stride = ALIGN(w, 16); in gralloc_alloc_yuv()
256 *stride = ALIGN(w, 32); in gralloc_alloc_yuv()
276 return gralloc_alloc_framework_yuv(ionfd, w, h, format, usage, in gralloc_alloc_yuv()
298 *hnd = new private_handle_t(fd, luma_size, usage, w, h, in gralloc_alloc_yuv()
309 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h, in gralloc_alloc_yuv()
312 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format, in gralloc_alloc_yuv()
336 int w, int h, int format, int usage, in gralloc_alloc() argument
355 err = gralloc_alloc_rgb(m->ionfd, w, h, format, usage, ion_flags, &hnd, in gralloc_alloc()
358 err = gralloc_alloc_yuv(m->ionfd, w, h, format, usage, ion_flags, in gralloc_alloc()