Home
last modified time | relevance | path

Searched refs:outCrop (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp351 Rect outCrop = crop; in scaleDownCrop() local
371 outCrop.left += halfdw; in scaleDownCrop()
373 outCrop.right -= (dw - halfdw); in scaleDownCrop()
378 outCrop.top += halfdh; in scaleDownCrop()
380 outCrop.bottom -= (dh - halfdh); in scaleDownCrop()
383 ALOGV("getCurrentCrop final crop [%d,%d,%d,%d]", outCrop.left, outCrop.top, outCrop.right, in scaleDownCrop()
384 outCrop.bottom); in scaleDownCrop()
386 return outCrop; in scaleDownCrop()
/frameworks/native/libs/gui/
DGLConsumer.cpp749 Rect outCrop = crop; in scaleDownCrop() local
769 outCrop.left += halfdw; in scaleDownCrop()
771 outCrop.right -= (dw - halfdw); in scaleDownCrop()
776 outCrop.top += halfdh; in scaleDownCrop()
778 outCrop.bottom -= (dh - halfdh); in scaleDownCrop()
782 outCrop.left, outCrop.top, in scaleDownCrop()
783 outCrop.right,outCrop.bottom); in scaleDownCrop()
785 return outCrop; in scaleDownCrop()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h318 Rect* outCrop, int* outScalingMode,
325 *outCrop = crop;
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp1079 status_t encodeCrop(const std::vector<Rect>& crop, hidl_vec<uint8_t>* outCrop) { in encodeCrop() argument
1080 return encodeMetadata(MetadataType_Crop, crop, outCrop, encodeCropHelper); in encodeCrop()
1083 status_t decodeCrop(const hidl_vec<uint8_t>& crop, std::vector<Rect>* outCrop) { in decodeCrop() argument
1084 return decodeMetadata(MetadataType_Crop, crop, outCrop, decodeCropHelper, clearCrop); in decodeCrop()
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h498 …::android::hardware::graphics::common::Rect>& crop, android::hardware::hidl_vec<uint8_t>* outCrop);
499 …e::hidl_vec<uint8_t>& crop, std::vector<aidl::android::hardware::graphics::common::Rect>* outCrop);