Lines Matching refs:pBackground
430 png_color_16p pBackground; in readpng2_info_callback() local
435 png_get_bKGD(png_ptr, info_ptr, &pBackground); in readpng2_info_callback()
440 mainprog_ptr->bg_red = pBackground->red >> 8; in readpng2_info_callback()
441 mainprog_ptr->bg_green = pBackground->green >> 8; in readpng2_info_callback()
442 mainprog_ptr->bg_blue = pBackground->blue >> 8; in readpng2_info_callback()
446 mainprog_ptr->bg_blue = pBackground->gray? 255 : 0; in readpng2_info_callback()
449 mainprog_ptr->bg_blue = (255/3) * pBackground->gray; in readpng2_info_callback()
452 mainprog_ptr->bg_blue = (255/15) * pBackground->gray; in readpng2_info_callback()
454 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback()
455 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback()
456 mainprog_ptr->bg_blue = (uch)pBackground->blue; in readpng2_info_callback()