Lines Matching refs:row_pointers

131 	volatile png_bytepp row_pointers = NULL;  in gdImageCreateFromPngCtx()  local
220 gdFree(row_pointers); in gdImageCreateFromPngCtx()
324 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
328 row_pointers[h] = image_data + h * rowbytes; in gdImageCreateFromPngCtx()
331 png_read_image(png_ptr, row_pointers); /* read whole image... */ in gdImageCreateFromPngCtx()
361 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
362 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
363 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
374 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
375 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
376 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
383 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
393 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx()
413 gdFree(row_pointers); in gdImageCreateFromPngCtx()
679 png_bytep *row_pointers; in gdImagePngCtxEx() local
688 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
689 prow_pointers = row_pointers; in gdImagePngCtxEx()
718 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
722 gdFree(row_pointers[j]); in gdImagePngCtxEx()
725 gdFree(row_pointers); in gdImagePngCtxEx()
728 png_bytep *row_pointers; in gdImagePngCtxEx() local
729 row_pointers = safe_emalloc(height, sizeof(png_bytep), 0); in gdImagePngCtxEx()
731 row_pointers[j] = (png_bytep) gdMalloc(width); in gdImagePngCtxEx()
733 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
737 png_write_image(png_ptr, row_pointers); in gdImagePngCtxEx()
741 gdFree(row_pointers[j]); in gdImagePngCtxEx()
744 gdFree(row_pointers); in gdImagePngCtxEx()