Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 17 of 17) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_next.c52 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 Dtif_packbits.c68 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 Dtif_fax3.c819 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 Dtif_luv.c191 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 Dtif_lzw.c188 #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 Dtif_thunder.c91 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 Dtif_predict.c51 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 Dtif_write.c638 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 Dtif_zip.c86 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 Dtif_lzma.c66 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 Dtif_pixarlog.c599 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 Dtiffio.h396 extern int TIFFReadBufferSetup(TIFF* tif, void* bp, tmsize_t size);
397 extern int TIFFWriteBufferSetup(TIFF* tif, void* bp, tmsize_t size);
H A Dtif_read.c955 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 Dtif_pdsdirwrite.c756 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 Dsgisv.c165 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 Dtiffcp.c1292 uint8* bp = bufp + s; in DECLAREreadFunc() local
1305 *bp = *sbuf++, bp += spp; in DECLAREreadFunc()
/libtiff-4.0.7/test/images/
H A Dminisblack-1c-8b.pgm4 …khjnlmkjief����Ʀ��������������г������qa\YXXY[Z\_^^_^_bcaa[b���������������ɝbp������ͦ�������x(5j���…