Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 13 of 13) sorted by relevance

/libtiff-4.0.7/libtiff/
H A Dtif_ojpeg.c1047sp->strile_length_total=((sp->image_length+sp->strile_length-1)/sp->strile_length)*sp->strile_leng… in OJPEGReadHeaderInfo()
1084sp->restart_interval=(uint16)(((sp->strile_width+sp->subsampling_hor*8-1)/(sp->subsampling_hor*8))… in OJPEGReadHeaderInfo()
1187sp->subsampling_convert_ylinelen=((sp->strile_width+sp->subsampling_hor*8-1)/(sp->subsampling_hor*… in OJPEGWriteHeaderInfo()
1223 sp->lines_per_strile=((sp->strile_length+sp->subsampling_ver-1)/sp->subsampling_ver); in OJPEGWriteHeaderInfo()
1365 sp->sof_hv[0]=((sp->subsampling_hor<<4)|sp->subsampling_ver); in OJPEGReadHeaderInfoSec()
1368 sp->sof_x=sp->strile_width; in OJPEGReadHeaderInfoSec()
1790 sp->sof_tq[m]=sp->sof_tq[m-1]; in OJPEGReadHeaderInfoSecTablesQTable()
1918 sp->sos_tda[m]=(sp->sos_tda[m]|(sp->sos_tda[m-1]&15)); in OJPEGReadHeaderInfoSecTablesAcTable()
2283 sp->out_buffer[10+m*3]=sp->sof_c[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2285 sp->out_buffer[10+m*3+1]=sp->sof_hv[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
[all …]
H A Dtif_jpeg.c245 #define CALLVJPEG(sp, op) CALLJPEG(sp, 0, ((op),1)) argument
251 sp->cinfo.c.err = jpeg_std_error(&sp->err); in TIFFjpeg_create_compress()
265 sp->cinfo.d.err = jpeg_std_error(&sp->err); in TIFFjpeg_create_decompress()
368 return CALLVJPEG(sp, jpeg_abort(&sp->cinfo.comm)); in TIFFjpeg_abort()
374 return CALLVJPEG(sp, jpeg_destroy(&sp->cinfo.comm)); in TIFFjpeg_destroy()
446 sp->cinfo.c.dest = &sp->dest; in TIFFjpeg_data_dest()
510 sp->cinfo.c.dest = &sp->dest; in TIFFjpeg_tables_dest()
595 sp->cinfo.d.src = &sp->src; in TIFFjpeg_data_src()
1115 sp->h_sampling, sp->v_sampling); in JPEGPreDecode()
1969 bytesperclumpline = (((sp->cinfo.c.image_width+sp->h_sampling-1)/sp->h_sampling) in JPEGEncodeRaw()
[all …]
H A Dtif_zip.c64 #define SAFE_MSG(sp) ((sp)->stream.msg == NULL ? "" : (sp)->stream.msg) argument
107 sp->state = 0; in ZIPSetupDecode()
212 sp->state = 0; in ZIPSetupEncode()
215 if (deflateInit(&sp->stream, sp->zipquality) != Z_OK) { in ZIPSetupEncode()
332 assert(sp != 0); in ZIPCleanup()
341 sp->state = 0; in ZIPCleanup()
344 sp->state = 0; in ZIPCleanup()
346 _TIFFfree(sp); in ZIPCleanup()
399 ZIPState* sp; in TIFFInitZIP() local
419 sp = ZState(tif); in TIFFInitZIP()
[all …]
H A Dtif_lzma.c237 sp->state = 0; in LZMASetupEncode()
265 return (lzma_stream_encoder(&sp->stream, sp->filters, sp->check) == LZMA_OK); in LZMAPreEncode()
345 assert(sp != 0); in LZMACleanup()
354 sp->state = 0; in LZMACleanup()
356 _TIFFfree(sp); in LZMACleanup()
371 lzma_lzma_preset(&sp->opt_lzma, sp->preset); in LZMAVSetField()
413 LZMAState* sp; in TIFFInitLZMA() local
447 sp->state = 0; in TIFFInitLZMA()
458 sp->filters[0].options = &sp->opt_delta; in TIFFInitLZMA()
460 lzma_lzma_preset(&sp->opt_lzma, sp->preset); in TIFFInitLZMA()
[all …]
H A Dtif_lzw.c188 #define NextCode(tif, sp, bp, code, get) get(sp, bp, code) argument
205 if( sp == NULL ) in LZWSetupDecode()
229 assert(sp != NULL); in LZWSetupDecode()
267 assert(sp != NULL); in LZWPreDecode()
323 sp->dec_free_entp = sp->dec_codetab + CODE_FIRST; in LZWPreDecode()
332 sp->dec_oldcodep = &sp->dec_codetab[-1]; in LZWPreDecode()
333 sp->dec_maxcodep = &sp->dec_codetab[sp->dec_nbitsmask-1]; in LZWPreDecode()
830 sp->enc_ratio = 0; in LZWPreEncode()
895 if (sp == NULL) in LZWEncode()
981 cl_hash(sp); in LZWEncode()
[all …]
H A Dtif_fax3.c166 sp->refruns[0] = (uint32) sp->b.rowpixels; in Fax3PreDecode()
306 SWAP(uint32*, sp->curruns, sp->refruns); in Fax3Decode2D()
573 (sp)->data = 0, (sp)->bit = 8; \
738 _TIFFmemset(sp->refline, 0x00, sp->b.rowbytes); in Fax3PreEncode()
754 sp->k = sp->maxk-1; in Fax3PreEncode()
756 sp->k = sp->maxk = 0; in Fax3PreEncode()
1076 sp->k = sp->maxk-1; in Fax3Encode()
1078 _TIFFmemcpy(sp->refline, bp, sp->b.rowbytes); in Fax3Encode()
1286 sp->cleanfaxdata, sp->cleanfaxdata); in Fax3PrintDir()
1425 SWAP(uint32*, sp->curruns, sp->refruns); in Fax4Decode()
[all …]
H A Dtif_predict.c96 sp->predictor); in PredictorSetup()
108 if (sp->rowsize == 0) in PredictorSetup()
456 assert(sp != NULL); in PredictorDecodeRow()
478 assert(sp != NULL); in PredictorDecodeTile()
683 assert(sp != NULL); in PredictorEncodeRow()
703 assert(sp != NULL); in PredictorEncodeTile()
754 assert(sp != NULL); in PredictorVSetField()
800 fprintf(fd, "%u (0x%x)\n", sp->predictor, sp->predictor); in PredictorPrintDir()
802 if (sp->printdir) in PredictorPrintDir()
811 assert(sp != 0); in TIFFPredictorInit()
[all …]
H A Dtif_luv.c250 (*sp->tfunc)(sp, op, npixels); in LogL16Decode()
309 (*sp->tfunc)(sp, op, npixels); in LogLuvDecode24()
320 LogLuvState* sp; in LogLuvDecode32() local
384 (*sp->tfunc)(sp, op, npixels); in LogLuvDecode32()
464 (*sp->tfunc)(sp, bp, npixels); in LogL16Encode()
557 (*sp->tfunc)(sp, bp, npixels); in LogLuvEncode24()
615 (*sp->tfunc)(sp, bp, npixels); in LogLuvEncode32()
1586 assert(sp != 0); in LogLuvCleanup()
1591 if (sp->tbuf) in LogLuvCleanup()
1593 _TIFFfree(sp); in LogLuvCleanup()
[all …]
H A Dtif_pixarlog.c1147 sp->stride, up, sp->FromLT2); in PixarLogEncode()
1152 sp->stride, up, sp->From14); in PixarLogEncode()
1157 sp->stride, up, sp->From8); in PixarLogEncode()
1226 sp->stream.msg ? sp->stream.msg : "(null)"); in PixarLogPostEncode()
1262 if (sp->FromLT2) _TIFFfree(sp->FromLT2); in PixarLogCleanup()
1263 if (sp->From14) _TIFFfree(sp->From14); in PixarLogCleanup()
1264 if (sp->From8) _TIFFfree(sp->From8); in PixarLogCleanup()
1265 if (sp->ToLinearF) _TIFFfree(sp->ToLinearF); in PixarLogCleanup()
1266 if (sp->ToLinear16) _TIFFfree(sp->ToLinear16); in PixarLogCleanup()
1267 if (sp->ToLinear8) _TIFFfree(sp->ToLinear8); in PixarLogCleanup()
[all …]
H A Dtif_jpeg_12.c18 JPEGState* sp; in TIFFReInitJPEG_12() local
22 sp = JState(tif); in TIFFReInitJPEG_12()
23 sp->tif = tif; /* back link */ in TIFFReInitJPEG_12()
52 sp->cinfo_initialized = FALSE; in TIFFReInitJPEG_12()
H A Dtif_aux.c216 TIFFPredictorState* sp = (TIFFPredictorState*) tif->tif_data; in TIFFVGetFieldDefaulted() local
217 if( sp == NULL ) in TIFFVGetFieldDefaulted()
224 *va_arg(ap, uint16*) = (uint16) sp->predictor; in TIFFVGetFieldDefaulted()
/libtiff-4.0.7/config/
H A Dltmain.sh147 sp=' '
150 IFS="$sp $nl"
2588 IFS=$sp$nl
10026 IFS=$sp$nl
/libtiff-4.0.7/
H A DChangeLog1176 sp->dec_codetab in LZWPreDecode (bug #2459)
1587 * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.