/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/msm8994/libgralloc/ |
D | alloc_controller.cpp | 487 const int alignedw, const int alignedh) { in getSize() argument 490 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 496 size = alignedw * alignedh * 8; in getSize() 502 size = alignedw * alignedh * 4; in getSize() 505 size = alignedw * alignedh * 3; in getSize() 511 size = alignedw * alignedh * 2; in getSize() 514 size = ALIGN(alignedw * alignedh, 4096); in getSize() 518 size = ALIGN(alignedw*alignedh, 4096); in getSize() 525 size = ALIGN( alignedw * alignedh, 8192); in getSize() 533 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, 131 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() 218 unsigned int alignedh) { in GetSize() argument 228 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 231 size = alignedw * alignedh * bpp; in GetSize() 233 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 237 size = alignedw * alignedh * 2; in GetSize() 241 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 245 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); 92 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() 462 unsigned int alignedw, alignedh; in AllocateBuffer() local 464 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); in AllocateBuffer() 504 INT(alignedh), in AllocateBuffer() 544 unsigned int alignedw = 0, alignedh = 0; in Perform() local 553 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in Perform() 557 hnd->height = INT(alignedh); in Perform() 567 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() 219 unsigned int alignedh) { in GetSize() argument 229 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 232 size = alignedw * alignedh * bpp; in GetSize() 234 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 238 size = alignedw * alignedh * 2; in GetSize() 242 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 246 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); 92 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() 454 unsigned int alignedw, alignedh; in AllocateBuffer() local 456 allocator_->GetBufferSizeAndDimensions(descriptor, &size, &alignedw, &alignedh); in AllocateBuffer() 496 INT(alignedh), in AllocateBuffer() 536 unsigned int alignedw = 0, alignedh = 0; in Perform() local 545 allocator_->GetAlignedWidthAndHeight(descriptor, &alignedw, &alignedh); in Perform() 549 hnd->height = INT(alignedh); in Perform() 559 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 …]
|
/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 …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_utils.cpp | 237 unsigned int GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) { in GetSize() argument 250 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 253 size = alignedw * alignedh * bpp; in GetSize() 255 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 260 case HAL_PIXEL_FORMAT_Y16:size = alignedw * alignedh * 2; in GetSize() 263 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 266 case HAL_PIXEL_FORMAT_Y8:size = alignedw * alignedh * 1; in GetSize() 271 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 278 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 286 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() [all …]
|
D | gr_utils.h | 78 unsigned int GetSize(const BufferInfo &d, unsigned int alignedw, unsigned int alignedh); 80 unsigned int *alignedh); 82 unsigned int *alignedh, GraphicsMetadata *graphics_metadata); 103 unsigned int alignedh); 109 unsigned int *alignedw, unsigned int *alignedh,
|
/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()
|
/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()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.cpp | 264 unsigned int GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) { in GetSize() argument 277 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize() 280 size = alignedw * alignedh * bpp; in GetSize() 282 size = alignedw * alignedh * ASTC_BLOCK_SIZE; in GetSize() 287 case HAL_PIXEL_FORMAT_Y16:size = alignedw * alignedh * 2; in GetSize() 290 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 293 case HAL_PIXEL_FORMAT_Y8:size = alignedw * alignedh * 1; in GetSize() 297 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 304 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 312 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() [all …]
|
D | gr_utils.h | 79 unsigned int GetSize(const BufferInfo &d, unsigned int alignedw, unsigned int alignedh); 81 unsigned int *alignedh); 83 unsigned int *alignedh, GraphicsMetadata *graphics_metadata); 105 unsigned int alignedh); 110 unsigned int *alignedw, unsigned int *alignedh,
|