Displaying 2 results from an estimated 2 matches for "color_typ".
Did you mean:
color_type
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi all,
I have managed to compile libpng using wllvm and obtain the IR of pngpixel
( small tool which is part of libpng ).
libpng has a function called png_check_IHDR:
void /* PRIVATE */
png_check_IHDR(png_const_structrp png_ptr,
png_uint_32 width, png_uint_32 height, int bit_depth,
int color_type, int interlace_type, int compression_type,
int filter_type)
{
int error = 0;
/* Check for width and height valid values */
if (width == 0)
{
png_warning(png_ptr, "Image width is zero in IHDR");
error = 1;
}
else if (width > PNG_UINT_31_MAX)
{...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...e IR of
>> pngpixel ( small tool which is part of libpng ).
>>
>> libpng has a function called png_check_IHDR:
>>
>> void /* PRIVATE */
>> png_check_IHDR(png_const_structrp png_ptr,
>> png_uint_32 width, png_uint_32 height, int bit_depth,
>> int color_type, int interlace_type, int compression_type,
>> int filter_type)
>> {
>> int error = 0;
>>
>> /* Check for width and height valid values */
>> if (width == 0)
>> {
>> png_warning(png_ptr, "Image width is zero in IHDR");
&...