Lines Matching refs:row_pointers

131 	volatile png_bytepp row_pointers = NULL;  in gdImageCreateFromPngCtx()  local
221 gdFree(row_pointers); in gdImageCreateFromPngCtx()
325 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
329 row_pointers[h] = image_data + h * rowbytes; in gdImageCreateFromPngCtx()
332 png_read_image(png_ptr, row_pointers); /* read whole image... */ in gdImageCreateFromPngCtx()
363 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
364 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
365 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
376 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
377 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
378 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
385 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
395 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx()
415 gdFree(row_pointers); in gdImageCreateFromPngCtx()
681 png_bytep *row_pointers; in gdImagePngCtxEx() local
690 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
691 prow_pointers = row_pointers; in gdImagePngCtxEx()
720 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
724 gdFree(row_pointers[j]); in gdImagePngCtxEx()
727 gdFree(row_pointers); in gdImagePngCtxEx()
730 png_bytep *row_pointers; in gdImagePngCtxEx() local
731 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
733 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
735 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
739 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
743 gdFree(row_pointers[j]); in gdImagePngCtxEx()
746 gdFree(row_pointers); in gdImagePngCtxEx()