Home
last modified time | relevance | path

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
171 mapspec.firstentry = tga_uint16(reinterpret_cast<char *>(buf), 3); in print_tga_info()
177 static_cast<int>(mapspec.firstentry)); in print_tga_info()
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp283 memcpy(&mapspec.firstentry, buf + 3, 2); in identify_tga_header()
284 mapspec.firstentry = B_LENDIAN_TO_HOST_INT16(mapspec.firstentry); in identify_tga_header()
285 if (fileheader.colormaptype == 0 && mapspec.firstentry != 0) in identify_tga_header()
377 pmapspec->firstentry = mapspec.firstentry; in identify_tga_header()
1080 outMapspec.firstentry = B_HOST_TO_LENDIAN_INT16(mapspec.firstentry); in write_tga_headers()
1098 memcpy(tgaheaders + 3, &outMapspec.firstentry, 2); in write_tga_headers()
1210 mapspec.firstentry = 0; in translate_from_bits()
1297 mapspec.firstentry = 0; in translate_from_bits()
H A DTGATranslator.h90 uint16 firstentry; // first useful entry in the color map member