Lines Matching refs:alignedh
257 int& alignedw, int &alignedh) in getBufferSizeAndDimensions() argument
262 alignedh = ALIGN(height, 32); 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()
287 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions()
292 alignedh = height; in getBufferSizeAndDimensions()
302 alignedh = height; 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()
315 alignedh = height; in getBufferSizeAndDimensions()
316 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2, 4096); in getBufferSizeAndDimensions()
324 alignedh = height; in getBufferSizeAndDimensions()
325 size = ALIGN(alignedw * alignedh * 2, 4096); in getBufferSizeAndDimensions()
328 alignedh = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height); in getBufferSizeAndDimensions()
338 alignedh = height; 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()