Searched refs:row_pointers (Results 1 – 1 of 1) sorted by relevance
59 png_bytep * row_pointers; member176 png_byte * row = p.row_pointers[y]; in screenshot_compare()274 p->row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * p->height); in read_png_file()278 p->row_pointers[y] = (png_byte *) malloc(png_get_rowbytes(p->png_ptr, p->info_ptr)); in read_png_file()280 png_read_image(p->png_ptr, p->row_pointers); in read_png_file()341 png_bytep * row_pointers = (png_bytep *) malloc(sizeof(png_bytep) * height); in write_png_file() local343 row_pointers[y] = malloc(3 * width); in write_png_file()346 row_pointers[y][x * 3 + 0] = line[x * 4 + 0]; in write_png_file()347 row_pointers[y][x * 3 + 1] = line[x * 4 + 1]; in write_png_file()348 row_pointers[y][x * 3 + 2] = line[x * 4 + 2]; in write_png_file()[all …]