Home
last modified time | relevance | path

Searched refs:alignedh (Results 1 – 19 of 19) sorted by relevance

/hardware/qcom/display/msm8960/libgralloc/
Dalloc_controller.cpp257 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()
275 size = alignedw * alignedh * 2; in getBufferSizeAndDimensions()
280 size = ALIGN(alignedw*alignedh, 4096); in getBufferSizeAndDimensions()
288 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions()
293 alignedh = height; in getBufferSizeAndDimensions()
303 alignedh = height; in getBufferSizeAndDimensions()
306 size = ALIGN(alignedw*alignedh, 2048) + in getBufferSizeAndDimensions()
[all …]
Dgpu.cpp252 int alignedw, alignedh; in alloc_impl() local
275 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl()
302 grallocFormat, alignedw, alignedh); in alloc_impl()
Dgr.h51 int& alignedw, int &alignedh);
/hardware/qcom/display/msm8974/libgralloc/
Dalloc_controller.cpp274 int& alignedw, int &alignedh) in getBufferSizeAndDimensions() argument
279 alignedh = ALIGN(height, 32); in getBufferSizeAndDimensions()
284 size = alignedw * alignedh * 4; in getBufferSizeAndDimensions()
287 size = alignedw * alignedh * 3; in getBufferSizeAndDimensions()
292 size = alignedw * alignedh * 2; in getBufferSizeAndDimensions()
297 size = ALIGN(alignedw*alignedh, 4096); in getBufferSizeAndDimensions()
304 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions()
312 alignedh = height; in getBufferSizeAndDimensions()
313 size = alignedw*alignedh + in getBufferSizeAndDimensions()
314 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getBufferSizeAndDimensions()
[all …]
Dgpu.cpp258 int alignedw, alignedh; in alloc_impl() local
291 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl()
318 grallocFormat, alignedw, alignedh); in alloc_impl()
Dgr.h51 int& alignedw, int &alignedh);
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp398 const int alignedh) { in getSize() argument
405 size = alignedw * alignedh * 4; in getSize()
408 size = alignedw * alignedh * 3; in getSize()
412 size = alignedw * alignedh * 2; in getSize()
415 size = ALIGN(alignedw * alignedh, 4096); in getSize()
420 size = ALIGN(alignedw*alignedh, 4096); in getSize()
427 size = ALIGN( alignedw * alignedh, 8192); in getSize()
435 size = alignedw*alignedh + in getSize()
436 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize()
441 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2 + 1, 4096); in getSize()
[all …]
Dgr.h51 int& alignedw, int &alignedh);
53 int& alignedw, int &alignedh);
58 int& alignedw, int &alignedh,
115 int tileEnabled, int& alignedw, int &alignedh);
Dgpu.cpp266 int alignedw, alignedh; in alloc_impl() local
295 alignedh); in alloc_impl()
315 grallocFormat, alignedw, alignedh); in alloc_impl()
Dmapper.cpp357 int alignedw = 0, alignedh = 0; in gralloc_perform() local
359 0, format, false, alignedw, alignedh); in gralloc_perform()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp398 const int alignedh) { in getSize() argument
405 size = alignedw * alignedh * 4; in getSize()
408 size = alignedw * alignedh * 3; in getSize()
412 size = alignedw * alignedh * 2; in getSize()
417 size = ALIGN(alignedw*alignedh, 4096); in getSize()
424 size = ALIGN( alignedw * alignedh, 8192); in getSize()
432 size = alignedw*alignedh + in getSize()
433 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize()
438 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2 + 1, 4096); in getSize()
448 size = ALIGN(alignedw * alignedh * 2, 4096); in getSize()
[all …]
Dgr.h51 int usage, int& alignedw, int &alignedh);
53 int& alignedw, int &alignedh);
58 int& alignedw, int &alignedh,
115 int tileEnabled, int& alignedw, int &alignedh);
Dgpu.cpp269 int alignedw, alignedh; in alloc_impl() local
293 alignedh); in alloc_impl()
313 grallocFormat, alignedw, alignedh); in alloc_impl()
Dmapper.cpp357 int alignedw = 0, alignedh = 0; in gralloc_perform() local
359 0, format, false, alignedw, alignedh); in gralloc_perform()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp489 const int alignedw, const int alignedh) { in getSize() argument
492 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize()
500 size = alignedw * alignedh * 4; in getSize()
503 size = alignedw * alignedh * 3; in getSize()
509 size = alignedw * alignedh * 2; in getSize()
512 size = ALIGN(alignedw * alignedh, 4096); in getSize()
516 size = ALIGN(alignedw*alignedh, 4096); in getSize()
523 size = ALIGN( alignedw * alignedh, 8192); in getSize()
531 size = alignedw*alignedh + in getSize()
532 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize()
[all …]
Dgr.h52 int usage, int& alignedw, int &alignedh);
54 int& alignedw, int &alignedh);
59 int& alignedw, int &alignedh,
131 int tileEnabled, int& alignedw, int &alignedh);
Dgpu.cpp280 int alignedw, alignedh; in alloc_impl() local
312 alignedh); in alloc_impl()
332 grallocFormat, alignedw, alignedh); in alloc_impl()
Dmapper.cpp354 int alignedw = 0, alignedh = 0; in gralloc_perform() local
356 0, format, 0, alignedw, alignedh); in gralloc_perform()
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp443 int32_t alignedh = 0; in calcSize() local
471 alignedh = ALIGN(height, ALIGN32); in calcSize()
472 … size = ALIGN(alignedw * alignedh, ALIGN8K) + ALIGN(alignedw * ALIGN(height/2, ALIGN32), ALIGN8K); in calcSize()
484 alignedh = ALIGN(height, ALIGN32); in calcSize()
485 size = ALIGN(alignedw * alignedh + (alignedw * ALIGN(height/2, ALIGN16)), ALIGN4K); in calcSize()