/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...] |
H A D | gr.h | 51 int& alignedw, int &alignedh);
|
/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/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/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 410 unsigned int getSize(int format, int width, int height, const int alignedw, argument 418 size = alignedw * alignedh * 4; 421 size = alignedw * alignedh * 3; 425 size = alignedw * alignedh * 2; 430 size = ALIGN(alignedw*alignedh, 4096); 437 size = ALIGN( alignedw * alignedh, 8192); 438 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 445 size = alignedw*alignedh + 446 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; 451 size = ALIGN((alignedw*aligned 515 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 533 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 552 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 636 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/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 482 const int alignedw, const int alignedh) { 485 return getUBwcSize(width, height, format, alignedw, alignedh); 493 size = alignedw * alignedh * 4; 496 size = alignedw * alignedh * 3; 502 size = alignedw * alignedh * 2; 505 size = ALIGN(alignedw * alignedh, 4096); 509 size = ALIGN(alignedw*alignedh, 4096); 516 size = ALIGN( alignedw * alignedh, 8192); 517 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 524 size = alignedw*aligned 481 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 595 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 613 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 631 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 717 int alignedw, alignedh; local 871 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/msm8996/libgralloc1/ |
H A D | gr_allocator.h | 64 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh); 66 unsigned int *alignedw, unsigned int *alignedh); 68 unsigned int *alignedw, unsigned int *alignedh); 71 void GetBufferAttributes(const BufferDescriptor &d, unsigned int *alignedw, 90 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_allocator.cpp | 184 unsigned int alignedw, alignedh; local 200 GetAlignedWidthAndHeight(descriptors[i], &alignedw, &alignedh); 201 unsigned int size = GetSize(descriptors[i], alignedw, alignedh); 245 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument 255 return GetUBwcSize(width, height, format, alignedw, alignedh); 260 size = alignedw * alignedh * bpp; 265 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 272 size = alignedw * alignedh * 2; 275 size = ALIGN(alignedw * alignedh, SIZE_4K); 280 size = ALIGN(alignedw * aligned 338 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 346 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 353 GetBufferAttributes(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh, int *tiled, unsigned int *size) argument 728 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 790 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_buf_mgr.cpp | 127 unsigned int alignedw = 0, alignedh = 0; local 128 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 137 dup(input->fd), input->size, flags, buffer_type, descriptor.GetFormat(), INT(alignedw), 459 unsigned int alignedw, alignedh; local 461 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); 469 err = AllocateBuffer(size, INT(alignedw), INT(alignedh), descriptor.GetWidth(), 514 unsigned int alignedw = 0, alignedh = 0; local 516 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 517 *stride = INT(alignedw); 568 unsigned int alignedw, aligned local [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.h | 64 unsigned int GetSize(const BufferDescriptor &d, unsigned int alignedw, unsigned int alignedh); 66 unsigned int *alignedw, unsigned int *alignedh); 68 unsigned int *alignedw, unsigned int *alignedh); 71 void GetBufferAttributes(const BufferDescriptor &d, unsigned int *alignedw, 90 unsigned int GetUBwcSize(int width, int height, int format, unsigned int alignedw,
|
H A D | gr_allocator.cpp | 192 unsigned int alignedw, alignedh; local 208 GetAlignedWidthAndHeight(descriptors[i], &alignedw, &alignedh); 209 unsigned int size = GetSize(descriptors[i], alignedw, alignedh); 253 unsigned int Allocator::GetSize(const BufferDescriptor &descriptor, unsigned int alignedw, argument 263 return GetUBwcSize(width, height, format, alignedw, alignedh); 268 size = alignedw * alignedh * bpp; 273 size = alignedw * alignedh * ASTC_BLOCK_SIZE; 280 size = alignedw * alignedh * 2; 283 size = ALIGN(alignedw * alignedh, SIZE_4K); 288 size = ALIGN(alignedw * aligned 346 GetBufferSizeAndDimensions(int width, int height, int format, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 354 GetBufferSizeAndDimensions(const BufferDescriptor &descriptor, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 361 GetBufferAttributes(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh, int *tiled, unsigned int *size) argument 748 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 810 GetAlignedWidthAndHeight(const BufferDescriptor &descriptor, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_buf_mgr.cpp | 127 unsigned int alignedw = 0, alignedh = 0; local 128 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 137 dup(input->fd), input->size, flags, buffer_type, descriptor.GetFormat(), INT(alignedw), 460 unsigned int alignedw, alignedh; local 462 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); 470 err = AllocateBuffer(size, INT(alignedw), INT(alignedh), descriptor.GetWidth(), 497 unsigned int alignedw = 0, alignedh = 0; local 506 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 509 hnd->width = alignedw; 520 unsigned int alignedw local 574 unsigned int alignedw, alignedh; local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 550 const int alignedw, const int alignedh) { 553 return getUBwcSize(width, height, format, alignedw, alignedh); 569 size = alignedw * alignedh * 4; 572 size = alignedw * alignedh * 3; 579 size = alignedw * alignedh * 2; 582 size = ALIGN(alignedw * alignedh, 4096); 587 size = ALIGN(alignedw*alignedh, 4096); 594 size = ALIGN( alignedw * alignedh, 8192); 595 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 602 size = alignedw*aligned 549 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 676 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 694 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 712 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument 869 int alignedw, alignedh; local 1057 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);
|
H A D | mapper.cpp | 347 int alignedw = 0, alignedh = 0; local 349 0, format, 0, alignedw, alignedh); 350 *stride = alignedw; 362 int alignedw = 0, alignedh = 0; local 363 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 364 *stride = alignedw; 378 int alignedw = 0, alignedh = 0; local 379 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 380 *stride = alignedw;
|
/hardware/qcom/display/msm8998/libgralloc/ |
H A D | alloc_controller.cpp | 574 const int alignedw, const int alignedh) { 577 return getUBwcSize(width, height, format, alignedw, alignedh); 593 size = alignedw * alignedh * 4; 596 size = alignedw * alignedh * 3; 603 size = alignedw * alignedh * 2; 606 size = ALIGN(alignedw * alignedh, 4096); 611 size = ALIGN(alignedw*alignedh, 4096); 618 size = ALIGN( alignedw * alignedh, 8192); 619 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 626 size = alignedw*aligned 573 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 700 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 718 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 735 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument 892 int alignedw, alignedh; local 1076 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); 60 int& alignedw, int &alignedh, 141 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 464 size_t alignedw = ALIGN(width, ALIGN16); local 465 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); 482 int32_t alignedw = 0; local 494 &alignedw, &alignedh); 495 size = alignedw * alignedh * bpp; 501 &alignedw, &alignedh); 505 size = alignedw * alignedh * bpp; 509 alignedw = ALIGN(width, ALIGN16); 510 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 513 alignedw [all...] |
/hardware/qcom/media/msm8998/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/msm8974/libc2dcolorconvert/ |
H A D | C2DColorConverter.cpp | 429 size_t alignedw = ALIGN(width, ALIGN16); local 430 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); 442 int32_t alignedw = 0; local 459 alignedw = ALIGN(width, ALIGN16); 460 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); 466 alignedw = ALIGN(width, ALIGN16); 467 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN16) * (height/2) * 2), ALIGN4K); 470 alignedw = ALIGN(width, ALIGN128); 472 size = ALIGN(alignedw * alignedh, ALIGN8K) + ALIGN(alignedw * ALIG [all...] |