Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/hwc3/
DLayer.cpp192 HWC3::Error Layer::setSourceCrop(common::FRect crop) { in setSourceCrop() argument
194 __FUNCTION__, mId, crop.left, crop.top, crop.right, crop.bottom); in setSourceCrop()
196 mSourceCrop = crop; in setSourceCrop()
201 common::FRect crop = mSourceCrop; in getSourceCrop() local
203 __FUNCTION__, mId, crop.left, crop.top, crop.right, crop.bottom); in getSourceCrop()
205 return crop; in getSourceCrop()
209 common::Rect crop = {}; in getSourceCropInt() local
210 crop.left = static_cast<int>(mSourceCrop.left); in getSourceCropInt()
211 crop.top = static_cast<int>(mSourceCrop.top); in getSourceCropInt()
212 crop.right = static_cast<int>(mSourceCrop.right); in getSourceCropInt()
[all …]
DGuestFrameComposer.cpp46 common::Rect crop = layer.getSourceCropInt(); in LayerNeedsScaling() local
49 int fromW = crop.right - crop.left; in LayerNeedsScaling()
50 int fromH = crop.bottom - crop.top; in LayerNeedsScaling()
DLayer.h69 HWC3::Error setSourceCrop(common::FRect crop);
DHostFrameComposer.cpp104 hwc_frect_t crop; member
594 l->crop = AsHwcFrect(layer->getSourceCrop()); in presentDisplay()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
DSimpleC2Component.cpp623 const std::shared_ptr<C2GraphicBlock> &block, const C2Rect &crop) { in createGraphicBuffer() argument
624 return C2Buffer::CreateGraphicBuffer(block->share(crop, ::C2Fence())); in createGraphicBuffer()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
DSimpleC2Component.h157 const C2Rect &crop);