Lines Matching defs:npixels
190 tmsize_t npixels;
200 npixels = occ / sp->pixel_size;
205 assert(sp->tbuflen >= npixels);
208 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0]));
214 for (i = 0; i < npixels && cc > 0; )
219 while (rc-- && i < npixels)
223 while (--cc && rc-- && i < npixels)
226 if (i != npixels) {
231 (unsigned __int64) (npixels - i));
236 (unsigned long long) (npixels - i));
243 (*sp->tfunc)(sp, op, npixels);
259 tmsize_t npixels;
266 npixels = occ / sp->pixel_size;
271 assert(sp->tbuflen >= npixels);
277 for (i = 0; i < npixels && cc > 0; i++) {
284 if (i != npixels) {
289 (unsigned __int64) (npixels - i));
294 (unsigned long long) (npixels - i));
298 (*sp->tfunc)(sp, op, npixels);
312 tmsize_t npixels;
323 npixels = occ / sp->pixel_size;
328 assert(sp->tbuflen >= npixels);
331 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0]));
337 for (i = 0; i < npixels && cc > 0; )
342 while (rc-- && i < npixels)
346 while (--cc && rc-- && i < npixels)
349 if (i != npixels) {
354 (unsigned __int64) (npixels - i));
359 (unsigned long long) (npixels - i));
366 (*sp->tfunc)(sp, op, npixels);
420 tmsize_t npixels;
430 npixels = cc / sp->pixel_size;
436 assert(sp->tbuflen >= npixels);
437 (*sp->tfunc)(sp, bp, npixels);
443 for (i = 0; i < npixels; i += rc) {
453 for (beg = i; beg < npixels; beg += rc) {
456 while (rc < 127+2 && beg+rc < npixels &&
511 tmsize_t npixels;
518 npixels = cc / sp->pixel_size;
524 assert(sp->tbuflen >= npixels);
525 (*sp->tfunc)(sp, bp, npixels);
530 for (i = npixels; i--; ) {
560 tmsize_t npixels;
571 npixels = cc / sp->pixel_size;
577 assert(sp->tbuflen >= npixels);
578 (*sp->tfunc)(sp, bp, npixels);
584 for (i = 0; i < npixels; i += rc) {
594 for (beg = i; beg < npixels; beg += rc) {
597 while (rc < 127+2 && beg+rc < npixels &&