Home
last modified time | relevance | path

Searched refs:td (Results 1 – 25 of 36) sorted by relevance

12

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_write.c67 td = &tif->tif_dir; in TIFFWriteScanline()
91 strip = sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFWriteScanline()
117 TIFFhowmany_32(td->td_imagelength,td->td_rowsperstrip); in TIFFWriteScanline()
123 (strip % td->td_stripsperimage) * td->td_rowsperstrip; in TIFFWriteScanline()
214 TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip); in TIFFWriteEncodedStrip()
335 TIFFhowmany_32(td->td_imagelength,td->td_rowsperstrip); in TIFFWriteRawStrip()
539 td->td_nstrips = td->td_stripsperimage; in TIFFSetupStrips()
541 td->td_stripsperimage /= td->td_samplesperpixel; in TIFFSetupStrips()
548 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL) in TIFFSetupStrips()
704 _TIFFmemset(td->td_stripoffset + td->td_nstrips, in TIFFGrowStrips()
[all …]
A Dtif_print.c285 td->td_xresolution, td->td_yresolution); in TIFFPrintDirectory()
308 td->td_xposition, td->td_yposition); in TIFFPrintDirectory()
334 td->td_sampleformat, td->td_sampleformat); in TIFFPrintDirectory()
345 td->td_compression, td->td_compression); in TIFFPrintDirectory()
361 td->td_photometric, td->td_photometric); in TIFFPrintDirectory()
400 td->td_inknameslen - (cp - td->td_inknames); in TIFFPrintDirectory()
421 td->td_threshholding, td->td_threshholding); in TIFFPrintDirectory()
436 td->td_fillorder, td->td_fillorder); in TIFFPrintDirectory()
469 td->td_orientation, td->td_orientation); in TIFFPrintDirectory()
511 td->td_planarconfig, td->td_planarconfig); in TIFFPrintDirectory()
[all …]
A Dtif_tile.c41 uint32 dx = td->td_tilewidth; in TIFFComputeTile()
46 if (td->td_imagedepth == 1) in TIFFComputeTile()
49 dx = td->td_imagewidth; in TIFFComputeTile()
51 dy = td->td_imagelength; in TIFFComputeTile()
53 dz = td->td_imagedepth; in TIFFComputeTile()
124 dx = td->td_imagewidth; in TIFFNumberOfTiles()
126 dy = td->td_imagelength; in TIFFNumberOfTiles()
128 dz = td->td_imagedepth; in TIFFNumberOfTiles()
161 rowsize = _TIFFMultiply64(tif, td->td_bitspersample, td->td_tilewidth, in TIFFTileRowSize64()
205 if (td->td_tilelength == 0 || td->td_tilewidth == 0 || in TIFFVTileSize64()
[all …]
A Dtif_aux.c112 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFDefaultTransferFunction()
141 if (td->td_refblackwhite == NULL) in TIFFDefaultRefBlackWhite()
148 td->td_refblackwhite[0] = 0.0F; in TIFFDefaultRefBlackWhite()
149 td->td_refblackwhite[1] = td->td_refblackwhite[3] = in TIFFDefaultRefBlackWhite()
150 td->td_refblackwhite[5] = 255.0F; in TIFFDefaultRefBlackWhite()
151 td->td_refblackwhite[2] = td->td_refblackwhite[4] = 128.0F; in TIFFDefaultRefBlackWhite()
158 td->td_refblackwhite[2*i+1] = in TIFFDefaultRefBlackWhite()
176 TIFFDirectory *td = &tif->tif_dir; in TIFFVGetFieldDefaulted() local
243 (td->td_extrasamples == 1 && in TIFFVGetFieldDefaulted()
291 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in TIFFVGetFieldDefaulted()
[all …]
A Dtif_dir.c122 _TIFFsetShortArray(&td->td_sampleinfo, va, td->td_extrasamples); in setExtraSamples()
300 td->td_tilewidth = td->td_imagewidth; in _TIFFVSetField()
455 v = (td->td_samplesperpixel - td->td_extrasamples) > 1 ? 3 : 1; in _TIFFVSetField()
538 tv = td->td_customValues + (td->td_customValueCount - 1); in _TIFFVSetField()
833 td->td_customValues[i] = td->td_customValues[i+1]; in TIFFUnsetField()
1067 if (td->td_samplesperpixel - td->td_extrasamples > 1) { in _TIFFVGetField()
1245 td->member = 0; \
1366 _TIFFmemset(td, 0, sizeof (*td)); in TIFFDefaultDirectory()
1373 td->td_tilewidth = 0; in TIFFDefaultDirectory()
1374 td->td_tilelength = 0; in TIFFDefaultDirectory()
[all …]
A Dtif_strip.c41 TIFFDirectory *td = &tif->tif_dir; in TIFFComputeStrip() local
44 strip = row / td->td_rowsperstrip; in TIFFComputeStrip()
63 TIFFDirectory *td = &tif->tif_dir; in TIFFNumberOfStrips() local
67 TIFFhowmany_32(td->td_imagelength, td->td_rowsperstrip)); in TIFFNumberOfStrips()
83 nrows=td->td_imagelength; in TIFFVStripSize64()
102 if(td->td_samplesperpixel!=3) in TIFFVStripSize64()
207 if (rps > td->td_imagelength) in TIFFStripSize64()
208 rps = td->td_imagelength; in TIFFStripSize64()
290 if(td->td_samplesperpixel!=3) in TIFFScanlineSize64()
315 scanline_samples=_TIFFMultiply64(tif,td->td_imagewidth,td->td_samplesperpixel,module); in TIFFScanlineSize64()
[all …]
A Dtif_read.c338 strip = (uint32)sample*td->td_stripsperimage + row/td->td_rowsperstrip; in TIFFSeek()
479 if (strip>=td->td_nstrips) in TIFFReadEncodedStripGetStripSize()
487 rowsperstrip=td->td_rowsperstrip; in TIFFReadEncodedStripGetStripSize()
489 rowsperstrip=td->td_imagelength; in TIFFReadEncodedStripGetStripSize()
718 if (strip >= td->td_nstrips) { in TIFFReadRawStrip()
984 if (tile >= td->td_nstrips) { in TIFFReadEncodedTile()
1061 if (tile >= td->td_nstrips) { in _TIFFReadEncodedTileAndAllocBuffer()
1179 if (tile >= td->td_nstrips) { in TIFFReadRawTile()
1441 tif->tif_row = (strip % td->td_stripsperimage) * td->td_rowsperstrip; in TIFFStartStrip()
1481 howmany32=TIFFhowmany_32(td->td_imagewidth, td->td_tilewidth); in TIFFStartTile()
[all …]
A Dtif_jpeg.c1012 TIFFDirectory *td = &tif->tif_dir; in JPEGSetupDecode() local
1096 TIFFDirectory *td = &tif->tif_dir; in JPEGPreDecode() local
1193 if (12 != td->td_bitspersample && 8 != td->td_bitspersample) { in JPEGPreDecode()
1728 TIFFDirectory *td = &tif->tif_dir; in JPEGSetupEncode() local
1757 …if ((td->td_photometric == PHOTOMETRIC_MINISWHITE || td->td_photometric == PHOTOMETRIC_MINISBLACK)… in JPEGSetupEncode()
1759 else if (td->td_photometric == PHOTOMETRIC_RGB && td->td_samplesperpixel == 3) in JPEGSetupEncode()
1761 else if (td->td_photometric == PHOTOMETRIC_SEPARATED && td->td_samplesperpixel == 4) in JPEGSetupEncode()
1835 if (td->td_bitspersample != 8 && td->td_bitspersample != 12) in JPEGSetupEncode()
1841 (int) td->td_bitspersample); in JPEGSetupEncode()
1862 if (td->td_rowsperstrip < td->td_imagelength && in JPEGSetupEncode()
[all …]
A Dtif_extension.c39 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListCount() local
41 return td->td_customValueCount; in TIFFGetTagListCount()
47 TIFFDirectory* td = &tif->tif_dir; in TIFFGetTagListEntry() local
49 if( tag_index < 0 || tag_index >= td->td_customValueCount ) in TIFFGetTagListEntry()
52 return td->td_customValues[tag_index].info->field_tag; in TIFFGetTagListEntry()
A Dtif_luv.c1252 switch (PACK(td->td_samplesperpixel, td->td_bitspersample, td->td_sampleformat)) { in LogL16GuessDataFmt()
1316 sp->tbuflen = multiply_ms(td->td_tilewidth, td->td_tilelength); in LogL16InitState()
1317 else if( td->td_rowsperstrip < td->td_imagelength ) in LogL16InitState()
1318 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_rowsperstrip); in LogL16InitState()
1320 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_imagelength); in LogL16InitState()
1339 switch (PACK(td->td_bitspersample, td->td_sampleformat)) { in LogLuvGuessDataFmt()
1418 sp->tbuflen = multiply_ms(td->td_tilewidth, td->td_tilelength); in LogLuvInitState()
1419 else if( td->td_rowsperstrip < td->td_imagelength ) in LogLuvInitState()
1420 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_rowsperstrip); in LogLuvInitState()
1422 sp->tbuflen = multiply_ms(td->td_imagewidth, td->td_imagelength); in LogLuvInitState()
[all …]
A Dtif_predict.c60 TIFFDirectory* td = &tif->tif_dir; in PredictorSetup() local
67 if (td->td_bitspersample != 8 in PredictorSetup()
68 && td->td_bitspersample != 16 in PredictorSetup()
69 && td->td_bitspersample != 32) { in PredictorSetup()
72 td->td_bitspersample); in PredictorSetup()
80 td->td_sampleformat); in PredictorSetup()
100 td->td_samplesperpixel : 1); in PredictorSetup()
118 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupDecode() local
127 switch (td->td_bitspersample) { in PredictorSetupDecode()
200 TIFFDirectory* td = &tif->tif_dir; in PredictorSetupEncode() local
[all …]
A Dtif_pixarlog.c608 int format = td->td_sampleformat; in PixarLogGuessDataFmt()
613 switch (td->td_bitspersample) { in PixarLogGuessDataFmt()
673 TIFFDirectory *td = &tif->tif_dir; in PixarLogSetupDecode() local
697 td->td_samplesperpixel : 1); in PixarLogSetupDecode()
716 td->td_bitspersample); in PixarLogSetupDecode()
761 TIFFDirectory *td = &tif->tif_dir; in PixarLogDecode() local
784 td->td_bitspersample); in PixarLogDecode()
896 td->td_bitspersample); in PixarLogDecode()
917 td->td_samplesperpixel : 1); in PixarLogSetupEncode()
1152 td->td_bitspersample); in PixarLogEncode()
[all …]
A Dtif_next.c158 TIFFDirectory *td = &tif->tif_dir; in NeXTPreDecode() local
161 if( td->td_bitspersample != 2 ) in NeXTPreDecode()
164 td->td_bitspersample); in NeXTPreDecode()
A Dtif_dirread.c4492 if (td->td_stripbytecount) in EstimateStripByteCounts()
4551 if (td->td_stripoffset[strip]+td->td_stripbytecount[strip] > filesize) in EstimateStripByteCounts()
4552 td->td_stripbytecount[strip] = filesize - td->td_stripoffset[strip]; in EstimateStripByteCounts()
4560 uint32 rowsperstrip = td->td_imagelength/td->td_stripsperimage; in EstimateStripByteCounts()
4566 td->td_rowsperstrip = td->td_imagelength; in EstimateStripByteCounts()
5730 offset = td->td_stripoffset[0]; in ChopUpSingleUncompressedStrip()
5803 td->td_stripsperimage = td->td_nstrips = nstrips; in ChopUpSingleUncompressedStrip()
5807 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip()
5809 td->td_stripoffset = newoffsets; in ChopUpSingleUncompressedStrip()
5831 td->td_nstrips,&td->td_stripoffset)) in _TIFFFillStrilesInternal()
[all …]
A Dtif_getimage.c78 TIFFDirectory* td = &tif->tif_dir; in TIFFRGBAImageOK() local
86 switch (td->td_bitspersample) { in TIFFRGBAImageOK()
95 td->td_bitspersample); in TIFFRGBAImageOK()
102 colorchannels = td->td_samplesperpixel - td->td_extrasamples; in TIFFRGBAImageOK()
120 if (td->td_planarconfig == PLANARCONFIG_CONTIG in TIFFRGBAImageOK()
121 && td->td_samplesperpixel != 1 in TIFFRGBAImageOK()
122 && td->td_bitspersample < 8 ) { in TIFFRGBAImageOK()
127 "Samples/pixel", td->td_samplesperpixel, in TIFFRGBAImageOK()
128 td->td_bitspersample); in TIFFRGBAImageOK()
162 if (td->td_samplesperpixel < 4) { in TIFFRGBAImageOK()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A Dlibtiff-CVE-2018-10779.patch12 if (td->td_planarconfig == PLANARCONFIG_SEPARATE)
13 td->td_stripsperimage /= td->td_samplesperpixel;
14 td->td_stripoffset = (uint64 *)
15 - _TIFFmalloc(td->td_nstrips * sizeof (uint64));
16 + _TIFFCheckMalloc(tif, td->td_nstrips, sizeof (uint64),
18 td->td_stripbytecount = (uint64 *)
19 - _TIFFmalloc(td->td_nstrips * sizeof (uint64));
20 + _TIFFCheckMalloc(tif, td->td_nstrips, sizeof (uint64),
22 if (td->td_stripoffset == NULL || td->td_stripbytecount == NULL)
A Dlibtiff-CVE-2017-18013.patch20 - (unsigned __int64) td->td_stripoffset[s],
21 - (unsigned __int64) td->td_stripbytecount[s]);
22 + td->td_stripoffset ? (unsigned __int64) td->td_stripoffset[s] : 0,
23 + td->td_stripbytecount ? (unsigned __int64) td->td_stripbytecount[s] : 0);
27 - (unsigned long long) td->td_stripoffset[s],
28 - (unsigned long long) td->td_stripbytecount[s]);
29 + td->td_stripoffset ? (unsigned long long) td->td_stripoffset[s] : 0,
30 + td->td_stripbytecount ? (unsigned long long) td->td_stripbytecount[s] : 0);
A Dlibtiff-CVE-2018-7456.patch48 'i < td->td_samplesperpixel - td->td_extrasamples'. This is enough as
162 l, td->td_transferfunction[0][l]);
163 - for (i = 1; i < td->td_samplesperpixel; i++)
164 + for (i = 1; i < td->td_samplesperpixel - td->td_extrasamples && i < 3; i++)
166 td->td_transferfunction[i][l]);
A Dlibtiff-CVE-2017-9935.patch50 if (td->td_samplesperpixel - td->td_extrasamples > 1) {
51 *va_arg(ap, uint16**) = td->td_transferfunction[1];
52 *va_arg(ap, uint16**) = td->td_transferfunction[2];
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_pdsdirread.c124 register TIFFDirectory* td; in TIFFReadPrivateDataSubDirectory() local
199 td = &tif->tif_dir; in TIFFReadPrivateDataSubDirectory()
294 if (td->td_stripbytecount) in EstimateStripByteCounts()
296 td->td_stripbytecount = (uint32*) in EstimateStripByteCounts()
324 if (td->td_stripoffset[i] + td->td_stripbytecount[i] > filesize) in EstimateStripByteCounts()
325 td->td_stripbytecount[i] = in EstimateStripByteCounts()
329 uint32 rowsperstrip = td->td_imagelength / td->td_nstrips; in EstimateStripByteCounts()
335 td->td_rowsperstrip = td->td_imagelength; in EstimateStripByteCounts()
1116 td->td_stripsperimage = td->td_nstrips = nstrips; in ChopUpSingleUncompressedStrip()
1120 _TIFFfree(td->td_stripoffset); in ChopUpSingleUncompressedStrip()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/
A Dsnmp_traps.c169 struct snmp_trap_dst *td; in snmp_send_trap() local
176 for (i = 0, td = &trap_dst[0]; i < SNMP_TRAP_DESTINATIONS; i++, td++) { in snmp_send_trap()
177 if ((td->enable != 0) && !ip_addr_isany(&td->dip)) { in snmp_send_trap()
179 if (snmp_get_local_ip_for_dst(snmp_traps_handle, &td->dip, &trap_msg.sip)) { in snmp_send_trap()
213 snmp_sendto(snmp_traps_handle, p, &td->dip, SNMP_TRAP_PORT); in snmp_send_trap()
/AliOS-Things-master/documentation/doxygen/style/
A Ddoxygen-custom.css126 td.navtab {
130 td.navtabHL {
137 td.navtabHL a, td.navtabHL a:visited {
388 td.indexkey {
398 td.indexvalue {
523 td.tiny {
679 .memname td {
785 td.mlabels-left {
790 td.mlabels-right {
833 .directory td {
[all …]
/AliOS-Things-master/components/freetype/src/gzip/
A Dinfblock.c157 inflate_huft *tl, *td; in inflate_blocks() local
160 (const inflate_huft**)&td, z); in inflate_blocks()
161 s->sub.decode.codes = inflate_codes_new(bl, bd, tl, td, z); in inflate_blocks()
309 inflate_huft *tl, *td; in inflate_blocks() local
316 s->sub.trees.blens, &bl, &bd, &tl, &td, in inflate_blocks()
329 if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL) in inflate_blocks()
A Dinftrees.c334 inflate_huft * FAR *td, /* distance tree result */ in inflate_trees_dynamic() argument
363 r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, hp, &hn, v); in inflate_trees_dynamic()
413 const inflate_huft * FAR *td, /* distance tree result */ in inflate_trees_fixed() argument
466 *td = fixed_td; in inflate_trees_fixed()
/AliOS-Things-master/components/SDL2/src/gfx/Docs/html/
A Ddoxygen.css196 td.indexkey {
206 td.indexvalue {
324 td.tiny {
630 table.doxtable td, table.doxtable th {
656 .fieldtable td, .fieldtable th {
660 .fieldtable td.fieldtype, .fieldtable td.fieldname {
667 .fieldtable td.fielddoc {
672 .fieldtable tr:last-child td {

Completed in 67 milliseconds

12