Searched refs:targaheader (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libjpeg_turbo/
H A Dwrtarga.c57 char targaheader[18]; local
60 MEMZERO(targaheader, SIZEOF(targaheader));
63 targaheader[1] = 1; /* color map type 1 */
64 targaheader[5] = (char) (num_colors & 0xFF);
65 targaheader[6] = (char) (num_colors >> 8);
66 targaheader[7] = 24; /* 24 bits per cmap entry */
69 targaheader[12] = (char) (cinfo->output_width & 0xFF);
70 targaheader[13] = (char) (cinfo->output_width >> 8);
71 targaheader[1
[all...]
H A Drdtarga.c336 U_CHAR targaheader[18]; local
341 #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \
342 (((unsigned int) UCH(targaheader[offset+1])) << 8))
344 if (! ReadOK(source->pub.input_file, targaheader, 18))
348 if (targaheader[16] == 15)
349 targaheader[16] = 16;
351 idlen = UCH(targaheader[0]);
352 cmaptype = UCH(targaheader[1]);
353 subtype = UCH(targaheader[2]);
357 source->pixel_size = UCH(targaheader[1
[all...]
/external/jpeg/
H A Dwrtarga.c57 char targaheader[18]; local
60 MEMZERO(targaheader, SIZEOF(targaheader));
63 targaheader[1] = 1; /* color map type 1 */
64 targaheader[5] = (char) (num_colors & 0xFF);
65 targaheader[6] = (char) (num_colors >> 8);
66 targaheader[7] = 24; /* 24 bits per cmap entry */
69 targaheader[12] = (char) (cinfo->output_width & 0xFF);
70 targaheader[13] = (char) (cinfo->output_width >> 8);
71 targaheader[1
[all...]
H A Drdtarga.c336 U_CHAR targaheader[18]; local
341 #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \
342 (((unsigned int) UCH(targaheader[offset+1])) << 8))
344 if (! ReadOK(source->pub.input_file, targaheader, 18))
348 if (targaheader[16] == 15)
349 targaheader[16] = 16;
351 idlen = UCH(targaheader[0]);
352 cmaptype = UCH(targaheader[1]);
353 subtype = UCH(targaheader[2]);
357 source->pixel_size = UCH(targaheader[1
[all...]
/external/qemu/distrib/jpeg-6b/
H A Dwrtarga.c57 char targaheader[18]; local
60 MEMZERO(targaheader, SIZEOF(targaheader));
63 targaheader[1] = 1; /* color map type 1 */
64 targaheader[5] = (char) (num_colors & 0xFF);
65 targaheader[6] = (char) (num_colors >> 8);
66 targaheader[7] = 24; /* 24 bits per cmap entry */
69 targaheader[12] = (char) (cinfo->output_width & 0xFF);
70 targaheader[13] = (char) (cinfo->output_width >> 8);
71 targaheader[1
[all...]
H A Drdtarga.c336 U_CHAR targaheader[18]; local
341 #define GET_2B(offset) ((unsigned int) UCH(targaheader[offset]) + \
342 (((unsigned int) UCH(targaheader[offset+1])) << 8))
344 if (! ReadOK(source->pub.input_file, targaheader, 18))
348 if (targaheader[16] == 15)
349 targaheader[16] = 16;
351 idlen = UCH(targaheader[0]);
352 cmaptype = UCH(targaheader[1]);
353 subtype = UCH(targaheader[2]);
357 source->pixel_size = UCH(targaheader[1
[all...]

Completed in 1195 milliseconds