Lines Matching refs:row_pointers

137 	volatile png_bytepp row_pointers = NULL;  in gdImageCreateFromPngCtx()  local
227 gdFree(row_pointers); in gdImageCreateFromPngCtx()
345 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
349 row_pointers[h] = image_data + h * rowbytes; in gdImageCreateFromPngCtx()
352 png_read_image(png_ptr, row_pointers); /* read whole image... */ in gdImageCreateFromPngCtx()
383 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
384 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
385 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
396 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
397 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
398 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
405 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
415 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx()
435 gdFree(row_pointers); in gdImageCreateFromPngCtx()
707 png_bytep *row_pointers; in gdImagePngCtxEx() local
716 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
717 prow_pointers = row_pointers; in gdImagePngCtxEx()
741 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
745 gdFree(row_pointers[j]); in gdImagePngCtxEx()
748 gdFree(row_pointers); in gdImagePngCtxEx()
751 png_bytep *row_pointers; in gdImagePngCtxEx() local
752 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
754 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
756 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
760 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
764 gdFree(row_pointers[j]); in gdImagePngCtxEx()
767 gdFree(row_pointers); in gdImagePngCtxEx()