Home
last modified time | relevance | path

Searched refs:sourceCrop (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcRects.cpp149 sourceCrop(defaultSourceCrop), in Rectangle()
158 struct hwc_rect sourceCrop; member in Rectangle
323 layer->sourceCrop = it->sourceCrop; in main()
400 rect.sourceCrop.left = 0; in parseRect()
401 rect.sourceCrop.top = 0; in parseRect()
402 rect.sourceCrop.right = rect.sourceDim.width(); in parseRect()
403 rect.sourceCrop.bottom = rect.sourceDim.height(); in parseRect()
476 rect.sourceCrop = hwcTestParseHwcRect(in, error); in parseRect()
490 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width()) in parseRect()
491 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width()) in parseRect()
[all …]
DhwcStress.cpp441 layer->sourceCrop.left = testRandMod(gBuf->getWidth()); in main()
442 layer->sourceCrop.top = testRandMod(gBuf->getHeight()); in main()
443 layer->sourceCrop.right = layer->sourceCrop.left in main()
444 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1; in main()
445 layer->sourceCrop.bottom = layer->sourceCrop.top in main()
446 + testRandMod(gBuf->getHeight() - layer->sourceCrop.top) + 1; in main()
462 int sourceWidth = layer->sourceCrop.right in main()
463 - layer->sourceCrop.left; in main()
464 int sourceHeight = layer->sourceCrop.bottom in main()
465 - layer->sourceCrop.top; in main()
DhwcColorEquiv.cpp359 layer->sourceCrop.left = 0; in main()
360 layer->sourceCrop.top = 0; in main()
361 layer->sourceCrop.right = width; in main()
362 layer->sourceCrop.bottom = refHeight; in main()
373 layer->sourceCrop.left = 0; in main()
374 layer->sourceCrop.top = 0; in main()
375 layer->sourceCrop.right = width; in main()
376 layer->sourceCrop.bottom = equivHeight; in main()
DhwcCommit.cpp131 HwcTestDim sourceCrop; member
177 struct hwc_rect sourceCrop; member in Rectangle
256 struct sourceCrop { struct
511 == searchLimits.sourceCrop.width()) ? ">= " : "", in main()
516 == searchLimits.sourceCrop.height()) ? ">= " : "", in main()
524 >= searchLimits.sourceCrop.width()) in main()
526 searchLimits.sourceCrop.height())) ? ">= " : "", in main()
536 >= Rational(searchLimits.sourceCrop.width(), in main()
551 >= Rational(searchLimits.sourceCrop.height(), in main()
955 for (w = searchLimits.sourceCrop.width(); w >= dfDim.width(); w--) { in scMaxWidth()
[all …]
DhwcTestLib.cpp476 hwcTestRect2str(list->hwLayers[layer].sourceCrop).c_str()); in hwcTestDisplayList()
480 (float) (list->hwLayers[layer].sourceCrop.right in hwcTestDisplayList()
481 - list->hwLayers[layer].sourceCrop.left) in hwcTestDisplayList()
484 (float) (list->hwLayers[layer].sourceCrop.bottom in hwcTestDisplayList()
485 - list->hwLayers[layer].sourceCrop.top) in hwcTestDisplayList()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp526 disp.framebufferTarget->sourceCrop = r; in createWorkList()
889 reinterpret_cast<Rect&>(getLayer()->sourceCrop) = crop; in setCrop()
1024 … l.sourceCrop.left, l.sourceCrop.top, l.sourceCrop.right, l.sourceCrop.bottom, in dump()