Lines Matching refs:tp
191 int16* tp; in LogL16Decode() local
202 tp = (int16*) op; in LogL16Decode()
209 tp = (int16*) sp->tbuf; in LogL16Decode()
211 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); in LogL16Decode()
225 tp[i++] |= b; in LogL16Decode()
229 tp[i++] |= (int16)*bp++ << shft; in LogL16Decode()
267 uint32* tp; in LogLuvDecode24() local
275 tp = (uint32 *)op; in LogLuvDecode24()
282 tp = (uint32 *) sp->tbuf; in LogLuvDecode24()
288 tp[i] = bp[0] << 16 | bp[1] << 8 | bp[2]; in LogLuvDecode24()
324 uint32* tp; in LogLuvDecode32() local
336 tp = (uint32*) op; in LogLuvDecode32()
343 tp = (uint32*) sp->tbuf; in LogLuvDecode32()
345 _TIFFmemset((void*) tp, 0, npixels*sizeof (tp[0])); in LogLuvDecode32()
359 tp[i++] |= b; in LogLuvDecode32()
363 tp[i++] |= (uint32)*bp++ << shft; in LogLuvDecode32()
444 int16* tp; in LogL16Encode() local
455 tp = (int16*) bp; in LogL16Encode()
457 tp = (int16*) sp->tbuf; in LogL16Encode()
480 b = (int16) (tp[beg] & mask); in LogL16Encode()
483 (tp[beg+rc] & mask) == b) in LogL16Encode()
489 b = (int16) (tp[i] & mask);/*check short run */ in LogL16Encode()
491 while ((tp[j++] & mask) == b) in LogL16Encode()
512 *op++ = (uint8) (tp[i++] >> shft & 0xff); in LogL16Encode()
518 *op++ = (uint8) (tp[beg] >> shft & 0xff); in LogL16Encode()
542 uint32* tp; in LogLuvEncode24() local
549 tp = (uint32*) bp; in LogLuvEncode24()
551 tp = (uint32*) sp->tbuf; in LogLuvEncode24()
571 *op++ = (uint8)(*tp >> 16); in LogLuvEncode24()
572 *op++ = (uint8)(*tp >> 8 & 0xff); in LogLuvEncode24()
573 *op++ = (uint8)(*tp++ & 0xff); in LogLuvEncode24()
595 uint32* tp; in LogLuvEncode32() local
607 tp = (uint32*) bp; in LogLuvEncode32()
609 tp = (uint32*) sp->tbuf; in LogLuvEncode32()
632 b = tp[beg] & mask; in LogLuvEncode32()
635 (tp[beg+rc] & mask) == b) in LogLuvEncode32()
641 b = tp[i] & mask; /* check short run */ in LogLuvEncode32()
643 while ((tp[j++] & mask) == b) in LogLuvEncode32()
664 *op++ = (uint8)(tp[i++] >> shft & 0xff); in LogLuvEncode32()
670 *op++ = (uint8)(tp[beg] >> shft & 0xff); in LogLuvEncode32()