Lines Matching refs:row_pointers

132 	volatile png_bytepp row_pointers = NULL;  in gdImageCreateFromPngCtx()  local
222 gdFree(row_pointers); in gdImageCreateFromPngCtx()
340 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); in gdImageCreateFromPngCtx()
344 row_pointers[h] = image_data + h * rowbytes; in gdImageCreateFromPngCtx()
347 png_read_image(png_ptr, row_pointers); /* read whole image... */ in gdImageCreateFromPngCtx()
378 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
379 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
380 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
391 register png_byte r = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
392 register png_byte g = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
393 register png_byte b = row_pointers[h][boffset++]; in gdImageCreateFromPngCtx()
400 register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); in gdImageCreateFromPngCtx()
410 register png_byte idx = row_pointers[h][w]; in gdImageCreateFromPngCtx()
430 gdFree(row_pointers); in gdImageCreateFromPngCtx()
702 png_bytep *row_pointers; in gdImagePngCtxEx() local
711 row_pointers = safe_emalloc(sizeof(png_bytep), height, 0); in gdImagePngCtxEx()
712 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()