Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp2914 CropRegion previewCrop = calculateCropRegion(/*previewOnly*/ true); in cropXToArray() local
2915 ALOG_ASSERT(x < previewCrop.width, "Crop-relative X coordinate = '%d' " in cropXToArray()
2916 "is out of bounds (upper = %f)", x, previewCrop.width); in cropXToArray()
2918 int ret = x + previewCrop.left; in cropXToArray()
2930 CropRegion previewCrop = calculateCropRegion(/*previewOnly*/ true); in cropYToArray() local
2931 ALOG_ASSERT(y < previewCrop.height, "Crop-relative Y coordinate = '%d' is " in cropYToArray()
2932 "out of bounds (upper = %f)", y, previewCrop.height); in cropYToArray()
2934 int ret = y + previewCrop.top; in cropYToArray()
2945 CropRegion previewCrop = calculateCropRegion(/*previewOnly*/ true); in normalizedXToCrop() local
2946 return (x + 1000) * (previewCrop.width - 1) / 2000; in normalizedXToCrop()
[all …]