Home
last modified time | relevance | path

Searched refs:cmap_length (Results 1 – 25 of 39) sorted by relevance

12

/dports/graphics/urt/urt-3.1b1_12/cnv/
H A Dtargatorle.c88 cmap_length; /* Color Map Length */ member
179 tga_head.cmap_length = GETSHORT(headbuf+5);
209 (unsigned)tga_head.cmap_length);
252 (tga_head.cmap_length==0))
341 (unsigned char *)calloc((unsigned)tga_head.cmap_length,cmapbytes);
342 fread (tga_head.cmap_data, cmapbytes, (unsigned)tga_head.cmap_length, infile);
H A Drletotarga.c55 cmap_length; /* Color Map Length */ member
101 tga_head.cmap_length = 0;
150 PUTSHORT(tga_head.cmap_length);
/dports/graphics/liblug/lug/convert/
H A Dtga.c91 if ( tga.cmap_length > 256 )
103 for ( i = 0; i < tga.cmap_length; i++ )
106 ptr = image->cmap = (byte *) Malloc( 3 * tga.cmap_length );
107 for ( i = 0; i < tga.cmap_length; i++) {
127 image->depth = no_bits( tga.cmap_length ) + 1;
309 tga->cmap_length = ( buffer[6] << 8 ) | buffer[5];
321 VPRINTF(stderr, "Cmap length: %d\n", tga->cmap_length );
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/tgautils/
H A Dtgautils.cpp48 short cmap_length; member
391 header.cmap_length = cfread_short(targa_file); in targa_read_header()
550 header.cmap_length = cfread_short(targa_file); in targa_read_bitmap()
606 Assert(header.cmap_length<=256); in targa_read_bitmap()
611 for (i = 0; i < header.cmap_length; i++) { in targa_read_bitmap()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/tgautils/
H A Dtgautils.cpp49 short cmap_length; member
398 header.cmap_length = cfread_short(targa_file); in targa_read_header()
557 header.cmap_length = cfread_short(targa_file); in targa_read_bitmap()
613 Assert(header.cmap_length<=256); in targa_read_bitmap()
618 for (i = 0; i < header.cmap_length; i++) { in targa_read_bitmap()
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/targa.imageio/
H A Dtargainput.cpp123 RH(cmap_length); in open()
138 swap_endian(&m_tga.cmap_length); in open()
429 new unsigned char[palbytespp * m_tga.cmap_length]); in open()
430 if (!fread(palette.get(), palbytespp, m_tga.cmap_length)) in open()
632 palette = new unsigned char[palbytespp * m_tga.cmap_length]; in readimg()
633 if (!fread(palette, palbytespp, m_tga.cmap_length)) in readimg()
H A Dtarga_pvt.h38 uint16_t cmap_length; ///< member
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/targa.imageio/
H A Dtargainput.cpp123 RH(cmap_length); in open()
138 swap_endian(&m_tga.cmap_length); in open()
429 new unsigned char[palbytespp * m_tga.cmap_length]); in open()
430 if (!fread(palette.get(), palbytespp, m_tga.cmap_length)) in open()
632 palette = new unsigned char[palbytespp * m_tga.cmap_length]; in readimg()
633 if (!fread(palette, palbytespp, m_tga.cmap_length)) in readimg()
H A Dtarga_pvt.h38 uint16_t cmap_length; ///< member
/dports/graphics/freeimage/FreeImage/Source/LibJPEG/
H A Drdtarga.c66 int cmap_length; /* colormap length */ member
204 cmaplen = source->cmap_length; in get_8bit_row()
461 source->cmap_length = (int) maplen; in start_input_tga()
468 source->cmap_length = 0; in start_input_tga()
H A Drdbmp.c65 int cmap_length; /* colormap length */ member
142 cmaplen = source->cmap_length; in get_8bit_row()
410 source->cmap_length = (int) biClrUsed; in start_input_bmp()
/dports/graphics/jpeg-turbo/libjpeg-turbo-2.1.1/
H A Drdtarga.c60 int cmap_length; /* colormap length */ member
191 int cmaplen = source->cmap_length; in get_8bit_row()
456 source->cmap_length = (int)maplen; in start_input_tga()
463 source->cmap_length = 0; in start_input_tga()
/dports/graphics/libjpeg-turbo/libjpeg-turbo-2.1.1/
H A Drdtarga.c60 int cmap_length; /* colormap length */ member
191 int cmaplen = source->cmap_length; in get_8bit_row()
456 source->cmap_length = (int)maplen; in start_input_tga()
463 source->cmap_length = 0; in start_input_tga()
/dports/devel/upp/upp/uppsrc/plugin/jpg/lib/
H A Drdtarga.c65 int cmap_length; /* colormap length */ member
199 cmaplen = source->cmap_length; in get_8bit_row()
452 source->cmap_length = (int) maplen; in start_input_tga()
459 source->cmap_length = 0; in start_input_tga()
H A Drdbmp.c64 int cmap_length; /* colormap length */ member
137 cmaplen = source->cmap_length; in get_8bit_row()
391 source->cmap_length = (int) biClrUsed; in start_input_bmp()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libjpeg_turbo/
H A Drdtarga.c70 int cmap_length; /* colormap length */ member
201 int cmaplen = source->cmap_length; in get_8bit_row()
460 source->cmap_length = (int)maplen; in start_input_tga()
467 source->cmap_length = 0; in start_input_tga()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libjpeg_turbo/
H A Drdtarga.c70 int cmap_length; /* colormap length */ member
201 int cmaplen = source->cmap_length; in get_8bit_row()
460 source->cmap_length = (int)maplen; in start_input_tga()
467 source->cmap_length = 0; in start_input_tga()
/dports/graphics/mozjpeg/mozjpeg-4.0.3/
H A Drdtarga.c70 int cmap_length; /* colormap length */ member
201 int cmaplen = source->cmap_length; in get_8bit_row()
461 source->cmap_length = (int)maplen; in start_input_tga()
468 source->cmap_length = 0; in start_input_tga()
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/libjpeg-turbo/libjpeg-turbo-2.0.6/
H A Drdtarga.c70 int cmap_length; /* colormap length */ member
201 int cmaplen = source->cmap_length; in get_8bit_row()
461 source->cmap_length = (int)maplen; in start_input_tga()
468 source->cmap_length = 0; in start_input_tga()
/dports/graphics/dssim/dssim-3.1.2/cargo-crates/mozjpeg-sys-1.0.1/vendor/
H A Drdtarga.c60 int cmap_length; /* colormap length */ member
191 int cmaplen = source->cmap_length; in get_8bit_row()
456 source->cmap_length = (int)maplen; in start_input_tga()
463 source->cmap_length = 0; in start_input_tga()
/dports/graphics/liblug/lug/include/
H A Dtarga.h48 ushort cmap_length; member
/dports/graphics/mxp/mxp/lug/
H A Dtarga.h48 ushort cmap_length; member
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgdevpsft.c248 gs_glyph max_glyph, int options, uint cmap_length) in write_cmap() argument
317 put_pad(s, cmap_length); in write_cmap()
547 uint cmap_length; in psf_write_truetype_data() local
737 cmap_length = size_cmap(font, 0xf000, 256, in psf_write_truetype_data()
740 offset, cmap_length); in psf_write_truetype_data()
879 options, cmap_length); in psf_write_truetype_data()
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgdevpsft.c248 gs_glyph max_glyph, int options, uint cmap_length) in write_cmap() argument
317 put_pad(s, cmap_length); in write_cmap()
547 uint cmap_length; in psf_write_truetype_data() local
737 cmap_length = size_cmap(font, 0xf000, 256, in psf_write_truetype_data()
740 offset, cmap_length); in psf_write_truetype_data()
879 options, cmap_length); in psf_write_truetype_data()
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/vector/
H A Dgdevpsft.c352 gs_glyph max_glyph, int options, uint cmap_length) in write_cmap() argument
395 put_pad(s, cmap_length); in write_cmap()
436 put_pad(s, cmap_length); in write_cmap()
800 uint cmap_length = 0; in psf_write_truetype_data() local
1049 cmap_length = size_cmap(font, TT_BIAS, 256, in psf_write_truetype_data()
1053 offset, cmap_length); in psf_write_truetype_data()
1269 options, cmap_length); in psf_write_truetype_data()

12