Lines Matching refs:tnw
64 static uint32 tnw = 216; /* thumbnail width */ variable
88 case 'w': tnw = strtoul(optarg, NULL, 0); break; in main()
112 thumbnail = (uint8*) _TIFFmalloc(tnw * tnh); in main()
464 src0 = (uint8*) _TIFFmalloc(sizeof (uint8) * tnw); in initScale()
465 src1 = (uint8*) _TIFFmalloc(sizeof (uint8) * tnw); in initScale()
466 src2 = (uint8*) _TIFFmalloc(sizeof (uint8) * tnw); in initScale()
467 rowoff = (uint32*) _TIFFmalloc(sizeof (uint32) * tnw); in initScale()
480 if (stepSrcWidth != sw || stepDstWidth != tnw) { in setupStepTables()
482 int limit = tnw; in setupStepTables()
488 for (x = 0; x < tnw; x++) { in setupStepTables()
507 stepDstWidth = tnw; in setupStepTables()
516 for (x = 0; x < tnw; x++) { in setrow()
582 row += tnw; in setImage1()
589 filterWidth = (uint16) ceil((double) rw / (double) tnw); in setImage()
637 TIFFSetField(out, TIFFTAG_IMAGEWIDTH, (uint32) tnw); in generateThumbnail()
651 return (TIFFWriteEncodedStrip(out, 0, thumbnail, tnw*tnh) != -1 && in generateThumbnail()