Lines Matching refs:pBackground
158 png_color_16p pBackground; in readpng_get_bgcolor() local
177 png_get_bKGD(png_ptr, info_ptr, &pBackground); in readpng_get_bgcolor()
184 *red = pBackground->red >> 8; in readpng_get_bgcolor()
185 *green = pBackground->green >> 8; in readpng_get_bgcolor()
186 *blue = pBackground->blue >> 8; in readpng_get_bgcolor()
189 *red = *green = *blue = pBackground->gray? 255 : 0; in readpng_get_bgcolor()
191 *red = *green = *blue = (255/3) * pBackground->gray; in readpng_get_bgcolor()
193 *red = *green = *blue = (255/15) * pBackground->gray; in readpng_get_bgcolor()
195 *red = (uch)pBackground->red; in readpng_get_bgcolor()
196 *green = (uch)pBackground->green; in readpng_get_bgcolor()
197 *blue = (uch)pBackground->blue; in readpng_get_bgcolor()