Home
last modified time | relevance | path

Searched refs:pBackground (Results 1 – 4 of 4) sorted by relevance

/external/libpng/contrib/gregbook/
Dreadpng.c157 png_color_16p pBackground; in readpng_get_bgcolor() local
176 png_get_bKGD(png_ptr, info_ptr, &pBackground); in readpng_get_bgcolor()
183 *red = pBackground->red >> 8; in readpng_get_bgcolor()
184 *green = pBackground->green >> 8; in readpng_get_bgcolor()
185 *blue = pBackground->blue >> 8; in readpng_get_bgcolor()
188 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor()
190 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor()
192 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
194 *red = (uch)pBackground->red; in readpng_get_bgcolor()
195 *green = (uch)pBackground->green; in readpng_get_bgcolor()
[all …]
Dreadpng2.c267 png_color_16p pBackground; in readpng2_info_callback() local
272 png_get_bKGD(png_ptr, info_ptr, &pBackground); in readpng2_info_callback()
277 mainprog_ptr->bg_red = pBackground->red >> 8; in readpng2_info_callback()
278 mainprog_ptr->bg_green = pBackground->green >> 8; in readpng2_info_callback()
279 mainprog_ptr->bg_blue = pBackground->blue >> 8; in readpng2_info_callback()
283 mainprog_ptr->bg_blue = pBackground->gray? 255 : 0; in readpng2_info_callback()
286 mainprog_ptr->bg_blue = (255/3) * pBackground->gray; in readpng2_info_callback()
289 mainprog_ptr->bg_blue = (255/15) * pBackground->gray; in readpng2_info_callback()
291 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback()
292 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback()
[all …]
/external/libpng/contrib/visupng/
DPngFile.c107 png_color_16 *pBackground; in PngLoadImage() local
199 if (png_get_bKGD(png_ptr, info_ptr, &pBackground)) in PngLoadImage()
201 png_set_background(png_ptr, pBackground, PNG_BACKGROUND_GAMMA_FILE, 1, 1.0); in PngLoadImage()
202 pBkgColor->red = (byte) pBackground->red; in PngLoadImage()
203 pBkgColor->green = (byte) pBackground->green; in PngLoadImage()
204 pBkgColor->blue = (byte) pBackground->blue; in PngLoadImage()
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h101 void SetBackground(class IPDF_BackgroundDraw* pBackground);