Searched refs:tgaHeader (Results 1 – 1 of 1) sorted by relevance
49 deUint8 tgaHeader[18]; in deImage_loadTarga() local51 bytesRead = (int)fread(&tgaHeader, 1, 18, file); in deImage_loadTarga()53 DE_TEST_ASSERT(tgaHeader[2] == 2); /* truecolor, no encoding */ in deImage_loadTarga()54 …DE_TEST_ASSERT(tgaHeader[17] == 0x00 || tgaHeader[17] == 0x20); /* both y-directions supported, no… in deImage_loadTarga()56 yFlipped = (tgaHeader[17] & 0x20) == 0; in deImage_loadTarga()59 width = (int)(tgaHeader[12]) | ((int)(tgaHeader[13]) << 8); in deImage_loadTarga()60 height = (int)(tgaHeader[14]) | ((int)(tgaHeader[15]) << 8); in deImage_loadTarga()61 bitsPerPixel = tgaHeader[16]; in deImage_loadTarga()124 char tgaHeader[18]; in deImage_saveTarga() local142 memset(tgaHeader, 0, sizeof(tgaHeader)); in deImage_saveTarga()[all …]