Home
last modified time | relevance | path

Searched refs:ydif (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
73 ydif = ycen - i; in rotateAMColorLow()
77 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMColorLow()
78 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMColorLow()
135 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMGrayLow() local
149 ydif = ycen - i; in rotateAMGrayLow()
153 xpm = (l_int32)(-xdif * cosa - ydif * sina); in rotateAMGrayLow()
154 ypm = (l_int32)(-ydif * cosa + xdif * sina); in rotateAMGrayLow()
404 l_int32 xdif, ydif, xpm, ypm, xp, yp, xf, yf; in rotateAMColorFastLow() local
417 ydif = ycen - i; in rotateAMColorFastLow()
[all …]
Dboxfunc2.c253 l_float32 sina, cosa, xdif, ydif, rx, ry, rw, rh; in boxTransformOrdered() local
281 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered()
284 rx = xcent + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
285 ry = ycent + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered()
301 ydif = ty + 0.5 * th - ycent; in boxTransformOrdered()
304 rx = xcent + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
305 ry = ycent + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered()
319 ydif = by + 0.5 * bh - ycen; in boxTransformOrdered()
322 rx = xcen + xdif * cosa - ydif * sina - 0.5 * rw; in boxTransformOrdered()
323 ry = ycen + ydif * cosa + xdif * sina - 0.5 * rh; in boxTransformOrdered()
[all …]
Drotate.c287 l_int32 w, h, d, i, j, x, y, xdif, ydif, wm1, hm1, wpld; in pixRotateBySampling() local
323 ydif = ycen - i; in pixRotateBySampling()
326 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
328 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling()
346 ydif = ycen - i; in pixRotateBySampling()
349 x = xcen + (l_int32)(-xdif * cosa - ydif * sina); in pixRotateBySampling()
351 y = ycen + (l_int32)(-ydif * cosa + xdif * sina); in pixRotateBySampling()