Searched refs:outImageInfo (Results 1 – 1 of 1) sorted by relevance
101 image_info* outImageInfo) in read_png() argument111 png_get_IHDR(read_ptr, read_info, &outImageInfo->width, in read_png()112 &outImageInfo->height, &bit_depth, &color_type, in read_png()143 outImageInfo->rows = (png_bytepp)malloc( in read_png()144 outImageInfo->height * sizeof(png_bytep)); in read_png()145 outImageInfo->allocHeight = outImageInfo->height; in read_png()146 outImageInfo->allocRows = outImageInfo->rows; in read_png()148 png_set_rows(read_ptr, read_info, outImageInfo->rows); in read_png()150 for (i = 0; i < (int)outImageInfo->height; i++) in read_png()152 outImageInfo->rows[i] = (png_bytep) in read_png()[all …]