/hardware/qcom/display/msm8960/libgralloc/ |
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 * ALIGN(height/2, 32), 8192) 356 int alignedw, alignedh; local [all...] |
gr.h | 51 int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8084/libgralloc/ |
alloc_controller.cpp | 398 size_t getSize(int format, int width, int height, const int alignedw, 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/2, 16) * (alignedh/2))*2 630 int alignedw, alignedh; local [all...] |
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/ |
alloc_controller.cpp | 397 unsigned int getSize(int format, int width, int height, const int alignedw, 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*alignedh) + (alignedw* alignedh)/2 + 1, 4096) 624 int alignedw, alignedh; local [all...] |
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/ |
alloc_controller.cpp | 410 unsigned int getSize(int format, int width, int height, const int alignedw, 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*alignedh) + (alignedw* alignedh)/2 + 1, 4096) 636 int alignedw, alignedh; local [all...] |
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/ |
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*alignedh 717 int alignedw, alignedh; local [all...] |
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/ |
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,
|
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, 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 * alignedh, SIZE_4K) [all...] |
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, alignedh local [all...] |
/hardware/qcom/display/msmcobalt/libgralloc1/ |
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,
|
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, 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 * alignedh, SIZE_4K) [all...] |
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(), 496 unsigned int alignedw = 0, alignedh = 0; local 505 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); 508 hnd->width = alignedw; 519 unsigned int alignedw = 0, alignedh = 0 local 573 unsigned int alignedw, alignedh; local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
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);
|
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*alignedh 869 int alignedw, alignedh; local [all...] |
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/msmcobalt/libgralloc/ |
alloc_controller.cpp | 563 const int alignedw, const int alignedh) { 566 return getUBwcSize(width, height, format, alignedw, alignedh); 582 size = alignedw * alignedh * 4; 585 size = alignedw * alignedh * 3; 592 size = alignedw * alignedh * 2; 595 size = ALIGN(alignedw * alignedh, 4096); 600 size = ALIGN(alignedw*alignedh, 4096); 607 size = ALIGN( alignedw * alignedh, 8192); 608 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 615 size = alignedw*alignedh 881 int alignedw, alignedh; local [all...] |
mapper.cpp | 312 int alignedw = 0, alignedh = 0; local 326 height, format, 0, alignedw, alignedh); 327 hnd->width = alignedw; 343 int alignedw = 0, alignedh = 0; local 345 0, format, 0, alignedw, alignedh); 346 *stride = alignedw; 358 int alignedw = 0, alignedh = 0; local 359 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 360 *stride = alignedw; 374 int alignedw = 0, alignedh = 0 local [all...] |
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/ |
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 = ALIGN(width, ALIGN16) [all...] |
/hardware/qcom/media/msmcobalt/libc2dcolorconvert/ |
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 = ALIGN(width, ALIGN16) [all...] |
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
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 * ALIGN(height/2, ALIGN32), ALIGN8K) [all...] |