Lines Matching refs:row_pointers

137 	volatile png_bytepp row_pointers = NULL;  in gdImageCreateFromPngCtx()  local
227 gdFree(row_pointers); in gdImageCreateFromPngCtx()
350 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
354 row_pointers[h] = image_data + h * rowbytes; in gdImageCreateFromPngCtx()
357 png_read_image(png_ptr, row_pointers); /* read whole image... */ in gdImageCreateFromPngCtx()
388 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
389 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
390 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
401 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
402 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
403 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
410 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
420 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx()
440 gdFree(row_pointers); in gdImageCreateFromPngCtx()
712 png_bytep *row_pointers; in gdImagePngCtxEx() local
721 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
722 prow_pointers = row_pointers; in gdImagePngCtxEx()
746 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
750 gdFree(row_pointers[j]); in gdImagePngCtxEx()
753 gdFree(row_pointers); in gdImagePngCtxEx()
756 png_bytep *row_pointers; in gdImagePngCtxEx() local
757 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
759 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
761 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
765 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
769 gdFree(row_pointers[j]); in gdImagePngCtxEx()
772 gdFree(row_pointers); in gdImagePngCtxEx()