Home
last modified time | relevance | path

Searched refs:bitspersample (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/
A Dtif2ras.c94 short bitspersample; local
146 TIFFGetField(tif, TIFFTAG_BITSPERSAMPLE, &bitspersample);
147 if (bitspersample > 8)
153 if (bitspersample == 1)
173 bitspersample, samplesperpixel);
179 numcolors = (1 << bitspersample);
274 switch (bitspersample) {
298 error("%s: bad bits/sample: %d\n", bitspersample);
A Dras2tif.c100 short bitspersample; local
177 bitspersample = 1;
182 bitspersample = 8;
187 bitspersample = 8;
192 bitspersample = 8;
204 TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, bitspersample);
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dtiffcmp.c50 static uint16 bitspersample = 1; variable
171 (void) TIFFGetField(tif1, TIFFTAG_BITSPERSAMPLE, &bitspersample); in tiffcmp()
184 if (config1 != config2 && bitspersample != 8 && samplesperpixel > 1) { in tiffcmp()
334 int ppb = 8 / bitspersample; in ContigCompare()
342 switch (bitspersample) { in ContigCompare()
422 fprintf(stderr, "Bit depth %d is not supported.\n", bitspersample); in ContigCompare()
434 switch (bitspersample) { in PrintIntDiff()
441 mask1 = ~((-1) << bitspersample); in PrintIntDiff()
442 s = (8 - bitspersample); in PrintIntDiff()
445 mask2 >>= bitspersample, s -= bitspersample, pix++) { in PrintIntDiff()
[all …]
A Dtiff2ps.c498 static uint16 bitspersample; variable
525 if (alpha && bitspersample != 8) { in checkImage()
528 bitspersample); in checkImage()
552 bitspersample = 8; in checkImage()
562 switch (bitspersample) { in checkImage()
569 bitspersample); in checkImage()
2016 bitspersample); in PS_Lvl2ImageDict()
2033 bitspersample); in PS_Lvl2ImageDict()
2556 switch (bitspersample) { in PSDataPalette()
2563 nc = 3 * (8 / bitspersample); in PSDataPalette()
[all …]
A Dpal2rgb.c74 uint16 bitspersample, shortv; in main() local
131 bitspersample = 0; in main()
132 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main()
133 if (bitspersample != 8) { in main()
170 cmap = checkcmap(1<<bitspersample, rmap, gmap, bmap); in main()
177 for (i = (1<<bitspersample)-1; i >= 0; i--) { in main()
A Dtiffdither.c207 uint16 samplesperpixel, bitspersample = 1, shortv; in main() local
256 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main()
257 if (bitspersample != 8) { in main()
A Dtiff2bw.c118 uint16 bitspersample; in main() local
186 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main()
187 if (bitspersample != 8) { in main()
238 if (checkcmap(in, 1<<bitspersample, red, green, blue) == 16) { in main()
241 for (i = (1<<bitspersample)-1; i >= 0; i--) { in main()
A Dtiffsplit.c160 uint16 bitspersample, samplesperpixel, compression, shortv, *shortav; in tiffcp() local
171 CopyField(TIFFTAG_BITSPERSAMPLE, bitspersample); in tiffcp()
A Dtiffmedian.c97 uint16 bitspersample = 1; variable
164 TIFFGetField(in, TIFFTAG_BITSPERSAMPLE, &bitspersample); in main()
166 if (bitspersample != 8 && bitspersample != 16) { in main()
A Dtiffcp.c594 uint16 bitspersample = 1, samplesperpixel = 1; in tiffcp() local
602 CopyField(TIFFTAG_BITSPERSAMPLE, bitspersample); in tiffcp()
813 cf = pickCopyFunc(in, out, bitspersample, samplesperpixel); in tiffcp()
1801 pickCopyFunc(TIFF* in, TIFF* out, uint16 bitspersample, uint16 samplesperpixel) in pickCopyFunc() argument
1808 if (shortv != config && bitspersample != 8 && samplesperpixel > 1) { in pickCopyFunc()
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_wave.c398 if (format->bitspersample != 4) { in MS_ADPCM_Init()
807 if (format->bitspersample == 3) { in IMA_ADPCM_Init()
809 } else if (format->bitspersample != 4) { in IMA_ADPCM_Init()
1146 if (format->bitspersample != 8) { in LAW_Init()
1318 switch (format->bitspersample) { in PCM_Init()
1329 if (format->bitspersample != 32) { in PCM_Init()
1337 if (format->blockalign * 8 != format->channels * format->bitspersample) { in PCM_Init()
1429 if (format->encoding == PCM_CODE && format->bitspersample == 24) { in PCM_Decode()
1642 format->bitspersample = SDL_ReadLE16(fmtsrc); in WaveReadFormat()
1723 } else if (format->bitspersample == 0) { in WaveCheckFormat()
[all …]
A DSDL_wave.h58 Uint16 bitspersample; /* Currently supported are 8, 16, 24, 32, and 4 for ADPCM. */ member
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_getimage.c298 switch (img->bitspersample) { in TIFFRGBAImageBegin()
307 img->bitspersample); in TIFFRGBAImageBegin()
393 img->bitspersample); in TIFFRGBAImageBegin()
454 img->bitspersample = 8; in TIFFRGBAImageBegin()
469 img->bitspersample = 8; in TIFFRGBAImageBegin()
2377 int bitspersample = img->bitspersample; in makebwmap() local
2395 switch (bitspersample) { in makebwmap()
2513 int bitspersample = img->bitspersample; in makecmap() local
2532 switch (bitspersample) { in makecmap()
2573 if (img->bitspersample == 8) in buildMap()
[all …]
A Dtiffio.h206 uint16 bitspersample; /* image bits/sample */ member
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_imageiter.h43 uint16 bitspersample; /* image bits/sample */ member
A Dtif_imageiter.c82 TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &img->bitspersample); in TIFFImageIterBegin()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/win_dib/
A DTiffile.cpp307 switch (img->bitspersample) { in DibInstallHack()
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Dtiffio.h206 uint16 bitspersample; /* image bits/sample */ member
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/
A DChangeLog837 ColorMap, TransferFunction attached and nasty plays with bitspersample.
2584 thunder encoded files with wrong bitspersample set. The libtiff
3804 when dealing with large bitspersample values, shutting up purification

Completed in 67 milliseconds