| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| intel_tex_layout.c | 133 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);
|
| intel_pixel_bitmap.c | 151 bit = ALIGN(bit, row_align); 264 GLuint sz = ALIGN(ALIGN(w,8) * h, 64)/8;
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| intel_tex_layout.c | 133 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/xf86-video-intel/dist/src/uxa/ |
| intel_memory.c | 100 return ALIGN(size, 4096); 102 /* Align the size to a power of two greater than the smallest fence 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/ |
| intel_memory.c | 100 return ALIGN(size, 4096); 102 /* Align the size to a power of two greater than the smallest fence 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/libdrm/dist/ |
| util_math.h | 34 #undef ALIGN 35 #define ALIGN(value, alignment) __align_mask(value, (__typeof__(value))((alignment) - 1))
|
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/ |
| intel_context.h | 75 #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/ |
| streaming-load-memcpy.c | 57 d = (char *)ALIGN((uintptr_t)d, 16); 58 s = (char *)ALIGN((uintptr_t)s, 16);
|
| texcompress_s3tc.c | 61 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 113 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 169 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 224 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth ||
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/ |
| gen_context.h | 75 #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.old/dist/src/mesa/main/ |
| streaming-load-memcpy.c | 57 d = (char *)ALIGN((uintptr_t)d, 16); 58 s = (char *)ALIGN((uintptr_t)s, 16);
|
| texcompress_s3tc.c | 61 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 113 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 166 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth || 218 ALIGN(srcPacking->RowLength, srcPacking->Alignment) != srcWidth ||
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| brw_rt.h | 173 * The select is just to align to 64B. 190 ALIGN(BRW_RT_OFFSETOF_HIT_ATTRIB_DATA + \ 220 * invocations. We align these to 64B to ensure that we don't have any 225 layout->sw_stack_size = ALIGN(sw_stack_size, 64);
|
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| sna_video.c | 197 frame->image.x2 = ALIGN(frame->src.x2, 2); 200 frame->image.y2 = ALIGN(frame->src.y2, 2); 214 DBG(("%s: id=%d [planar? %d], width=%d, height=%d, align=%d\n", 232 unsigned align; local 237 align = video->alignment; 240 if (frame->id == FOURCC_XVMC && video->sna->kgem.gen < 040 && align < 1024) 241 align = 1024; 251 frame->pitch[0] = ALIGN(height, align); 252 frame->pitch[1] = ALIGN(height, align) [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| sna_video.c | 186 frame->image.x2 = ALIGN(frame->src.x2, 2); 189 frame->image.y2 = ALIGN(frame->src.y2, 2); 203 DBG(("%s: id=%d [planar? %d], width=%d, height=%d, align=%d\n", 221 unsigned align; local 226 align = video->alignment; 229 if (frame->id == FOURCC_XVMC && video->sna->kgem.gen < 040 && align < 1024) 230 align = 1024; 240 frame->pitch[0] = ALIGN((height / 2), align); 241 frame->pitch[1] = ALIGN(height, align) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/drm-shim/ |
| lima_noop.c | 66 size_t size = ALIGN(create->size, 4096);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/ |
| pan_allocate.h | 122 #define ALIGN(x, y) (((x) + ((y) - 1)) & ~((y) - 1))
|
| pan_allocate.c | 41 size = ALIGN(size, ALIGNMENT); 66 sz = ALIGN(sz, ALIGNMENT); 128 /* First, align the stack bottom to something nice; it's not critical
|
| /xsrc/external/mit/libdrm/dist/amdgpu/ |
| handle_table.c | 36 uint32_t max_key = ALIGN(key + 1, alignment);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| texdown.c | 152 #define ALIGN (1<<12) 154 static unsigned long align(unsigned long value, unsigned long a) function 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/pixman/dist/pixman/ |
| pixman-general.c | 156 #define ALIGN(addr) \ 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-geode/dist/src/ |
| lx_memory.c | 35 #define ALIGN(x,y) (((x) + (y) - 1) / (y) * (y)) 119 GeodeAllocOffscreen(GeodeRec * pGeode, int size, int align) 131 offset = ALIGN(pGeode->offscreenStart, align); 151 gap = ALIGN(gap, align); 155 offset = ALIGN(ptr->offset + ptr->size, align); 258 /* Align the size to a K boundary */
|
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| glamor_xv.c | 340 *w = ALIGN(*w, 2); 341 *h = ALIGN(*h, 2); 342 size = ALIGN(*w, 4); 348 tmp = ALIGN(*w >> 1, 4); 358 *w = ALIGN(*w, 2); 359 *h = ALIGN(*h, 2); 360 size = ALIGN(*w, 4); 366 tmp = ALIGN(*w, 4); 382 size = ALIGN(*w, 2) * 2; 737 srcPitch = ALIGN(width, 4) [all...] |
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| spiceqxl_driver.c | 60 #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1)) 142 ram_header_size = ALIGN(sizeof(struct QXLRam), 4096);
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/drm-shim/ |
| panfrost_noop.c | 80 size_t size = ALIGN(create->size, 4096);
|