Lines Matching refs:targaheader
50 char targaheader[18];
53 MEMZERO(targaheader, sizeof(targaheader));
56 targaheader[1] = 1; /* color map type 1 */
57 targaheader[5] = (char) (num_colors & 0xFF);
58 targaheader[6] = (char) (num_colors >> 8);
59 targaheader[7] = 24; /* 24 bits per cmap entry */
62 targaheader[12] = (char) (cinfo->output_width & 0xFF);
63 targaheader[13] = (char) (cinfo->output_width >> 8);
64 targaheader[14] = (char) (cinfo->output_height & 0xFF);
65 targaheader[15] = (char) (cinfo->output_height >> 8);
66 targaheader[17] = 0x20; /* Top-down, non-interlaced */
69 targaheader[2] = 3; /* image type = uncompressed grayscale */
70 targaheader[16] = 8; /* bits per pixel */
73 targaheader[2] = 1; /* image type = colormapped RGB */
74 targaheader[16] = 8;
76 targaheader[2] = 2; /* image type = uncompressed RGB */
77 targaheader[16] = 24;
81 if (JFWRITE(dinfo->output_file, targaheader, 18) != (size_t) 18)