Searched refs:shrinkAmount (Results 1 – 4 of 4) sorted by relevance
70 float shrinkAmount = 0.0f; in computeTransformMatrix() local88 shrinkAmount = 0.5; in computeTransformMatrix()94 shrinkAmount = 1.0; in computeTransformMatrix()101 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()102 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / in computeTransformMatrix()106 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeTransformMatrix()108 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / in computeTransformMatrix()
84 float shrinkAmount = 0.0f; in adjustCropForYUV() local90 shrinkAmount = 0.5f; in adjustCropForYUV()98 cropRect->inset(shrinkAmount, 0); in adjustCropForYUV()102 cropRect->inset(0, shrinkAmount); in adjustCropForYUV()
300 float shrinkAmount = 0.0f; in computeTransformMatrix() local318 shrinkAmount = 0.5; in computeTransformMatrix()324 shrinkAmount = 1.0; in computeTransformMatrix()331 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()332 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / bufferWidth; in computeTransformMatrix()335 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / bufferHeight; in computeTransformMatrix()336 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / bufferHeight; in computeTransformMatrix()
134 float shrinkAmount = 0.0f; in copySurfaceInto() local140 shrinkAmount = 0.5f; in copySurfaceInto()148 imageSrcRect = imageSrcRect.makeInset(shrinkAmount, 0); in copySurfaceInto()151 imageSrcRect = imageSrcRect.makeInset(0, shrinkAmount); in copySurfaceInto()