Lines Matching full:uint16
114 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op,
177 horizontalAccumulate12(uint16 *wp, int n, int stride, int16 *op,
184 #define CLAMP12(t) (((t) < 3071) ? (uint16) (t) : 3071)
245 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op,
246 uint16 *ToLinear16)
297 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op)
340 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op,
389 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op,
460 uint16 *tbuf;
461 uint16 stride;
471 uint16 *ToLinear16;
473 uint16 *FromLT2;
474 uint16 *From14; /* Really for 16-bit data, but we shift down 2 */
475 uint16 *From8;
498 uint16 *ToLinear16;
500 uint16 *FromLT2;
501 uint16 *From14; /* Really for 16-bit data, but we shift down 2 */
502 uint16 *From8;
513 FromLT2 = (uint16 *)_TIFFmalloc(lt2size*sizeof(uint16));
514 From14 = (uint16 *)_TIFFmalloc(16384*sizeof(uint16));
515 From8 = (uint16uint16));
517 ToLinear16 = (uint16 *)_TIFFmalloc(TSIZEP1 * sizeof(uint16));
550 ToLinear16[i] = (v > 65535.0) ? 65535 : (uint16)v;
596 static int PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
597 static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
673 td->td_rowsperstrip), sizeof(uint16));
676 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size+sizeof(uint16));
701 PixarLogPreDecode(TIFF* tif, uint16 s)
723 PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s)
731 uint16 *up;
740 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */
762 sp->stream.avail_out = (uInt) (nsamples * sizeof(uint16));
763 if (sp->stream.avail_out != nsamples * sizeof(uint16))
822 (uint16 *)op, sp->ToLinear16);
823 op += llen * sizeof(uint16);
832 (uint16 *)op);
833 op += llen * sizeof(uint16);
871 td->td_rowsperstrip), sizeof(uint16));
874 sp->tbuf = (uint16 *) _TIFFmalloc(tbuf_size);
897 PixarLogPreEncode(TIFF* tif, uint16 s)
919 horizontalDifferenceF(float *ip, int n, int stride, uint16 *wp, uint16 *FromLT2)
932 r2 = wp[0] = (uint16) CLAMP(ip[0]);
933 g2 = wp[1] = (uint16) CLAMP(ip[1]);
934 b2 = wp[2] = (uint16) CLAMP(ip[2]);
945 r2 = wp[0] = (uint16) CLAMP(ip[0]);
946 g2 = wp[1] = (uint16) CLAMP(ip[1]);
947 b2 = wp[2] = (uint16) CLAMP(ip[2]);
948 a2 = wp[3] = (uint16) CLAMP(ip[3]);
964 REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]);
970 REPEAT(stride, wp[0] = (uint16) CLAMP(ip[0]); wp--; ip--)
977 unsigned short *wp, uint16 *From14)
1031 unsigned short *wp, uint16 *From8)
1085 PixarLogEncode(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
1104 n = cc / sizeof(uint16); /* XXX uint16 == 16 bits */
1127 horizontalDifference16((uint16 *)bp, llen,
1129 bp += llen * sizeof(uint16);
1149 sp->stream.avail_in = (uInt) (n * sizeof(uint16));
1150 if ((sp->stream.avail_in / sizeof(uint16)) != (uInt) n)