Home
last modified time | relevance | path

Searched refs:predictor (Results 1 – 18 of 18) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_predict.c62 switch (sp->predictor) /* no differencing */ in PredictorSetup()
96 sp->predictor); in PredictorSetup()
123 if (sp->predictor == 2) { in PredictorSetupDecode()
161 else if (sp->predictor == 3) { in PredictorSetupDecode()
202 if (sp->predictor == 2) { in PredictorSetupEncode()
240 else if (sp->predictor == 3) { in PredictorSetupEncode()
759 sp->predictor = (uint16) va_arg(ap, uint16_vap); in PredictorVSetField()
779 *va_arg(ap, uint16*) = (uint16)sp->predictor; in PredictorVGetField()
795 switch (sp->predictor) { in PredictorPrintDir()
800 fprintf(fd, "%u (0x%x)\n", sp->predictor, sp->predictor); in PredictorPrintDir()
[all …]
H A Dtif_predict.h41 int predictor; /* predictor tag value */ member
H A Dtif_aux.c224 *va_arg(ap, uint16*) = (uint16) sp->predictor; in TIFFVGetFieldDefaulted()
/libtiff-4.0.7/tools/
H A Dppm2tiff.c60 static uint16 predictor = 0; variable
229 if (predictor != 0) in main()
230 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
342 predictor = atoi(cp+1); in processCompressOptions()
347 predictor = atoi(cp+1); in processCompressOptions()
H A Dtiffdither.c155 static uint16 predictor = 0; variable
191 predictor = atoi(cp+1); in processCompressOptions()
196 predictor = atoi(cp+1); in processCompressOptions()
291 if (predictor) in main()
292 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
H A Dpal2rgb.c66 static uint16 predictor = 0; variable
159 if (predictor != 0) in main()
160 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
257 predictor = atoi(cp+1); in processCompressOptions()
262 predictor = atoi(cp+1); in processCompressOptions()
H A Dtiff2bw.c105 static uint16 predictor = 0; variable
209 if (predictor != 0) in main()
210 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
305 predictor = atoi(cp+1); in processCompressOptions()
310 predictor = atoi(cp+1); in processCompressOptions()
H A Draw2tiff.c79 static uint16 predictor = 0; variable
264 if (predictor != 0) in main()
265 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
592 predictor = atoi(cp+1); in processCompressOptions()
597 predictor = atoi(cp+1); in processCompressOptions()
H A Dtiffmedian.c101 uint16 predictor = 0; variable
260 if (predictor != 0) in main()
261 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
308 predictor = atoi(cp+1); in processCompressOptions()
313 predictor = atoi(cp+1); in processCompressOptions()
H A Dtiff2ps.c1796 uint16 predictor, minsamplevalue, maxsamplevalue; in PS_Lvl2ImageDict() local
2002 TIFFGetFieldDefaulted(tif, TIFFTAG_PREDICTOR, &predictor); in PS_Lvl2ImageDict()
2003 if (predictor == 2) { in PS_Lvl2ImageDict()
2005 fprintf(fd, "\t /Predictor %u\n", predictor); in PS_Lvl2ImageDict()
2018 TIFFGetFieldDefaulted(tif, TIFFTAG_PREDICTOR, &predictor); in PS_Lvl2ImageDict()
2019 if (predictor > 1) { in PS_Lvl2ImageDict()
2022 fprintf(fd, "\t /Predictor %u\n", predictor); in PS_Lvl2ImageDict()
H A Dtiffcp.c76 static uint16 predictor; variable
297 predictor = defpredictor; in main()
737 if (predictor != (uint16)-1) in tiffcp()
738 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in tiffcp()
740 CopyField(TIFFTAG_PREDICTOR, predictor); in tiffcp()
H A Dtiffcrop.c443 static uint16 predictor = 0; variable
2291 predictor = defpredictor; in main()
7221 if (predictor != (uint16)-1) in writeSingleSection()
7222 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in writeSingleSection()
7224 CopyField(TIFFTAG_PREDICTOR, predictor); in writeSingleSection()
7892 if (predictor != (uint16)-1) in writeCroppedImage()
7893 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in writeCroppedImage()
7895 CopyField(TIFFTAG_PREDICTOR, predictor); in writeCroppedImage()
/libtiff-4.0.7/archive/tools/
H A Dras2tiff.c55 static uint16 predictor = 0; variable
221 if (predictor != 0) in main()
222 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
283 predictor = atoi(cp+1); in processCompressOptions()
288 predictor = atoi(cp+1); in processCompressOptions()
H A Dsgi2tiff.c40 static uint16 predictor = 0; variable
122 if (predictor != 0) in main()
123 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
180 predictor = atoi(cp+1); in processCompressOptions()
185 predictor = atoi(cp+1); in processCompressOptions()
H A Dgif2tiff.c123 static uint16 predictor = 0; variable
193 predictor = atoi(cp+1); in processCompressOptions()
198 predictor = atoi(cp+1); in processCompressOptions()
562 if (predictor != 0) in rasterize()
563 TIFFSetField(tif, TIFFTAG_PREDICTOR, predictor); in rasterize()
H A Dsgisv.c45 uint16 predictor = 0; variable
84 predictor = atoi(cp+1); in main()
292 if (predictor != 0) in tiffsv()
293 TIFFSetField(tif, TIFFTAG_PREDICTOR, predictor); in tiffsv()
H A Dbmp2tiff.c223 static uint16 predictor = 0; variable
574 if (predictor != 0) in main()
575 TIFFSetField(out, TIFFTAG_PREDICTOR, predictor); in main()
880 predictor = atoi(cp+1); in processCompressOptions()
885 predictor = atoi(cp+1); in processCompressOptions()
/libtiff-4.0.7/
H A DChangeLog194 requirements of floating point predictor (3). Fixes CVE-2016-3622
568 horizontal predictor (#2521). Also fixes decoding when there is
2888 predictor based encoding and decoding works in read-write update
4110 * libtiff/tif_predict.c: Floating point predictor now works on
4218 predictor, as per TIFF Technical Note 3.
4223 floating point predictor, as per TIFF Technical Note 3.
4231 * libtiff/tiff.h: Added predictor constants.
5626 problems with predictor initialization. Remove O_RDONLY check during