/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 399 const int alignedh) { 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); 436 size = alignedw*alignedh + 437 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; 442 size = ALIGN((alignedw*alignedh) 398 getSize(int format, int width, int height, const int alignedw, const int alignedh) argument 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 | gpu.cpp | 266 int alignedw, alignedh; local 295 alignedh); 315 grallocFormat, alignedw, alignedh);
|
H A D | mapper.cpp | 357 int alignedw = 0, alignedh = 0; local 359 0, format, false, alignedw, alignedh);
|
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 398 const int alignedh) { 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); 432 size = alignedw*alignedh + 433 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; 438 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/ 397 getSize(int format, int width, int height, const int alignedw, const int alignedh) argument 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 | gpu.cpp | 269 int alignedw, alignedh; local 297 alignedh); 317 grallocFormat, alignedw, alignedh);
|
H A D | mapper.cpp | 357 int alignedw = 0, alignedh = 0; local 359 0, format, false, alignedw, alignedh);
|
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_allocator.cpp | 155 unsigned int alignedw, alignedh; local 172 GetAlignedWidthAndHeight(GetBufferInfo(*descriptors[i]), &alignedw, &alignedh); 173 unsigned int size = GetSize(GetBufferInfo(*descriptors[i]), alignedw, alignedh);
|
H A D | gr_utils.cpp | 178 unsigned int alignedh) { 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); 233 size = alignedw * alignedh 177 GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) argument 280 GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 604 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 671 GetAlignedWidthAndHeight(const BufferInfo &info, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_buf_mgr.cpp | 163 unsigned int alignedw = 0, alignedh = 0; local 166 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); 179 INT(alignedh), 476 unsigned int alignedw, alignedh; local 479 GetBufferSizeAndDimensions(info, &size, &alignedw, &alignedh); 520 INT(alignedh), 564 unsigned int alignedw = 0, alignedh = 0; local 573 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); 577 hnd->height = INT(alignedh); 587 unsigned int alignedw = 0, alignedh local 658 unsigned int alignedw, alignedh; local 806 unsigned int alignedw, alignedh; local 807 GetBufferSizeAndDimensions(GetBufferInfo(descriptor), &size, &alignedw, &alignedh); local [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | gpu.cpp | 58 int alignedh = 0; local 65 alignedh); 164 bufferType, format, alignedw, alignedh, 266 int alignedw, alignedh; local 326 alignedh);
|
H A D | mapper.cpp | 321 int alignedw = 0, alignedh = 0; local 335 height, format, 0, alignedw, alignedh); 337 hnd->height = alignedh; 352 int alignedw = 0, alignedh = 0; local 354 0, format, 0, alignedw, alignedh); 367 int alignedw = 0, alignedh = 0; local 368 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 383 int alignedw = 0, alignedh = 0; local 384 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 386 *height = alignedh; [all...] |
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 * alignedh, 819 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...] |
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | gpu.cpp | 58 int alignedh = 0; local 65 alignedh); 164 bufferType, format, alignedw, alignedh, 266 int alignedw, alignedh; local 326 alignedh);
|
H A D | mapper.cpp | 321 int alignedw = 0, alignedh = 0; local 335 height, format, 0, alignedw, alignedh); 337 hnd->height = alignedh; 352 int alignedw = 0, alignedh = 0; local 354 0, format, 0, alignedw, alignedh); 367 int alignedw = 0, alignedh = 0; local 368 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 383 int alignedw = 0, alignedh = 0; local 384 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 386 *height = alignedh; [all...] |
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 * alignedh, 819 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...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_allocator.cpp | 155 unsigned int alignedw, alignedh; local 172 GetAlignedWidthAndHeight(GetBufferInfo(*descriptors[i]), &alignedw, &alignedh); 173 unsigned int size = GetSize(GetBufferInfo(*descriptors[i]), alignedw, alignedh);
|
H A D | gr_utils.cpp | 178 unsigned int alignedh) { 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); 233 size = alignedw * alignedh 177 GetSize(const BufferInfo &info, unsigned int alignedw, unsigned int alignedh) argument 280 GetBufferSizeAndDimensions(const BufferInfo &info, unsigned int *size, unsigned int *alignedw, unsigned int *alignedh) argument 604 GetUBwcSize(int width, int height, int format, unsigned int alignedw, unsigned int alignedh) argument 671 GetAlignedWidthAndHeight(const BufferInfo &info, unsigned int *alignedw, unsigned int *alignedh) argument [all...] |
H A D | gr_buf_mgr.cpp | 163 unsigned int alignedw = 0, alignedh = 0; local 166 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); 179 INT(alignedh), 473 unsigned int alignedw, alignedh; local 476 GetBufferSizeAndDimensions(info, &size, &alignedw, &alignedh); 517 INT(alignedh), 561 unsigned int alignedw = 0, alignedh = 0; local 570 GetAlignedWidthAndHeight(info, &alignedw, &alignedh); 574 hnd->height = INT(alignedh); 584 unsigned int alignedw = 0, alignedh local 655 unsigned int alignedw, alignedh; local 805 unsigned int alignedw, alignedh; local 806 GetBufferSizeAndDimensions(GetBufferInfo(descriptor), &size, &alignedw, &alignedh); local [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 257 int& alignedw, int &alignedh) 262 alignedh = ALIGN(height, 32); 267 size = alignedw * alignedh * 4; 270 size = alignedw * alignedh * 3; 274 size = alignedw * alignedh * 2; 279 size = ALIGN(alignedw*alignedh, 4096); 287 size = ALIGN( alignedw * alignedh, 8192); 292 alignedh = height; 302 alignedh = height; 305 size = ALIGN(alignedw*alignedh, 204 256 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 356 int alignedw, alignedh; local [all...] |
H A D | gpu.cpp | 252 int alignedw, alignedh; local 275 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); 302 grallocFormat, alignedw, alignedh);
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | gpu.cpp | 287 int alignedw, alignedh; local 319 alignedh); 339 grallocFormat, alignedw, alignedh);
|
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); 533 size = alignedw*alignedh 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 | mapper.cpp | 409 int alignedw = 0, alignedh = 0; local 411 0, format, 0, alignedw, alignedh);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | gpu.cpp | 268 int alignedw, alignedh; local 323 alignedh); 334 grallocFormat, alignedw, alignedh);
|
H A D | mapper.cpp | 410 int alignedw = 0, alignedh = 0; local 412 0, format, 0, alignedw, alignedh); 425 int alignedw = 0, alignedh = 0; local 426 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 441 int alignedw = 0, alignedh = 0; local 442 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); 444 *height = alignedh;
|