Lines Matching refs:tgaheaders
1071 uint8 tgaheaders[TGA_HEADERS_SIZE]; in write_tga_headers() local
1094 tgaheaders[0] = outFileheader.idlength; in write_tga_headers()
1095 tgaheaders[1] = outFileheader.colormaptype; in write_tga_headers()
1096 tgaheaders[2] = outFileheader.imagetype; in write_tga_headers()
1098 memcpy(tgaheaders + 3, &outMapspec.firstentry, 2); in write_tga_headers()
1099 memcpy(tgaheaders + 5, &outMapspec.length, 2); in write_tga_headers()
1100 tgaheaders[7] = outMapspec.entrysize; in write_tga_headers()
1102 memcpy(tgaheaders + 8, &outImagespec.xorigin, 2); in write_tga_headers()
1103 memcpy(tgaheaders + 10, &outImagespec.yorigin, 2); in write_tga_headers()
1104 memcpy(tgaheaders + 12, &outImagespec.width, 2); in write_tga_headers()
1105 memcpy(tgaheaders + 14, &outImagespec.height, 2); in write_tga_headers()
1106 tgaheaders[16] = outImagespec.depth; in write_tga_headers()
1107 tgaheaders[17] = outImagespec.descriptor; in write_tga_headers()
1110 written = outDestination->Write(tgaheaders, TGA_HEADERS_SIZE); in write_tga_headers()