Lines Matching refs:bp
192 unsigned char* bp;
215 bp = (unsigned char*) tif->tif_rawcp;
220 if (*bp >= 128) { /* run */
223 rc = *bp++ + (2-128);
224 b = (int16)(*bp++ << shft);
229 rc = *bp++; /* nul is noop */
231 tp[i++] |= (int16)*bp++ << shft;
246 tif->tif_rawcp = (uint8*) bp;
252 tif->tif_rawcp = (uint8*) bp;
268 unsigned char* bp;
287 bp = (unsigned char*) tif->tif_rawcp;
290 tp[i] = bp[0] << 16 | bp[1] << 8 | bp[2];
291 bp += 3;
294 tif->tif_rawcp = (uint8*) bp;
325 unsigned char* bp;
349 bp = (unsigned char*) tif->tif_rawcp;
354 if (*bp >= 128) { /* run */
357 rc = *bp++ + (2-128);
358 b = (uint32)*bp++ << shft;
363 rc = *bp++; /* nul is noop */
365 tp[i++] |= (uint32)*bp++ << shft;
380 tif->tif_rawcp = (uint8*) bp;
386 tif->tif_rawcp = (uint8*) bp;
397 LogLuvDecodeStrip(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
405 while (cc && (*tif->tif_decoderow)(tif, bp, rowlen, s)) {
406 bp += rowlen;
418 LogLuvDecodeTile(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
426 while (cc && (*tif->tif_decoderow)(tif, bp, rowlen, s)) {
427 bp += rowlen;
437 LogL16Encode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
457 tp = (int16*) bp;
465 (*sp->tfunc)(sp, bp, npixels);
535 LogLuvEncode24(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
550 tp = (uint32*) bp;
558 (*sp->tfunc)(sp, bp, npixels);
587 LogLuvEncode32(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
608 tp = (uint32*) bp;
616 (*sp->tfunc)(sp, bp, npixels);
687 LogLuvEncodeStrip(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
695 while (cc && (*tif->tif_encoderow)(tif, bp, rowlen, s) == 1) {
696 bp += rowlen;
707 LogLuvEncodeTile(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
715 while (cc && (*tif->tif_encoderow)(tif, bp, rowlen, s) == 1) {
716 bp += rowlen;