Searched refs:ras_depth (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Drasterfile.h10 long ras_depth; /* depth (1, 8, or 24 bits) of pixel */ member in struct:rasterfile
H A Dras2tiff.c99 TIFFSwabLong((uint32 *)&h.ras_depth);
109 TIFFSwabLong((uint32 *)&h.ras_depth);
125 TIFFSetField(out, TIFFTAG_SAMPLESPERPIXEL, h.ras_depth > 8 ? 3 : 1);
126 TIFFSetField(out, TIFFTAG_BITSPERSAMPLE, h.ras_depth > 1 ? 8 : 1);
144 mapsize = 1<<h.ras_depth;
175 photometric = h.ras_depth == 24 ?
195 linebytes = ((h.ras_depth*h.ras_width+15) >> 3) &~ 1;
210 if (h.ras_type == RT_STANDARD && h.ras_depth == 24) {
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/sun/
H A Dsun.c94 UInt ras_depth; /* Number of bits per pixel (1,8,24,32) */ member in struct:__anon12997
424 sprintf(str, "\tDepth of pixels : %d\n", sh->ras_depth); OUT;
1120 nchan = (sh.ras_depth == 32? 4: 3);
1122 switch (sh.ras_depth)
1149 sprintf(errMsg, "Image has invalid pixel depth: %d", sh.ras_depth);
1248 sh.ras_depth = 8 * nchan;

Completed in 71 milliseconds