/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 257 int& alignedw, int &alignedh) in getBufferSizeAndDimensions() argument 261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); 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() 286 alignedw = ALIGN(alignedw, 128); in getBufferSizeAndDimensions() 287 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions() 288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getBufferSizeAndDimensions() 291 alignedw = ALIGN(width, 16); in getBufferSizeAndDimensions() [all …]
|
D | gpu.cpp | 252 int alignedw, alignedh; in alloc_impl() local 275 size = getBufferSizeAndDimensions(w, h, grallocFormat, alignedw, alignedh); in alloc_impl() 302 grallocFormat, alignedw, alignedh); in alloc_impl() 309 *pStride = alignedw; in alloc_impl()
|
D | gr.h | 51 int& alignedw, int &alignedh);
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 394 size_t getSize(int format, int width, int height, const int alignedw, in getSize() argument 402 size = alignedw * alignedh * 4; in getSize() 405 size = alignedw * alignedh * 3; in getSize() 409 size = alignedw * alignedh * 2; in getSize() 412 size = ALIGN(alignedw * alignedh, 4096); in getSize() 417 size = ALIGN(alignedw*alignedh, 4096); in getSize() 424 size = ALIGN( alignedw * alignedh, 8192); in getSize() 425 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getSize() 432 size = alignedw*alignedh + in getSize() 433 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; 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);
|
D | gpu.cpp | 265 int alignedw, alignedh; in alloc_impl() local 293 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 314 grallocFormat, alignedw, alignedh); in alloc_impl() 321 *pStride = alignedw; in alloc_impl()
|
D | mapper.cpp | 357 int alignedw = 0, alignedh = 0; in gralloc_perform() local 359 0, format, false, alignedw, alignedh); in gralloc_perform() 360 *stride = alignedw; in gralloc_perform()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 410 unsigned int getSize(int format, int width, int height, const int alignedw, in getSize() argument 418 size = alignedw * alignedh * 4; in getSize() 421 size = alignedw * alignedh * 3; in getSize() 425 size = alignedw * alignedh * 2; in getSize() 430 size = ALIGN(alignedw*alignedh, 4096); in getSize() 437 size = ALIGN( alignedw * alignedh, 8192); in getSize() 438 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getSize() 445 size = alignedw*alignedh + in getSize() 446 (ALIGN(alignedw/2, 16) * (alignedh/2))*2; in getSize() 451 size = ALIGN((alignedw*alignedh) + (alignedw* alignedh)/2 + 1, 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);
|
D | gpu.cpp | 282 int alignedw, alignedh; in alloc_impl() local 309 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 330 grallocFormat, alignedw, alignedh); in alloc_impl() 337 *pStride = alignedw; in alloc_impl()
|
D | mapper.cpp | 356 int alignedw = 0, alignedh = 0; in gralloc_perform() local 358 0, format, false, alignedw, alignedh); in gralloc_perform() 359 *stride = alignedw; in gralloc_perform()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 397 unsigned int getSize(int format, int width, int height, const int alignedw, 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() 425 size += ALIGN( alignedw * ALIGN(height/2, 32), 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() [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);
|
D | gpu.cpp | 269 int alignedw, alignedh; in alloc_impl() local 296 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 317 grallocFormat, alignedw, alignedh); in alloc_impl() 324 *pStride = alignedw; in alloc_impl()
|
D | mapper.cpp | 357 int alignedw = 0, alignedh = 0; in gralloc_perform() local 359 0, format, false, alignedw, alignedh); in gralloc_perform() 360 *stride = alignedw; in gralloc_perform()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 482 const int alignedw, const int alignedh) { in getSize() argument 485 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 493 size = alignedw * alignedh * 4; in getSize() 496 size = alignedw * alignedh * 3; in getSize() 502 size = alignedw * alignedh * 2; in getSize() 505 size = ALIGN(alignedw * alignedh, 4096); in getSize() 509 size = ALIGN(alignedw*alignedh, 4096); in getSize() 516 size = ALIGN( alignedw * alignedh, 8192); in getSize() 517 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getSize() 524 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);
|
D | gpu.cpp | 279 int alignedw, alignedh; in alloc_impl() local 310 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 331 grallocFormat, alignedw, alignedh); in alloc_impl() 338 *pStride = alignedw; in alloc_impl()
|
D | mapper.cpp | 344 int alignedw = 0, alignedh = 0; in gralloc_perform() local 346 0, format, 0, alignedw, alignedh); in gralloc_perform() 347 *stride = alignedw; in gralloc_perform()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 547 const int alignedw, const int alignedh) { in getSize() argument 550 return getUBwcSize(width, height, format, alignedw, alignedh); in getSize() 566 size = alignedw * alignedh * 4; in getSize() 569 size = alignedw * alignedh * 3; in getSize() 576 size = alignedw * alignedh * 2; in getSize() 579 size = ALIGN(alignedw * alignedh, 4096); in getSize() 584 size = ALIGN(alignedw*alignedh, 4096); in getSize() 591 size = ALIGN( alignedw * alignedh, 8192); in getSize() 592 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getSize() 599 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);
|
D | mapper.cpp | 338 int alignedw = 0, alignedh = 0; in gralloc_perform() local 340 0, format, 0, alignedw, alignedh); in gralloc_perform() 341 *stride = alignedw; in gralloc_perform() 353 int alignedw = 0, alignedh = 0; in gralloc_perform() local 354 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 355 *stride = alignedw; in gralloc_perform() 369 int alignedw = 0, alignedh = 0; in gralloc_perform() local 370 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(hnd, alignedw, alignedh); in gralloc_perform() 371 *stride = alignedw; in gralloc_perform()
|
D | gpu.cpp | 264 int alignedw, alignedh; in alloc_impl() local 318 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw, in alloc_impl() 330 grallocFormat, alignedw, alignedh); in alloc_impl() 337 *pStride = alignedw; in alloc_impl()
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 464 size_t alignedw = ALIGN(width, ALIGN16); in calcYSize() local 465 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); in calcYSize() 482 int32_t alignedw = 0; in calcSize() local 494 &alignedw, &alignedh); in calcSize() 495 size = alignedw * alignedh * bpp; in calcSize() 501 &alignedw, &alignedh); in calcSize() 505 size = alignedw * alignedh * bpp; in calcSize() 509 alignedw = ALIGN(width, ALIGN16); in calcSize() 510 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); in calcSize() 513 alignedw = ALIGN(width, ALIGN16); in calcSize() [all …]
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 429 size_t alignedw = ALIGN(width, ALIGN16); in calcYSize() local 430 size_t lumaSize = ALIGN(alignedw * height, ALIGN2K); in calcYSize() 442 int32_t alignedw = 0; in calcSize() local 459 alignedw = ALIGN(width, ALIGN16); in calcSize() 460 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN32) * (height/2) * 2), ALIGN4K); in calcSize() 466 alignedw = ALIGN(width, ALIGN16); in calcSize() 467 size = ALIGN((alignedw * height) + (ALIGN(width/2, ALIGN16) * (height/2) * 2), ALIGN4K); in calcSize() 470 alignedw = ALIGN(width, ALIGN128); in calcSize() 472 … size = ALIGN(alignedw * alignedh, ALIGN8K) + ALIGN(alignedw * ALIGN(height/2, ALIGN32), ALIGN8K); in calcSize() 475 alignedw = ALIGN(width, ALIGN16); in calcSize() [all …]
|