OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:targaheader
(Results
1 - 2
of
2
) sorted by null
/external/libjpeg-turbo/
wrtarga.c
50
char
targaheader
[18];
local
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)
[
all
...]
rdtarga.c
337
U_CHAR
targaheader
[18];
local
342
#define GET_2B(offset) ((unsigned int) UCH(
targaheader
[offset]) + \
343
(((unsigned int) UCH(
targaheader
[offset+1])) << 8))
345
if (! ReadOK(source->pub.input_file,
targaheader
, 18))
349
if (
targaheader
[16] == 15)
350
targaheader
[16] = 16;
352
idlen = UCH(
targaheader
[0]);
353
cmaptype = UCH(
targaheader
[1]);
354
subtype = UCH(
targaheader
[2]);
358
source->pixel_size = UCH(
targaheader
[16]) >> 3
[
all
...]
Completed in 621 milliseconds