Lines Matching +refs:new +refs:cols

29 static imT* my_allocarray(int cols, int rows)  in my_allocarray()  argument
32 if ((arr = malloc(sizeof(imT)*cols*rows)) == NULL) in my_allocarray()
37 int getnewsize(int cols, int rows, float fangle, int *newcols, int *newrows) in getnewsize() argument
54 tempcols = rows * xshearfac + cols + 0.999999; in getnewsize()
55 yshearjunk = ( tempcols - cols ) * yshearfac; in getnewsize()
66 int rotate(imT *im, imT *out, int cols, int rows, int nc, int nr, in rotate() argument
72 int tempcols, newcols, yshearjunk, x2shearjunk, row, col, new, newrows; in rotate() local
89 tempcols = rows * xshearfac + cols + 0.999999; in rotate()
90 yshearjunk = ( tempcols - cols ) * yshearfac; in rotate()
104 xelrow = im + row * cols; /* current row to process */ in rotate()
122 col < cols; ++col, ++nxP, ++xP ) in rotate()
128 if ( fracnew0 > 0 && intnew0 + cols < tempcols ) in rotate()
140 for ( col = 0, xP = xelrow; col < cols; ++col, ++nxP, ++xP ) in rotate()
142 for ( col = intnew0 + cols; col < tempcols; ++col, ++nxP ) in rotate()
167 new = row + intnew0; in rotate()
168 if ( new >= 0 && new < newrows ) in rotate()
170 nxP = temp2xels+new*tempcols+col; in rotate()
189 new = row + intnew0; in rotate()
190 if ( new >= 0 && new < newrows ) in rotate()
191 temp2xels[new*tempcols+col] = temp1xels[row*tempcols+col]; in rotate()
218 new = intnew0 + col; in rotate()
219 if ( new >= 0 && new < newcols ) in rotate()
221 nxP = &(newxelrow[new]); in rotate()
241 new = intnew0 + col; in rotate()
242 if ( new >= 0 && new < newcols ) in rotate()
243 newxelrow[new] = *xP; in rotate()