• Home
  • Raw
  • Download

Lines Matching refs:png_byte

228                (png_byte)(255 - info_ptr->trans_alpha[j]);  in png_write_info()
477 ptime->month = (png_byte)(ttime->tm_mon + 1); in png_convert_from_struct_tm()
478 ptime->day = (png_byte)ttime->tm_mday; in png_convert_from_struct_tm()
479 ptime->hour = (png_byte)ttime->tm_hour; in png_convert_from_struct_tm()
480 ptime->minute = (png_byte)ttime->tm_min; in png_convert_from_struct_tm()
481 ptime->second = (png_byte)ttime->tm_sec; in png_convert_from_struct_tm()
658 *(rp) = (png_byte)(*rp - *(rp + 1)); in png_do_write_intrapixel()
659 *(rp + 2) = (png_byte)(*(rp + 2) - *(rp + 1)); in png_do_write_intrapixel()
685 *(rp ) = (png_byte)(red >> 8); in png_do_write_intrapixel()
686 *(rp + 1) = (png_byte)red; in png_do_write_intrapixel()
687 *(rp + 4) = (png_byte)(blue >> 8); in png_do_write_intrapixel()
688 *(rp + 5) = (png_byte)blue; in png_do_write_intrapixel()
831 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); in png_write_row()
1040 png_ptr->do_filter = (png_byte)filters; break; in png_set_filter()
1118 png_ptr->do_filter = (png_byte)filters; in png_set_filter()
1641 static png_byte
1679 return (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_unpremultiply()
1729 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_write_image_8bit()
1772 *out_ptr++ = (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_write_image_8bit()
1811 png_byte tRNS[256]; in png_image_set_PLTE()
1831 palette[i].blue = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1833 palette[i].green = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1835 palette[i].red = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1841 (png_byte)PNG_sRGB_FROM_LINEAR(255 * *entry); in png_image_set_PLTE()
1847 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_image_set_PLTE()