Home
last modified time | relevance | path

Searched refs:alignedh (Results 1 – 25 of 25) 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()
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()
[all …]
Dgr.h51 int& alignedw, int &alignedh);
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()
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp395 const int alignedh) { in getSize() argument
402 size = alignedw * alignedh * 4; in getSize()
405 size = alignedw * alignedh * 3; in getSize()
409 size = alignedw * alignedh * 2; in getSize()
412 size = ALIGN(alignedw * alignedh, 4096); 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()
[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.cpp265 int alignedw, alignedh; in alloc_impl() local
294 alignedh); in alloc_impl()
314 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
297 alignedh); in alloc_impl()
317 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/msm8909/libgralloc/
Dalloc_controller.cpp411 const int alignedh) { in getSize() argument
418 size = alignedw * alignedh * 4; in getSize()
421 size = alignedw * alignedh * 3; in getSize()
425 size = alignedw * alignedh * 2; in getSize()
430 size = ALIGN(alignedw*alignedh, 4096); in getSize()
437 size = ALIGN( alignedw * alignedh, 8192); in getSize()
445 size = alignedw*alignedh + in getSize()
446 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize()
451 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2 + 1, 4096); in getSize()
461 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.cpp282 int alignedw, alignedh; in alloc_impl() local
310 alignedh); in alloc_impl()
330 grallocFormat, alignedw, alignedh); in alloc_impl()
Dmapper.cpp356 int alignedw = 0, alignedh = 0; in gralloc_perform() local
358 0, format, false, alignedw, alignedh); in gralloc_perform()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp482 const int alignedw, const int alignedh) { in getSize() argument
485 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize()
493 size = alignedw * alignedh * 4; in getSize()
496 size = alignedw * alignedh * 3; in getSize()
502 size = alignedw * alignedh * 2; in getSize()
505 size = ALIGN(alignedw * alignedh, 4096); in getSize()
509 size = ALIGN(alignedw*alignedh, 4096); in getSize()
516 size = ALIGN( alignedw * alignedh, 8192); in getSize()
524 size = alignedw*alignedh + in getSize()
525 (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.cpp279 int alignedw, alignedh; in alloc_impl() local
311 alignedh); in alloc_impl()
331 grallocFormat, alignedw, alignedh); in alloc_impl()
Dmapper.cpp344 int alignedw = 0, alignedh = 0; in gralloc_perform() local
346 0, format, 0, alignedw, alignedh); in gralloc_perform()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp547 const int alignedw, const int alignedh) { in getSize() argument
550 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize()
566 size = alignedw * alignedh * 4; in getSize()
569 size = alignedw * alignedh * 3; in getSize()
576 size = alignedw * alignedh * 2; in getSize()
579 size = ALIGN(alignedw * alignedh, 4096); in getSize()
584 size = ALIGN(alignedw*alignedh, 4096); in getSize()
591 size = ALIGN( alignedw * alignedh, 8192); in getSize()
599 size = alignedw*alignedh + in getSize()
600 (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,
140 int tileEnabled, int& alignedw, int &alignedh);
Dmapper.cpp338 int alignedw = 0, alignedh = 0; in gralloc_perform() local
340 0, format, 0, alignedw, alignedh); in gralloc_perform()
353 int alignedw = 0, alignedh = 0; in gralloc_perform() local
354 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform()
369 int alignedw = 0, alignedh = 0; in gralloc_perform() local
370 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform()
372 *height = alignedh; in gralloc_perform()
Dgpu.cpp264 int alignedw, alignedh; in alloc_impl() local
319 alignedh); in alloc_impl()
330 grallocFormat, alignedw, alignedh); in alloc_impl()
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp483 int32_t alignedh = 0; in calcSize() local
494 &alignedw, &alignedh); in calcSize()
495 size = alignedw * alignedh * bpp; in calcSize()
501 &alignedw, &alignedh); in calcSize()
503 size = mSrcStride * alignedh * bpp; in calcSize()
505 size = alignedw * alignedh * bpp; in calcSize()
522 alignedh = ALIGN(height, ALIGN32); in calcSize()
523 … size = ALIGN(alignedw * alignedh, ALIGN8K) + ALIGN(alignedw * ALIGN(height/2, ALIGN32), ALIGN8K); in calcSize()
535 alignedh = ALIGN(height, ALIGN32); in calcSize()
536 size = ALIGN(alignedw * alignedh + (alignedw * ALIGN(height/2, ALIGN16)), ALIGN4K); in calcSize()
/hardware/qcom/media/msm8974/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()