Searched refs:ALIGN (Results 1 - 25 of 264) sorted by relevance

1234567891011

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex_layout.c133 mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
145 mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) +
146 ALIGN(minify(mt->physical_width0, 2), mt->align_w);
148 mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) +
165 img_height = ALIGN(height, mt->align_h);
177 x += ALIGN(width, mt->align_w);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_tex_layout.c133 mt->total_width = ALIGN(mt->physical_width0, mt->align_w);
145 mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) +
146 ALIGN(minify(mt->physical_width0, 2), mt->align_w);
148 mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) +
165 img_height = ALIGN(height, mt->align_h);
177 x += ALIGN(width, mt->align_w);
/xsrc/external/mit/libdrm/dist/
H A Dutil_math.h32 #undef ALIGN
33 #define ALIGN(value, alignment) __align_mask(value, (__typeof__(value))((alignment) - 1)) macro
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Dintel_memory.c100 return ALIGN(size, 4096);
132 return ALIGN(pitch, tile_width);
204 pitch = ALIGN(pitch, 64);
205 size = pitch * ALIGN (h, 2);
245 aligned_h = ALIGN(h, tile_height);
248 ALIGN(pitch, 512),
267 *stride = ALIGN(pitch, 256);
272 size = *stride * ALIGN(h, 2);
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Dintel_memory.c100 return ALIGN(size, 4096);
132 return ALIGN(pitch, tile_width);
204 pitch = ALIGN(pitch, 64);
205 size = pitch * ALIGN (h, 2);
245 aligned_h = ALIGN(h, tile_height);
248 ALIGN(pitch, 512),
267 *stride = ALIGN(pitch, 256);
272 size = *stride * ALIGN(h, 2);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dstreaming-load-memcpy.c57 d = (char *)ALIGN((uintptr_t)d, 16);
58 s = (char *)ALIGN((uintptr_t)s, 16);
/xsrc/external/mit/MesaLib.old/dist/src/intel/tools/
H A Dgen_context.h75 #define NUM_PT_ENTRIES (ALIGN(MEMORY_MAP_SIZE, 4096) / 4096)
76 #define PT_SIZE ALIGN(NUM_PT_ENTRIES * GEN8_PTE_SIZE, 4096)
/xsrc/external/mit/MesaLib/dist/src/intel/tools/
H A Dintel_context.h75 #define NUM_PT_ENTRIES (ALIGN(MEMORY_MAP_SIZE, 4096) / 4096)
76 #define PT_SIZE ALIGN(NUM_PT_ENTRIES * GFX8_PTE_SIZE, 4096)
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dstreaming-load-memcpy.c57 d = (char *)ALIGN((uintptr_t)d, 16);
58 s = (char *)ALIGN((uintptr_t)s, 16);
/xsrc/external/mit/libdrm/dist/tests/amdgpu/
H A Dvce_tests.c247 req.alloc_size = ALIGN(size, 4096);
305 ib_cpu[len + 8] = ALIGN(enc.width, align);
306 ib_cpu[len + 9] = ALIGN(enc.width, align);
357 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
390 ib_cpu[len + 14] = ALIGN(enc->width, align);
391 ib_cpu[len + 15] = ALIGN(enc->width, align);
407 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16);
443 ib_cpu[len + 14] = ALIGN(en
[all...]
H A Dcs_tests.c289 req.alloc_size += ALIGN(sizeof(uvd_bitstream), 4*1024);
290 req.alloc_size += ALIGN(dpb_size, 4*1024);
291 req.alloc_size += ALIGN(dt_size, 4*1024);
345 ptr += ALIGN(sizeof(uvd_bitstream), 4*1024);
348 ptr += ALIGN(dpb_size, 4*1024);
362 dpb_addr = ALIGN(bs_addr + sizeof(uvd_bitstream), 4*1024);
369 ctx_addr = ALIGN(dpb_addr + 0x006B9400, 4*1024);
373 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024);
H A Dvcn_tests.c435 req.alloc_size = ALIGN(size, 4096);
619 size += ALIGN(sizeof(uvd_bitstream), 4*1024);
620 size += ALIGN(dpb_size, 4*1024);
621 size += ALIGN(dt_size, 4*1024);
645 dec += ALIGN(sizeof(uvd_bitstream), 4*1024);
647 dec += ALIGN(dpb_size, 4*1024);
653 dpb_addr = ALIGN(bs_addr + sizeof(uvd_bitstream), 4*1024);
654 ctx_addr = ALIGN(dpb_addr + 0x006B9400, 4*1024);
655 dt_addr = ALIGN(dpb_addr + dpb_size, 4*1024);
759 buf_size = ALIGN(widt
[all...]
H A Duvd_enc_tests.c205 req.alloc_size = ALIGN(size, 4096);
334 vbuf_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16) * 1.5;
355 enc.vbuf.ptr += ALIGN(enc.width, align);
359 enc.vbuf.ptr += ALIGN(enc.width, align);
432 unsigned luma_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16);
444 ib_cpu[len] = ALIGN(enc.width, align);
445 ib_cpu[len + 1] = ALIGN(enc.width, align);
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_rt.h190 ALIGN(BRW_RT_OFFSETOF_HIT_ATTRIB_DATA + \
225 layout->sw_stack_size = ALIGN(sw_stack_size, 64);
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dsna_video.c197 frame->image.x2 = ALIGN(frame->src.x2, 2);
200 frame->image.y2 = ALIGN(frame->src.y2, 2);
251 frame->pitch[0] = ALIGN(height, align);
252 frame->pitch[1] = ALIGN(height, align);
256 frame->pitch[0] = ALIGN(width, align);
257 frame->pitch[1] = ALIGN(width, align);
273 frame->pitch[0] = ALIGN((height / 2), align);
274 frame->pitch[1] = ALIGN(height, align);
277 frame->pitch[0] = ALIGN((width / 2), align);
278 frame->pitch[1] = ALIGN(widt
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dsna_video.c186 frame->image.x2 = ALIGN(frame->src.x2, 2);
189 frame->image.y2 = ALIGN(frame->src.y2, 2);
240 frame->pitch[0] = ALIGN((height / 2), align);
241 frame->pitch[1] = ALIGN(height, align);
244 frame->pitch[0] = ALIGN((width / 2), align);
245 frame->pitch[1] = ALIGN(width, align);
263 frame->pitch[0] = ALIGN((height << 2), align);
266 frame->pitch[0] = ALIGN((width << 2), align);
273 frame->pitch[0] = ALIGN((height << 1), align);
276 frame->pitch[0] = ALIGN((widt
[all...]
/xsrc/external/mit/xorg-server/dist/glamor/
H A Dglamor_xv.c269 *w = ALIGN(*w, 2);
270 *h = ALIGN(*h, 2);
271 size = ALIGN(*w, 4);
277 tmp = ALIGN(*w >> 1, 4);
287 *w = ALIGN(*w, 2);
288 *h = ALIGN(*h, 2);
289 size = ALIGN(*w, 4);
295 tmp = ALIGN(*w, 4);
565 srcPitch = ALIGN(width, 4);
566 srcPitch2 = ALIGN(widt
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dtexdown.c152 #define ALIGN (1<<12) macro
164 const int image_bytes = align(w * h * BytesPerTexel(Format), ALIGN);
177 texImage = (GLubyte *) _aligned_malloc(bytes, ALIGN);
179 texImage = (GLubyte *) aligned_alloc(ALIGN, bytes);
/xsrc/external/mit/libdrm/dist/amdgpu/
H A Dhandle_table.c36 uint32_t max_key = ALIGN(key + 1, alignment);
/xsrc/external/mit/xf86-video-geode/dist/src/
H A Dlx_memory.c35 #define ALIGN(x,y) (((x) + (y) - 1) / (y) * (y)) macro
131 offset = ALIGN(pGeode->offscreenStart, align);
151 gap = ALIGN(gap, align);
155 offset = ALIGN(ptr->offset + ptr->size, align);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_allocate.h122 #define ALIGN(x, y) (((x) + ((y) - 1)) & ~((y) - 1)) macro
H A Dpan_allocate.c41 size = ALIGN(size, ALIGNMENT);
66 sz = ALIGN(sz, ALIGNMENT);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/drm-shim/
H A Dlima_noop.c66 size_t size = ALIGN(create->size, 4096);
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-general.c156 #define ALIGN(addr) \ macro
176 src_buffer = ALIGN (scanline_buffer);
177 mask_buffer = ALIGN (src_buffer + width * Bpp);
178 dest_buffer = ALIGN (mask_buffer + width * Bpp);
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dspiceqxl_driver.c60 #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) macro
142 ram_header_size = ALIGN(sizeof(struct QXLRam), 4096);

Completed in 27 milliseconds

1234567891011