Lines Matching refs:alignedw
257 int& alignedw, int &alignedh) in getBufferSizeAndDimensions() argument
261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
267 size = alignedw * alignedh * 4; in getBufferSizeAndDimensions()
270 size = alignedw * alignedh * 3; in getBufferSizeAndDimensions()
274 size = alignedw * alignedh * 2; in getBufferSizeAndDimensions()
279 size = ALIGN(alignedw*alignedh, 4096); in getBufferSizeAndDimensions()
286 alignedw = ALIGN(alignedw, 128); in getBufferSizeAndDimensions()
287 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions()
288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getBufferSizeAndDimensions()
291 alignedw = ALIGN(width, 16); in getBufferSizeAndDimensions()
305 size = ALIGN(alignedw*alignedh, 2048) + in getBufferSizeAndDimensions()
306 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getBufferSizeAndDimensions()
308 size = alignedw*alignedh + in getBufferSizeAndDimensions()
309 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getBufferSizeAndDimensions()
316 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2, 4096); in getBufferSizeAndDimensions()
325 size = ALIGN(alignedw * alignedh * 2, 4096); in getBufferSizeAndDimensions()
339 alignedw = width; in getBufferSizeAndDimensions()
356 int alignedw, alignedh; in alloc_buffer() local
362 data.size = getBufferSizeAndDimensions(w, h, format, alignedw, alignedh); in alloc_buffer()
375 alignedw, alignedh); in alloc_buffer()