Home
last modified time | relevance | path

Searched refs:bps (Results 1 – 9 of 9) sorted by relevance

/libtiff-4.0.7/tools/
H A Dtiffcrop.c400 uint16 bps; member
1236 uint16 bps; in writeBufferToContigTiles() local
5912 image->bps = bps; in loadImage()
6289 bps = image->bps; in extractCompositeRegions()
6538 bps = image->bps; in extractSeparateRegion()
6677 bps = image->bps; in extractImageSection()
7059 bps = image->bps; in writeSingleSection()
7206 if (((bps % 8) == 0) || ((bps % 12) == 0)) in writeSingleSection()
7732 bps = image->bps; in writeCroppedImage()
7877 if (((bps % 8) == 0) || ((bps % 12) == 0)) in writeCroppedImage()
[all …]
H A Dtiffcp.c1381 uint16 bps, bytes_per_sample; in DECLAREreadFunc() local
1389 (void) TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bps); in DECLAREreadFunc()
1390 assert( bps % 8 == 0 ); in DECLAREreadFunc()
1391 bytes_per_sample = bps/8; in DECLAREreadFunc()
1566 uint16 bps, bytes_per_sample; in DECLAREwriteFunc() local
1574 (void) TIFFGetField(out, TIFFTAG_BITSPERSAMPLE, &bps); in DECLAREwriteFunc()
1575 assert( bps % 8 == 0 ); in DECLAREwriteFunc()
1576 bytes_per_sample = bps/8; in DECLAREwriteFunc()
H A Dthumbnail.c600 uint16 bps, spp; in generateThumbnail() local
607 TIFFGetFieldDefaulted(in, TIFFTAG_BITSPERSAMPLE, &bps); in generateThumbnail()
610 if (spp != 1 || bps != 1) in generateThumbnail()
/libtiff-4.0.7/test/
H A Dstrip_rw.c59 uint16 spp, bps, photometric, sampleformat, planarconfig; in main() local
70 bps = 8; in main()
76 compression, spp, bps, photometric, in main()
83 compression, spp, bps, photometric, in main()
92 compression, spp, bps, photometric, in main()
99 compression, spp, bps, photometric, in main()
112 bps = 8; in main()
118 compression, spp, bps, photometric, in main()
125 compression, spp, bps, photometric, in main()
135 compression, spp, bps, photometric, in main()
[all …]
H A Dstrip.c122 uint16 spp, uint16 bps, uint16 photometric, in create_image_striped() argument
141 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bps)) { in create_image_striped()
178 compression, bps, spp, sampleformat, planarconfig, in create_image_striped()
186 uint16 spp, uint16 bps, uint16 photometric, in read_image_striped() argument
215 || value_u16 != bps) { in read_image_striped()
256 compression, bps, spp, sampleformat, planarconfig, in read_image_striped()
H A Dshort_tag.c48 const uint16 bps = 8; variable
102 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bps)) { in main()
163 if (CheckShortField(tif, TIFFTAG_BITSPERSAMPLE, bps) < 0) in main()
H A Dcustom_dir.c49 const uint16 bps = 8; variable
89 if (!TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bps)) { in main()
/libtiff-4.0.7/libtiff/
H A Dtif_predict.c408 uint32 bps = tif->tif_dir.td_bitspersample / 8; in fpAcc() local
409 tmsize_t wc = cc / bps; in fpAcc()
414 if(cc%(bps*stride)!=0) in fpAcc()
435 for (byte = 0; byte < bps; byte++) { in fpAcc()
439 cp[bps * count + byte] = in fpAcc()
440 tmp[(bps - byte - 1) * wc + count]; in fpAcc()
641 tmsize_t wc = cc / bps; in fpDiff()
646 if((cc%(bps*stride))!=0) in fpDiff()
660 for (byte = 0; byte < bps; byte++) { in fpDiff()
664 cp[(bps - byte - 1) * wc + count] = in fpDiff()
[all …]
H A Dtif_luv.c1604 int bps, fmt; in LogLuvVSetField() local
1617 bps = 32; in LogLuvVSetField()
1621 bps = 16; in LogLuvVSetField()
1625 bps = 32; in LogLuvVSetField()
1630 bps = 8; in LogLuvVSetField()
1639 TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bps); in LogLuvVSetField()