Searched refs:mSourceCrop (Results 1 – 12 of 12) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | ExynosLayer.cpp | 76 memset(&mSourceCrop, 0, sizeof(mSourceCrop)); 169 mPreprocessedInfo.sourceCrop = mSourceCrop; in doPreProcess() 194 mPreprocessedInfo.sourceCrop.top = (int)mSourceCrop.top; in doPreProcess() 195 mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left; in doPreProcess() 196 mPreprocessedInfo.sourceCrop.bottom = (int)(mSourceCrop.bottom + 0.9); in doPreProcess() 197 mPreprocessedInfo.sourceCrop.right = (int)(mSourceCrop.right + 0.9); in doPreProcess() 242 if ((int)mSourceCrop.left < (int)(gmeta.stride)) { in doPreProcess() 243 … mPreprocessedInfo.sourceCrop.left = (int)mSourceCrop.left + gmeta.stride; in doPreProcess() 244 … mPreprocessedInfo.sourceCrop.right = (int)mSourceCrop.right + gmeta.stride; in doPreProcess() 249 mPreprocessedInfo.sourceCrop.top = (int)(mSourceCrop.top)/2; in doPreProcess() [all …]
|
D | ExynosLayer.h | 223 hwc_frect_t mSourceCrop; variable
|
D | ExynosDisplay.cpp | 5883 (hwcRects[j].right - hwcRects[j].left > WIDTH(layer->mSourceCrop)) || in getLayerRegion() 5884 (hwcRects[j].bottom - hwcRects[j].top > HEIGHT(layer->mSourceCrop))) { in getLayerRegion() 5891 rect.left = layer->mDisplayFrame.left + hwcRects[j].left - layer->mSourceCrop.left; in getLayerRegion() 5892 rect.top = layer->mDisplayFrame.top + hwcRects[j].top - layer->mSourceCrop.top; in getLayerRegion() 5893 rect.right = layer->mDisplayFrame.left + hwcRects[j].right - layer->mSourceCrop.left; in getLayerRegion() 5894 rect.bottom = layer->mDisplayFrame.top + hwcRects[j].bottom - layer->mSourceCrop.top; in getLayerRegion()
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ReadbackVts.cpp | 32 writer->setLayerSourceCrop(mSourceCrop); in write() 275 const float scaleX = (mSourceCrop.right - mSourceCrop.left) / (mWidth); in toRenderEngineLayerSettings() 276 const float scaleY = (mSourceCrop.bottom - mSourceCrop.top) / (mHeight); in toRenderEngineLayerSettings() 277 const float translateX = mSourceCrop.left / (mWidth); in toRenderEngineLayerSettings() 278 const float translateY = mSourceCrop.top / (mHeight); in toRenderEngineLayerSettings()
|
/hardware/interfaces/graphics/composer/aidl/vts/ |
D | ReadbackVts.cpp | 31 writer.setLayerSourceCrop(mDisplay, mLayer, mSourceCrop); in write() 335 const float scaleX = (mSourceCrop.right - mSourceCrop.left) / (static_cast<float>(mWidth)); in toRenderEngineLayerSettings() 336 const float scaleY = (mSourceCrop.bottom - mSourceCrop.top) / (static_cast<float>(mHeight)); in toRenderEngineLayerSettings() 337 const float translateX = mSourceCrop.left / (static_cast<float>(mWidth)); in toRenderEngineLayerSettings() 338 const float translateY = mSourceCrop.top / (static_cast<float>(mHeight)); in toRenderEngineLayerSettings()
|
D | ReadbackVts.h | 69 void setSourceCrop(FRect crop) { mSourceCrop = crop; } in setSourceCrop() 102 FRect mSourceCrop = {0, 0, 0, 0}; variable
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/ |
D | ReadbackVts.h | 66 void setSourceCrop(IComposerClient::FRect crop) { mSourceCrop = crop; } in setSourceCrop() 83 IComposerClient::FRect mSourceCrop = {0, 0, 0, 0}; variable
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | HWC2On1Adapter.cpp | 1987 mSourceCrop(*this, {0.0f, 0.0f, -1.0f, -1.0f}), 2080 mSourceCrop.setPending(crop); in setSourceCrop() 2180 frectString(mSourceCrop.getValue()) << '\n'; in dump() 2225 if (applyAllState || mSourceCrop.isDirty()) { in applyCommonState() 2227 auto pending = mSourceCrop.getPendingValue(); in applyCommonState() 2237 hwc1Layer.sourceCropf = mSourceCrop.getPendingValue(); in applyCommonState() 2239 mSourceCrop.latch(); in applyCommonState()
|
D | HWC2On1Adapter.h | 569 LatchedState<hwc_frect_t> mSourceCrop; variable
|
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/ |
D | ExynosPrimaryDisplay.cpp | 1647 float srcWidth = mLayers[i]->mSourceCrop.right - mLayers[i]->mSourceCrop.left; in checkBtsReassignResource() 1648 float srcHeight = mLayers[i]->mSourceCrop.bottom - mLayers[i]->mSourceCrop.top; in checkBtsReassignResource()
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 1916 mSourceCrop({0.0f, 0.0f, -1.0f, -1.0f}), 2005 mSourceCrop = crop; in setSourceCrop() 2103 frectString(mSourceCrop) << '\n'; in dump() 2139 auto pending = mSourceCrop; in applyCommonState() 2149 hwc1Layer.sourceCropf = mSourceCrop; in applyCommonState()
|
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 598 hwc_frect_t mSourceCrop; variable
|