| # | Line 327 | Line 327 | rsample() /* sample the image */ | |
|---|---|---|
| 327 | * difference, we subsample the super-pixels. The testing process | |
| 328 | * includes initialization of the next row. | |
| 329 | */ | |
| 330 | < | xsiz = (((pframe.r-pframe.l)<<pdepth)+hresolu-1) / hresolu; |
| 331 | < | ysiz = (((pframe.u-pframe.d)<<pdepth)+vresolu-1) / vresolu; |
| 330 | > | xsiz = (((long)(pframe.r-pframe.l)<<pdepth)+hresolu-1) / hresolu; |
| 331 | > | ysiz = (((long)(pframe.u-pframe.d)<<pdepth)+vresolu-1) / vresolu; |
| 332 | rl = (RECT *)malloc(xsiz*sizeof(RECT)); | |
| 333 | if (rl == NULL) | |
| 334 | return; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |