/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 257 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 …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 399 const int alignedh) { in getSize() argument 406 size = alignedw * alignedh * 4; in getSize() 409 size = alignedw * alignedh * 3; in getSize() 413 size = alignedw * alignedh * 2; in getSize() 416 size = ALIGN(alignedw * alignedh, 4096); in getSize() 421 size = ALIGN(alignedw*alignedh, 4096); in getSize() 428 size = ALIGN( alignedw * alignedh, 8192); in getSize() 436 size = alignedw*alignedh + in getSize() 437 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize() 442 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2 + 1, 4096); in getSize() [all …]
|
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/ |
D | alloc_controller.cpp | 398 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 …]
|
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/ |
D | gr_allocator.cpp | 163 unsigned int alignedw, alignedh; in CheckForBufferSharing() local 180 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); in CheckForBufferSharing() 181 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); in CheckForBufferSharing() 198 unsigned int alignedh) { in GetSize() argument 207 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 212 size = alignedw * alignedh * bpp; in GetSize() 217 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 224 size = alignedw * alignedh * 2; in GetSize() 228 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 231 size = alignedw * alignedh * 1; in GetSize() [all …]
|
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); 90 unsigned int alignedh);
|
D | gr_buf_mgr.cpp | 164 unsigned int alignedw = 0, alignedh = 0; in CreateSharedHandle() local 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in CreateSharedHandle() 178 INT(alignedh), in CreateSharedHandle() 482 unsigned int alignedw, alignedh; in AllocateBuffer() local 484 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); in AllocateBuffer() 525 INT(alignedh), in AllocateBuffer() 565 unsigned int alignedw = 0, alignedh = 0; in Perform() local 574 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in Perform() 578 hnd->height = INT(alignedh); in Perform() 588 unsigned int alignedw = 0, alignedh = 0; in Perform() local [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_allocator.cpp | 164 unsigned int alignedw, alignedh; in CheckForBufferSharing() local 181 GetAlignedWidthAndHeight(*descriptors[i], &alignedw, &alignedh); in CheckForBufferSharing() 182 unsigned int size = GetSize(*descriptors[i], alignedw, alignedh); in CheckForBufferSharing() 199 unsigned int alignedh) { in GetSize() argument 208 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 213 size = alignedw * alignedh * bpp; in GetSize() 218 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 225 size = alignedw * alignedh * 2; in GetSize() 229 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 232 size = alignedw * alignedh * 1; in GetSize() [all …]
|
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); 90 unsigned int alignedh);
|
D | gr_buf_mgr.cpp | 164 unsigned int alignedw = 0, alignedh = 0; in CreateSharedHandle() local 165 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in CreateSharedHandle() 177 INT(alignedh), in CreateSharedHandle() 470 unsigned int alignedw, alignedh; in AllocateBuffer() local 472 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); in AllocateBuffer() 513 INT(alignedh), in AllocateBuffer() 553 unsigned int alignedw = 0, alignedh = 0; in Perform() local 562 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in Perform() 566 hnd->height = INT(alignedh); in Perform() 576 unsigned int alignedw = 0, alignedh = 0; in Perform() local [all …]
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 178 unsigned int alignedh) { in GetSize() argument 187 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 192 size = alignedw * alignedh * bpp; in GetSize() 197 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 205 size = alignedw * alignedh * 2; in GetSize() 209 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 213 size = alignedw * alignedh * 1; in GetSize() 218 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 225 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 233 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() [all …]
|
D | gr_utils.h | 69 unsigned int GetSize(const BufferInfo &d, unsigned int alignedw, unsigned int alignedh); 71 unsigned int *alignedw, unsigned int *alignedh); 91 unsigned int alignedh);
|
D | gr_buf_mgr.cpp | 163 unsigned int alignedw = 0, alignedh = 0; in CreateSharedHandle() local 166 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in CreateSharedHandle() 179 INT(alignedh), in CreateSharedHandle() 476 unsigned int alignedw, alignedh; in AllocateBuffer() local 479 GetBufferSizeAndDimensions(info, &size, &alignedw, &alignedh); in AllocateBuffer() 520 INT(alignedh), in AllocateBuffer() 564 unsigned int alignedw = 0, alignedh = 0; in Perform() local 573 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in Perform() 577 hnd->height = INT(alignedh); in Perform() 587 unsigned int alignedw = 0, alignedh = 0; in Perform() local [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 178 unsigned int alignedh) { in GetSize() argument 187 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 192 size = alignedw * alignedh * bpp; in GetSize() 197 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 205 size = alignedw * alignedh * 2; in GetSize() 209 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 213 size = alignedw * alignedh * 1; in GetSize() 218 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 225 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 233 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() [all …]
|
D | gr_utils.h | 69 unsigned int GetSize(const BufferInfo &d, unsigned int alignedw, unsigned int alignedh); 71 unsigned int *alignedw, unsigned int *alignedh); 91 unsigned int alignedh);
|
D | gr_buf_mgr.cpp | 163 unsigned int alignedw = 0, alignedh = 0; in CreateSharedHandle() local 166 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in CreateSharedHandle() 179 INT(alignedh), in CreateSharedHandle() 473 unsigned int alignedw, alignedh; in AllocateBuffer() local 476 GetBufferSizeAndDimensions(info, &size, &alignedw, &alignedh); in AllocateBuffer() 517 INT(alignedh), in AllocateBuffer() 561 unsigned int alignedw = 0, alignedh = 0; in Perform() local 570 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); in Perform() 574 hnd->height = INT(alignedh); in Perform() 584 unsigned int alignedw = 0, alignedh = 0; in Perform() local [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 554 const int alignedw, const int alignedh) { in getSize() argument 557 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 563 size = alignedw * alignedh * 8; in getSize() 576 size = alignedw * alignedh * 4; in getSize() 579 size = alignedw * alignedh * 3; in getSize() 586 size = alignedw * alignedh * 2; in getSize() 589 size = ALIGN(alignedw * alignedh, 4096); in getSize() 594 size = ALIGN(alignedw*alignedh, 4096); in getSize() 601 size = ALIGN( alignedw * alignedh, 8192); in getSize() 609 size = alignedw*alignedh + in getSize() [all …]
|
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/msm8909/libgralloc/ |
D | alloc_controller.cpp | 540 const int alignedw, const int alignedh) { in getSize() argument 543 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 559 size = alignedw * alignedh * 4; in getSize() 562 size = alignedw * alignedh * 3; in getSize() 570 size = alignedw * alignedh * 2; in getSize() 573 size = ALIGN(alignedw * alignedh, 4096); in getSize() 576 size = ALIGN(alignedw * alignedh, 4096); in getSize() 580 size = alignedw * alignedh; in getSize() 584 size = ALIGN(alignedw*alignedh, 4096); in getSize() 591 size = ALIGN( alignedw * alignedh, 8192); in getSize() [all …]
|
D | mapper.cpp | 321 int alignedw = 0, alignedh = 0; in gralloc_perform() local 335 height, format, 0, alignedw, alignedh); in gralloc_perform() 337 hnd->height = alignedh; in gralloc_perform() 352 int alignedw = 0, alignedh = 0; in gralloc_perform() local 354 0, format, 0, alignedw, alignedh); in gralloc_perform() 367 int alignedw = 0, alignedh = 0; in gralloc_perform() local 368 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 383 int alignedw = 0, alignedh = 0; in gralloc_perform() local 384 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 386 *height = alignedh; in gralloc_perform()
|
D | gr.h | 53 int usage, int& alignedw, int &alignedh); 55 int& alignedw, int &alignedh); 135 int tileEnabled, int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 540 const int alignedw, const int alignedh) { in getSize() argument 543 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 559 size = alignedw * alignedh * 4; in getSize() 562 size = alignedw * alignedh * 3; in getSize() 570 size = alignedw * alignedh * 2; in getSize() 573 size = ALIGN(alignedw * alignedh, 4096); in getSize() 576 size = ALIGN(alignedw * alignedh, 4096); in getSize() 580 size = alignedw * alignedh; in getSize() 584 size = ALIGN(alignedw*alignedh, 4096); in getSize() 591 size = ALIGN( alignedw * alignedh, 8192); in getSize() [all …]
|
D | mapper.cpp | 321 int alignedw = 0, alignedh = 0; in gralloc_perform() local 335 height, format, 0, alignedw, alignedh); in gralloc_perform() 337 hnd->height = alignedh; in gralloc_perform() 352 int alignedw = 0, alignedh = 0; in gralloc_perform() local 354 0, format, 0, alignedw, alignedh); in gralloc_perform() 367 int alignedw = 0, alignedh = 0; in gralloc_perform() local 368 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 383 int alignedw = 0, alignedh = 0; in gralloc_perform() local 384 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 386 *height = alignedh; in gralloc_perform()
|
D | gr.h | 53 int usage, int& alignedw, int &alignedh); 55 int& alignedw, int &alignedh); 135 int tileEnabled, int& alignedw, int &alignedh);
|