Lines Matching refs:scaleY

83 …scaleX, scaleY := calcFactors(width, height, float64(img.Bounds().Dx()), float64(img.Bounds().Dy()…
88 height = uint(0.7 + float64(img.Bounds().Dy())/scaleY)
102 return resizeNearest(width, height, scaleX, scaleY, img, interp)
130 coeffs, offset, filterLength = createWeights8(result.Bounds().Dy(), taps, blur, scaleY, kernel)
136 resizeRGBA(temp, slice, scaleY, coeffs, offset, filterLength)
159 coeffs, offset, filterLength = createWeights8(result.Bounds().Dy(), taps, blur, scaleY, kernel)
165 resizeRGBA(temp, slice, scaleY, coeffs, offset, filterLength)
190 coeffs, offset, filterLength = createWeights8(result.Bounds().Dy(), taps, blur, scaleY, kernel)
196 resizeYCbCr(temp, slice, scaleY, coeffs, offset, filterLength)
219 coeffs, offset, filterLength = createWeights16(result.Bounds().Dy(), taps, blur, scaleY, kernel)
225 resizeRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
248 coeffs, offset, filterLength = createWeights16(result.Bounds().Dy(), taps, blur, scaleY, kernel)
254 resizeRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
277 coeffs, offset, filterLength = createWeights8(result.Bounds().Dy(), taps, blur, scaleY, kernel)
283 resizeGray(temp, slice, scaleY, coeffs, offset, filterLength)
306 coeffs, offset, filterLength = createWeights16(result.Bounds().Dy(), taps, blur, scaleY, kernel)
312 resizeGray16(temp, slice, scaleY, coeffs, offset, filterLength)
335 coeffs, offset, filterLength = createWeights16(result.Bounds().Dy(), taps, blur, scaleY, kernel)
341 resizeRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
349 func resizeNearest(width, height uint, scaleX, scaleY float64, img image.Image, interp Interpolatio…
373 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
379 nearestRGBA(temp, slice, scaleY, coeffs, offset, filterLength)
402 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
408 nearestNRGBA(temp, slice, scaleY, coeffs, offset, filterLength)
432 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
438 nearestYCbCr(temp, slice, scaleY, coeffs, offset, filterLength)
461 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
467 nearestRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
490 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
496 nearestNRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
519 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
525 nearestGray(temp, slice, scaleY, coeffs, offset, filterLength)
548 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
554 nearestGray16(temp, slice, scaleY, coeffs, offset, filterLength)
577 coeffs, offset, filterLength = createWeightsNearest(result.Bounds().Dy(), taps, blur, scaleY)
583 nearestRGBA64(temp, slice, scaleY, coeffs, offset, filterLength)
593 func calcFactors(width, height uint, oldWidth, oldHeight float64) (scaleX, scaleY float64) {
597 scaleY = 1.0
599 scaleY = oldHeight / float64(height)
600 scaleX = scaleY
605 scaleY = scaleX
607 scaleY = oldHeight / float64(height)