Home
last modified time | relevance | path

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

/external/tesseract/liblept/
Drotateamlow.c59 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorLow() local
78 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMColorLow()
80 yp = ycen + (ypm >> 4); in rotateAMColorLow()
82 yf = ypm & 0x0f; in rotateAMColorLow()
135 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMGrayLow() local
154 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMGrayLow()
156 yp = ycen + (ypm >> 4); in rotateAMGrayLow()
158 yf = ypm & 0x0f; in rotateAMGrayLow()
200 l_int32 xpm, ypm, xp, yp, xf, yf; in rotateAMColorCornerLow() local
215 ypm = (l_int32)(i * cosa - j * sina); in rotateAMColorCornerLow()
[all …]
Daffine.c1021 l_int32 xpm, ypm, xp, yp, xf, yf; in linearInterpolatePixelColor() local
1039 ypm = (l_int32)(16.0 * y + 0.5); in linearInterpolatePixelColor()
1041 yp = ypm >> 4; in linearInterpolatePixelColor()
1043 yf = ypm & 0x0f; in linearInterpolatePixelColor()
1101 l_int32 xpm, ypm, xp, yp, xf, yf, v00, v10, v01, v11; in linearInterpolatePixelGray() local
1117 ypm = (l_int32)(16.0 * y + 0.5); in linearInterpolatePixelGray()
1119 yp = ypm >> 4; in linearInterpolatePixelGray()
1121 yf = ypm & 0x0f; in linearInterpolatePixelGray()
Dscalelow.c120 l_int32 xpm, ypm; /* location in src image, to 1/16 of a pixel */ in scaleColorLILow() local
140 ypm = (l_int32)(scy * (l_float32)i); in scaleColorLILow()
141 yp = ypm >> 4; in scaleColorLILow()
142 yf = ypm & 0x0f; in scaleColorLILow()
212 l_int32 xpm, ypm; /* location in src image, to 1/16 of a pixel */ in scaleGrayLILow() local
231 ypm = (l_int32)(scy * (l_float32)i); in scaleGrayLILow()
232 yp = ypm >> 4; in scaleGrayLILow()
233 yf = ypm & 0x0f; in scaleGrayLILow()