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

/haiku/src/tools/translation/tgainfo/
H A Dtgainfo.cpp72 uint16 firstentry; // first useful entry in the color map member in struct:TGAColorMapSpec
171 mapspec.firstentry = tga_uint16(reinterpret_cast<char *>(buf), 3);
177 static_cast<int>(mapspec.firstentry));
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.h90 uint16 firstentry; // first useful entry in the color map member in struct:TGAColorMapSpec
H A DTGATranslator.cpp283 memcpy(&mapspec.firstentry, buf + 3, 2);
284 mapspec.firstentry = B_LENDIAN_TO_HOST_INT16(mapspec.firstentry);
285 if (fileheader.colormaptype == 0 && mapspec.firstentry != 0)
377 pmapspec->firstentry = mapspec.firstentry;
1080 outMapspec.firstentry = B_HOST_TO_LENDIAN_INT16(mapspec.firstentry);
1098 memcpy(tgaheaders + 3, &outMapspec.firstentry, 2);
1210 mapspec.firstentry
[all...]

Completed in 87 milliseconds