Home
last modified time | relevance | path

Searched refs:op (Results 1 – 12 of 12) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_packbits.c69 uint8* op; in PackBitsEncode() local
77 op = tif->tif_rawcp; in PackBitsEncode()
125 *op++ = (uint8) b; in PackBitsEncode()
127 lastliteral = op; in PackBitsEncode()
128 *op++ = 0; in PackBitsEncode()
129 *op++ = (uint8) b; in PackBitsEncode()
143 *op++ = (uint8) b; in PackBitsEncode()
161 lastliteral = op; in PackBitsEncode()
162 *op++ = 0; in PackBitsEncode()
178 op[-2] = op[-1]; /* replicate */ in PackBitsEncode()
[all …]
H A Dtif_pixarlog.c132 op += 3; in horizontalAccumulateF()
153 op += 4; in horizontalAccumulateF()
198 op += 3; in horizontalAccumulate12()
219 op += 4; in horizontalAccumulate12()
237 *op = CLAMP12(t0); wp++; op++) in horizontalAccumulate12()
259 op += 3; in horizontalAccumulate16()
273 op += 4; in horizontalAccumulate16()
304 op[0] = wp[0]; op[1] = wp[1]; op[2] = wp[2]; in horizontalAccumulate11()
316 op[0] = wp[0]; op[1] = wp[1]; in horizontalAccumulate11()
317 op[2] = wp[2]; op[3] = wp[3]; in horizontalAccumulate11()
[all …]
H A Dtif_thunder.c59 #define SETPIXEL(op, v) { \ argument
64 *op++ |= lastpixel; \
66 op[0] = (uint8) (lastpixel << 4); \
112 op[0] |= lastpixel; in ThunderDecode()
113 lastpixel = *op++; npixels++; n--; in ThunderDecode()
119 *op++ = (uint8) lastpixel; in ThunderDecode()
122 *--op &= 0xf0; in ThunderDecode()
127 SETPIXEL(op, lastpixel + twobitdeltas[delta]); in ThunderDecode()
129 SETPIXEL(op, lastpixel + twobitdeltas[delta]); in ThunderDecode()
131 SETPIXEL(op, lastpixel + twobitdeltas[delta]); in ThunderDecode()
[all …]
H A Dtif_luv.c203 tp = (int16*) op; in LogL16Decode()
276 tp = (uint32 *)op; in LogLuvDecode24()
337 tp = (uint32*) op; in LogLuvDecode32()
444 uint8* op; in LogL16Encode() local
467 op = tif->tif_rawcp; in LogL16Encode()
524 tif->tif_rawcp = op; in LogL16Encode()
541 uint8* op; in LogLuvEncode24() local
560 op = tif->tif_rawcp; in LogLuvEncode24()
576 tif->tif_rawcp = op; in LogLuvEncode24()
594 uint8* op; in LogLuvEncode32() local
[all …]
H A Dtif_lzw.c403 tp = op + occ; in LZWDecode()
414 op += residue; in LZWDecode()
416 tp = op; in LZWDecode()
531 tp = op + len; in LZWDecode()
544 op += len; in LZWDecode()
633 tp = op + occ; in LZWDecodeCompat()
643 op += residue; in LZWDecodeCompat()
645 tp = op; in LZWDecodeCompat()
743 tp = op + occ; in LZWDecodeCompat()
753 tp = op; in LZWDecodeCompat()
[all …]
H A Dtif_next.c35 #define SETPIXEL(op, v) { \ argument
37 case 0: op[0] = (unsigned char) ((v) << 6); break; \
38 case 1: op[0] |= (v) << 4; break; \
39 case 2: op[0] |= (v) << 2; break; \
40 case 3: *op++ |= (v); op_offset++; break; \
52 unsigned char *bp, *op; in NeXTDecode() local
63 for (op = (unsigned char*) buf, cc = occ; cc-- > 0;) in NeXTDecode()
64 *op++ = 0xff; in NeXTDecode()
118 op = row; in NeXTDecode()
128 SETPIXEL(op, grey); in NeXTDecode()
H A Dtif_getimage.c1134 #define REPEAT8(op) REPEAT4(op); REPEAT4(op) argument
1135 #define REPEAT4(op) REPEAT2(op); REPEAT2(op) argument
1136 #define REPEAT2(op) op; op argument
1137 #define CASE8(x,op) \ argument
1139 case 7: op; case 6: op; case 5: op; \
1140 case 4: op; case 3: op; case 2: op; \
1141 case 1: op; \
1143 #define CASE4(x,op) switch (x) { case 3: op; case 2: op; case 1: op; } argument
H A Dtif_predict.c260 #define REPEAT4(n, op) \ argument
262 default: { tmsize_t i; for (i = n-4; i > 0; i--) { op; } } \
263 case 4: op; \
264 case 3: op; \
265 case 2: op; \
266 case 1: op; \
H A Dtif_zip.c87 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
149 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in ZIPDecode() argument
161 sp->stream.next_out = op; in ZIPDecode()
H A Dtif_lzma.c67 static int LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
165 LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LZMADecode() argument
177 sp->stream.next_out = op; in LZMADecode()
H A Dtif_jpeg.c244 #define CALLJPEG(sp, fail, op) (SETJMP((sp)->exit_jmpbuf) ? (fail) : (op)) argument
245 #define CALLVJPEG(sp, op) CALLJPEG(sp, 0, ((op),1)) argument
/libtiff-4.0.7/tools/
H A Drgb2ycbcr.c197 *op++ = V2Code(Y, in cvtClump()
201 *op++ = Yzero; in cvtClump()
205 *op++ = Yzero; in cvtClump()
208 *op++ = V2Code(Cb / (ch*cw), refBlackWhite[2], refBlackWhite[3], 127); in cvtClump()
230 cvtClump(op, tp, in cvtStrip()
232 op += clumpSize; in cvtStrip()
236 cvtClump(op, tp, vertSubSampling, x, width); in cvtStrip()
237 op += clumpSize; in cvtStrip()
244 cvtClump(op, tp, nrows, horizSubSampling, width); in cvtStrip()
245 op += clumpSize; in cvtStrip()
[all …]