/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 257 int& alignedw, int &alignedh) 261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); 267 size = alignedw * alignedh * 4; 270 size = alignedw * alignedh * 3; 274 size = alignedw * alignedh * 2; 279 size = ALIGN(alignedw*alignedh, 4096); 286 alignedw = ALIGN(alignedw, 128); 287 size = ALIGN( alignedw * alignedh, 8192); 288 size += ALIGN( alignedw * ALIG 256 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 356 int alignedw, alignedh; local [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 398 size_t getSize(int format, int width, int height, const int alignedw, argument 406 size = alignedw * alignedh * 4; 409 size = alignedw * alignedh * 3; 413 size = alignedw * alignedh * 2; 416 size = ALIGN(alignedw * alignedh, 4096); 421 size = ALIGN(alignedw*alignedh, 4096); 428 size = ALIGN( alignedw * alignedh, 8192); 429 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 436 size = alignedw*alignedh + 437 (ALIGN(alignedw/ 507 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 525 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 544 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, size_t& size) argument 630 int alignedw, alignedh; local [all...] |
H A D | gr.h | 51 int& alignedw, int &alignedh); 53 int& alignedw, int &alignedh); 58 int& alignedw, int &alignedh, 115 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 405 unsigned int getSize(int format, int width, int height, const int alignedw, argument 411 size = alignedw * alignedh * 8; 417 size = alignedw * alignedh * 4; 420 size = alignedw * alignedh * 3; 424 size = alignedw * alignedh * 2; 429 size = ALIGN(alignedw*alignedh, 4096); 436 size = ALIGN( alignedw * alignedh, 8192); 437 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 444 size = alignedw*alignedh + 445 (ALIGN(alignedw/ 514 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 532 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 551 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 635 int alignedw, alignedh; local [all...] |
H A D | gr.h | 51 int usage, int& alignedw, int &alignedh); 53 int& alignedw, int &alignedh); 58 int& alignedw, int &alignedh, 115 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 397 unsigned int getSize(int format, int width, int height, const int alignedw, argument 405 size = alignedw * alignedh * 4; 408 size = alignedw * alignedh * 3; 412 size = alignedw * alignedh * 2; 417 size = ALIGN(alignedw*alignedh, 4096); 424 size = ALIGN( alignedw * alignedh, 8192); 425 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 432 size = alignedw*alignedh + 433 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; 438 size = ALIGN((alignedw*aligned 502 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 520 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 624 int alignedw, alignedh; local [all...] |
H A D | gr.h | 51 int usage, int& alignedw, int &alignedh); 53 int& alignedw, int &alignedh); 58 int& alignedw, int &alignedh, 115 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_allocator.cpp | 163 unsigned int alignedw, alignedh; local 180 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); 181 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); 197 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument 207 return GetUBwcSize(width, height, format, alignedw, alignedh); 212 size = alignedw * alignedh * bpp; 217 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 224 size = alignedw * alignedh * 2; 228 size = ALIGN(alignedw * alignedh, SIZE_4K); 231 size = alignedw * aligned 297 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 305 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 702 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 766 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_allocator.h | 65 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh); 67 unsigned int *alignedw, unsigned int *alignedh); 69 unsigned int *alignedw, unsigned int *alignedh); 89 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_buf_mgr.cpp | 164 unsigned int alignedw = 0, alignedh = 0; local 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 177 INT(alignedw), 482 unsigned int alignedw, alignedh; local 484 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); 524 INT(alignedw), 565 unsigned int alignedw = 0, alignedh = 0; local 574 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 577 hnd->width = INT(alignedw); 588 unsigned int alignedw local 642 unsigned int alignedw, alignedh; local 757 unsigned int alignedw, alignedh; local [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.cpp | 161 unsigned int alignedw, alignedh; local 178 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); 179 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); 195 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument 205 return GetUBwcSize(width, height, format, alignedw, alignedh); 210 size = alignedw * alignedh * bpp; 215 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 222 size = alignedw * alignedh * 2; 226 size = ALIGN(alignedw * alignedh, SIZE_4K); 229 size = alignedw * aligned 295 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 303 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 701 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 765 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_allocator.h | 65 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh); 67 unsigned int *alignedw, unsigned int *alignedh); 69 unsigned int *alignedw, unsigned int *alignedh); 89 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_buf_mgr.cpp | 164 unsigned int alignedw = 0, alignedh = 0; local 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 176 INT(alignedw), 470 unsigned int alignedw, alignedh; local 472 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); 512 INT(alignedw), 553 unsigned int alignedw = 0, alignedh = 0; local 562 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 565 hnd->width = INT(alignedw); 576 unsigned int alignedw local 630 unsigned int alignedw, alignedh; local 744 unsigned int alignedw, alignedh; local [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 487 const int alignedw, const int alignedh) { 490 return getUBwcSize(width, height, format, alignedw, alignedh); 496 size = alignedw * alignedh * 8; 502 size = alignedw * alignedh * 4; 505 size = alignedw * alignedh * 3; 511 size = alignedw * alignedh * 2; 514 size = ALIGN(alignedw * alignedh, 4096); 518 size = ALIGN(alignedw*alignedh, 4096); 525 size = ALIGN( alignedw * alignedh, 8192); 526 size += ALIGN( alignedw * ALIG 486 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 604 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 622 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 640 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 726 int alignedw, alignedh; local 880 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
H A D | gr.h | 52 int usage, int& alignedw, int &alignedh); 54 int& alignedw, int &alignedh); 59 int& alignedw, int &alignedh, 131 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/sdm845/libgralloc1/ |
H A D | gr_utils.cpp | 177 unsigned int GetSize(const BufferInfo &info, unsigned int alignedw, argument 187 return GetUBwcSize(width, height, format, alignedw, alignedh); 192 size = alignedw * alignedh * bpp; 197 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 205 size = alignedw * alignedh * 2; 209 size = ALIGN(alignedw * alignedh, SIZE_4K); 213 size = alignedw * alignedh * 1; 218 size = ALIGN(alignedw * alignedh, SIZE_4K); 225 size = ALIGN(alignedw * alignedh, SIZE_8K); 226 size += ALIGN(alignedw * (unsigne 280 GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 598 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 665 GetAlignedWidthAndHeight(const BufferInfo &info, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_utils.h | 69 unsigned int GetSize(const BufferInfo &d, unsigned int alignedw, unsigned int alignedh); 71 unsigned int *alignedw, unsigned int *alignedh); 90 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 554 const int alignedw, const int alignedh) { 557 return getUBwcSize(width, height, format, alignedw, alignedh); 563 size = alignedw * alignedh * 8; 576 size = alignedw * alignedh * 4; 579 size = alignedw * alignedh * 3; 586 size = alignedw * alignedh * 2; 589 size = ALIGN(alignedw * alignedh, 4096); 594 size = ALIGN(alignedw*alignedh, 4096); 601 size = ALIGN( alignedw * alignedh, 8192); 602 size += ALIGN( alignedw * ALIG 553 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 683 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 701 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 719 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument 876 int alignedw, alignedh; local 1064 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
H A D | gr.h | 52 int usage, int& alignedw, int &alignedh); 54 int& alignedw, int &alignedh); 59 int& alignedw, int &alignedh, 140 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/sdm845/libgralloc/ |
H A D | alloc_controller.cpp | 540 const int alignedw, const int alignedh) { 543 return getUBwcSize(width, height, format, alignedw, alignedh); 559 size = alignedw * alignedh * 4; 562 size = alignedw * alignedh * 3; 570 size = alignedw * alignedh * 2; 573 size = ALIGN(alignedw * alignedh, 4096); 576 size = ALIGN(alignedw * alignedh, 4096); 580 size = alignedw * alignedh; 584 size = ALIGN(alignedw*alignedh, 4096); 591 size = ALIGN( alignedw * aligned 539 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 677 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 695 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 873 int alignedw, alignedh; local 1063 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
H A D | mapper.cpp | 321 int alignedw = 0, alignedh = 0; local 335 height, format, 0, alignedw, alignedh); 336 hnd->width = alignedw; 352 int alignedw = 0, alignedh = 0; local 354 0, format, 0, alignedw, alignedh); 355 *stride = alignedw; 367 int alignedw = 0, alignedh = 0; local 368 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 369 *stride = alignedw; 383 int alignedw local [all...] |
H A D | gr.h | 53 int usage, int& alignedw, int &alignedh); 55 int& alignedw, int &alignedh); 135 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 471 size_t alignedw = ALIGN(width, ALIGN16); local 472 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); 489 int32_t alignedw = 0; local 501 &alignedw, &alignedh); 502 size = alignedw * alignedh * bpp; 508 &alignedw, &alignedh); 512 size = alignedw * alignedh * bpp; 516 alignedw = ALIGN(width, ALIGN16); 517 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 520 alignedw [all...] |
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 478 size_t alignedw = ALIGN(width, ALIGN16); local 479 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); 496 int32_t alignedw = 0; local 508 &alignedw, &alignedh); 509 size = alignedw * alignedh * bpp; 515 &alignedw, &alignedh); 519 size = alignedw * alignedh * bpp; 523 alignedw = ALIGN(width, ALIGN16); 524 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 527 alignedw [all...] |
/hardware/qcom/media/sdm845/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 460 size_t alignedw = ALIGN(width, ALIGN16); local 461 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); 478 int32_t alignedw = 0; local 490 &alignedw, &alignedh); 491 size = alignedw * alignedh * bpp; 497 &alignedw, &alignedh); 501 size = alignedw * alignedh * bpp; 505 alignedw = ALIGN(width, ALIGN16); 506 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 509 alignedw [all...] |