| /libtiff-4.0.7/libtiff/ |
| H A D | tif_next.c | 52 unsigned char *bp, *op; in NeXTDecode() local 66 bp = (unsigned char *)tif->tif_rawcp; in NeXTDecode() 75 n = *bp++; in NeXTDecode() 84 _TIFFmemcpy(row, bp, scanline); in NeXTDecode() 85 bp += scanline; in NeXTDecode() 96 off = (bp[0] * 256) + bp[1]; in NeXTDecode() 97 n = (bp[2] * 256) + bp[3]; in NeXTDecode() 100 _TIFFmemcpy(row+off, bp+4, n); in NeXTDecode() 101 bp += 4+n; in NeXTDecode() 138 n = *bp++; in NeXTDecode() [all …]
|
| H A D | tif_packbits.c | 68 unsigned char* bp = (unsigned char*) buf; in PackBitsEncode() local 85 b = *bp++; in PackBitsEncode() 88 for (; cc > 0 && b == *bp; cc--, bp++) in PackBitsEncode() 209 bp += chunk; in PackBitsEncodeChunk() 219 char *bp; in PackBitsDecode() local 225 bp = (char*) tif->tif_rawcp; in PackBitsDecode() 228 n = (long) *bp++; in PackBitsDecode() 248 b = *bp++; in PackBitsDecode() 266 _TIFFmemcpy(op, bp, ++n); in PackBitsDecode() 268 bp += n; cc -= n; in PackBitsDecode() [all …]
|
| H A D | tif_fax3.c | 819 bp += bs>>3; in find0span() 832 bp++; in find0span() 845 bp++; in find0span() 863 bp++; in find0span() 881 bp += bs>>3; in find1span() 894 bp++; in find1span() 907 bp++; in find1span() 925 bp++; in find1span() 1009 uint32 a1 = (PIXEL(bp, 0) != 0 ? 0 : finddiff(bp, 0, bits, 0)); in Fax3Encode2DRow() 1018 a2 = finddiff2(bp, a1, bits, PIXEL(bp,a1)); in Fax3Encode2DRow() [all …]
|
| H A D | tif_luv.c | 191 unsigned char* bp; in LogL16Decode() local 267 unsigned char* bp; in LogLuvDecode24() local 289 tp[i] = bp[0] << 16 | bp[1] << 8 | bp[2]; in LogLuvDecode24() 290 bp += 3; in LogLuvDecode24() 324 unsigned char* bp; in LogLuvDecode32() local 405 bp += rowlen; in LogLuvDecodeStrip() 426 bp += rowlen; in LogLuvDecodeTile() 456 tp = (int16*) bp; in LogL16Encode() 549 tp = (uint32*) bp; in LogLuvEncode24() 695 bp += rowlen; in LogLuvEncodeStrip() [all …]
|
| H A D | tif_lzw.c | 188 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) argument 340 #define GetNextCode(sp, bp, code) { \ argument 341 nextdata = (nextdata<<8) | *(bp)++; \ 367 unsigned char *bp; in LZWDecode() local 427 bp = (unsigned char *)tif->tif_rawcp; in LZWDecode() 552 tif->tif_rawcp = (uint8*) bp; in LZWDecode() 600 unsigned char *bp; in LZWDecodeCompat() local 653 bp = (unsigned char *)tif->tif_rawcp; in LZWDecodeCompat() 763 tif->tif_rawcp = (uint8*) bp; in LZWDecodeCompat() 922 ent = *bp++; cc--; incount++; in LZWEncode() [all …]
|
| H A D | tif_thunder.c | 91 register unsigned char *bp; in ThunderDecode() local 96 bp = (unsigned char *)tif->tif_rawcp; in ThunderDecode() 103 n = *bp++; in ThunderDecode() 144 tif->tif_rawcp = (uint8*) bp; in ThunderDecode()
|
| H A D | tif_predict.c | 51 static int PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); 679 PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PredictorEncodeRow() argument 688 if( !(*sp->encodepfunc)(tif, bp, cc) ) in PredictorEncodeRow() 690 return (*sp->encoderow)(tif, bp, cc, s); in PredictorEncodeRow() 700 unsigned char* bp; in PredictorEncodeTile() local 720 bp = working_copy; in PredictorEncodeTile() 732 (*sp->encodepfunc)(tif, bp, rowsize); in PredictorEncodeTile() 734 bp += rowsize; in PredictorEncodeTile()
|
| H A D | tif_write.c | 638 TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size) in TIFFWriteBufferSetup() argument 657 bp = NULL; /* NB: force malloc */ in TIFFWriteBufferSetup() 659 if (bp == NULL) { in TIFFWriteBufferSetup() 660 bp = _TIFFmalloc(size); in TIFFWriteBufferSetup() 661 if (bp == NULL) { in TIFFWriteBufferSetup() 668 tif->tif_rawdata = (uint8*) bp; in TIFFWriteBufferSetup()
|
| H A D | tif_zip.c | 86 static int ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); 256 ZIPEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in ZIPEncode() argument 265 sp->stream.next_in = bp; in ZIPEncode()
|
| H A D | tif_lzma.c | 66 static int LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); 272 LZMAEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in LZMAEncode() argument 281 sp->stream.next_in = bp; in LZMAEncode()
|
| H A D | tif_pixarlog.c | 599 static int PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s); 1102 PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PixarLogEncode() argument 1146 horizontalDifferenceF((float *)bp, llen, in PixarLogEncode() 1148 bp += llen * sizeof(float); in PixarLogEncode() 1151 horizontalDifference16((uint16 *)bp, llen, in PixarLogEncode() 1153 bp += llen * sizeof(uint16); in PixarLogEncode() 1156 horizontalDifference8((unsigned char *)bp, llen, in PixarLogEncode() 1158 bp += llen * sizeof(unsigned char); in PixarLogEncode()
|
| H A D | tiffio.h | 396 extern int TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size); 397 extern int TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size);
|
| H A D | tif_read.c | 955 TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size) in TIFFReadBufferSetup() argument 968 if (bp) { in TIFFReadBufferSetup() 970 tif->tif_rawdata = (uint8*) bp; in TIFFReadBufferSetup()
|
| /libtiff-4.0.7/contrib/pds/ |
| H A D | tif_pdsdirwrite.c | 756 bp[i] = (signed char) v[i]; in TIFFWriteAnyArray() 765 { uint16* bp = (uint16*) w; in TIFFWriteAnyArray() local 767 bp[i] = (uint16) v[i]; in TIFFWriteAnyArray() 773 { int16* bp = (int16*) w; in TIFFWriteAnyArray() local 775 bp[i] = (int16) v[i]; in TIFFWriteAnyArray() 781 { uint32* bp = (uint32*) w; in TIFFWriteAnyArray() local 783 bp[i] = (uint32) v[i]; in TIFFWriteAnyArray() 789 { int32* bp = (int32*) w; in TIFFWriteAnyArray() local 791 bp[i] = (int32) v[i]; in TIFFWriteAnyArray() 797 { float* bp = (float*) w; in TIFFWriteAnyArray() local [all …]
|
| /libtiff-4.0.7/archive/tools/ |
| H A D | sgisv.c | 165 unsigned char *rp, *gp, *bp; in svRGBSeparate() local 172 rp = rbuf; gp = gbuf; bp = bbuf; in svRGBSeparate() 178 bp[x] = v >> 16; in svRGBSeparate() 180 rp += xsize+1, gp += xsize+1, bp += xsize+1; in svRGBSeparate()
|
| /libtiff-4.0.7/tools/ |
| H A D | tiffcp.c | 1292 uint8* bp = bufp + s; in DECLAREreadFunc() local 1305 *bp = *sbuf++, bp += spp; in DECLAREreadFunc()
|
| /libtiff-4.0.7/test/images/ |
| H A D | minisblack-1c-8b.pgm | 4 …khjnlmkjief����Ʀ��������������г������qa\YXXY[Z\_^^_^_bcaa[b���������������ɝbp������ͦ�������x(5j���…
|