Displaying 2 results from an estimated 2 matches for "png_check_ihdr".
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)
{...
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
...18, 2019 at 2:09 PM Alberto Barbaro via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> 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;
>&g...