Home | History | Annotate | Download | only in test

Lines Matching refs:col

79 	int index, row, col, halfway=16;
86 for(col=0; col<w; col++)
88 if(flags&TJFLAG_BOTTOMUP) index=(h-row-1)*w+col;
89 else index=row*w+col;
90 if(((row/8)+(col/8))%2==0) buf[index]=(row<halfway)? 255:0;
99 for(col=0; col<w; col++)
101 if(flags&TJFLAG_BOTTOMUP) index=(h-row-1)*w+col;
102 else index=row*w+col;
103 if(((row/8)+(col/8))%2==0)
126 #v, row, col, cv, v); \
132 printf("\nComp. %s at %d,%d should be 0, not %d\n", #v, row, col, v); \
138 printf("\nComp. %s at %d,%d should be 255, not %d\n", #v, row, col, v); \
151 int index, row, col, retval=1;
157 for(col=0; col<w; col++)
160 if(flags&TJFLAG_BOTTOMUP) index=(h-row-1)*w+col;
161 else index=row*w+col;
166 if(((row/blocksize)+(col/blocksize))%2==0)
212 for(col=0; col<w; col++)
214 printf("%.3d/%.3d/%.3d ", buf[(row*w+col)*ps+roffset],
215 buf[(row*w+col)*ps+goffset], buf[(row*w+col)*ps+boffset]);