OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:pBackground
(Results
1 - 3
of
3
) sorted by null
/external/libpng/contrib/gregbook/
readpng.c
158
png_color_16p
pBackground
;
177
png_get_bKGD(png_ptr, info_ptr, &
pBackground
);
184
*red =
pBackground
->red >> 8;
185
*green =
pBackground
->green >> 8;
186
*blue =
pBackground
->blue >> 8;
189
*red = *green = *blue =
pBackground
->gray? 255 : 0;
191
*red = *green = *blue = (255/3) *
pBackground
->gray;
193
*red = *green = *blue = (255/15) *
pBackground
->gray;
195
*red = (uch)
pBackground
->red;
196
*green = (uch)
pBackground
->green
[
all
...]
readpng2.c
271
png_color_16p
pBackground
;
276
if (png_get_bKGD(png_ptr, info_ptr, &
pBackground
))
283
mainprog_ptr->bg_red =
pBackground
->red >> 8;
284
mainprog_ptr->bg_green =
pBackground
->green >> 8;
285
mainprog_ptr->bg_blue =
pBackground
->blue >> 8;
289
mainprog_ptr->bg_blue =
pBackground
->gray? 255 : 0;
292
mainprog_ptr->bg_blue = (255/3) *
pBackground
->gray;
295
mainprog_ptr->bg_blue = (255/15) *
pBackground
->gray;
297
mainprog_ptr->bg_red = (uch)
pBackground
->red;
298
mainprog_ptr->bg_green = (uch)
pBackground
->green
[
all
...]
/external/libpng/contrib/visupng/
PngFile.c
107
png_color_16 *
pBackground
;
199
if (png_get_bKGD(png_ptr, info_ptr, &
pBackground
))
201
png_set_background(png_ptr,
pBackground
, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0);
202
pBkgColor->red = (byte)
pBackground
->red;
203
pBkgColor->green = (byte)
pBackground
->green;
204
pBkgColor->blue = (byte)
pBackground
->blue;
Completed in 257 milliseconds