Lines Matching refs:int16
192 int16* tp; in LogL16Decode()
193 int16 b; in LogL16Decode()
203 tp = (int16*) op; in LogL16Decode()
206 tp = (int16*) sp->tbuf; in LogL16Decode()
217 b = (int16)(*bp++ << shft); in LogL16Decode()
224 tp[i++] |= (int16)*bp++ << shft; in LogL16Decode()
416 int16* tp; in LogL16Encode()
417 int16 b; in LogL16Encode()
427 tp = (int16*) bp; in LogL16Encode()
429 tp = (int16*) sp->tbuf; in LogL16Encode()
448 b = (int16) (tp[beg] & mask); in LogL16Encode()
457 b = (int16) (tp[i] & mask);/*check short run */ in LogL16Encode()
728 int16* l16 = (int16*) sp->tbuf; in L16toY()
738 int16* l16 = (int16*) sp->tbuf; in L16toGry()
750 int16* l16 = (int16*) sp->tbuf; in L16fromY()
754 *l16++ = (int16) (LogL16fromY(*yp++, sp->encode_meth)); in L16fromY()
982 int16* luv3 = (int16*) op; in Luv24toLuv48()
987 *luv3++ = (int16)((*luv >> 12 & 0xffd) + 13314); in Luv24toLuv48()
992 *luv3++ = (int16)(u * (1L<<15)); in Luv24toLuv48()
993 *luv3++ = (int16)(v * (1L<<15)); in Luv24toLuv48()
1029 int16* luv3 = (int16*) op; in Luv24fromLuv48()
1122 int16* luv3 = (int16*) op; in Luv32toLuv48()
1127 *luv3++ = (int16)(*luv >> 16); in Luv32toLuv48()
1130 *luv3++ = (int16)(u * (1L<<15)); in Luv32toLuv48()
1131 *luv3++ = (int16)(v * (1L<<15)); in Luv32toLuv48()
1167 int16* luv3 = (int16*) op; in Luv32fromLuv48()
1240 sp->pixel_size = sizeof (int16); in LogL16InitState()
1254 if (multiply_ms(sp->tbuflen, sizeof (int16)) == 0 || in LogL16InitState()
1255 (sp->tbuf = (uint8*) _TIFFmalloc(sp->tbuflen * sizeof (int16))) == NULL) { in LogL16InitState()
1337 sp->pixel_size = 3*sizeof (int16); in LogLuvInitState()