Lines Matching refs:GD2_DBG

40 #define GD2_DBG(s)  macro
63 GD2_DBG(php_gd_error("Reading gd2 header info")); in _gd2GetHeader()
74 GD2_DBG(php_gd_error("Got file code: %s", id)); in _gd2GetHeader()
78 GD2_DBG(php_gd_error("Not a valid gd2 file")); in _gd2GetHeader()
86 GD2_DBG(php_gd_error("Version: %d", *vers)); in _gd2GetHeader()
89 GD2_DBG(php_gd_error("Bad version: %d", *vers)); in _gd2GetHeader()
95 GD2_DBG(php_gd_error("Could not get x-size")); in _gd2GetHeader()
99 GD2_DBG(php_gd_error("Could not get y-size")); in _gd2GetHeader()
102 GD2_DBG(php_gd_error("Image is %dx%d", *sx, *sy)); in _gd2GetHeader()
108 GD2_DBG(php_gd_error("ChunkSize: %d", *cs)); in _gd2GetHeader()
111 GD2_DBG(php_gd_error("Bad chunk size: %d", *cs)); in _gd2GetHeader()
119 GD2_DBG(php_gd_error("Format: %d", *fmt)); in _gd2GetHeader()
122 GD2_DBG(php_gd_error("Bad data format: %d", *fmt)); in _gd2GetHeader()
130 GD2_DBG(php_gd_error("%d Chunks Wide", *ncx)); in _gd2GetHeader()
136 GD2_DBG(php_gd_error("%d Chunks vertically", *ncy)); in _gd2GetHeader()
140 GD2_DBG(printf ("Illegal chunk counts: %d * %d\n", *ncx, *ncy)); in _gd2GetHeader()
144 GD2_DBG(php_gd_error("Reading %d chunk index entries", nc)); in _gd2GetHeader()
174 GD2_DBG(php_gd_error("gd2 header complete")); in _gd2GetHeader()
187 GD2_DBG(php_gd_error("Bad GD2 header")); in _gd2CreateFromFile()
197 GD2_DBG(php_gd_error("Could not create gdImage")); in _gd2CreateFromFile()
202 GD2_DBG(php_gd_error("Could not read color palette")); in _gd2CreateFromFile()
205 GD2_DBG(php_gd_error("Image palette completed: %d colours", im->colorsTotal)); in _gd2CreateFromFile()
222 GD2_DBG(php_gd_error("Positioning in file to %d", offset)); in _gd2ReadChunk()
225 GD2_DBG(php_gd_error("Already Positioned in file to %d", offset)); in _gd2ReadChunk()
229 GD2_DBG(php_gd_error("Reading file")); in _gd2ReadChunk()
233GD2_DBG(php_gd_error("Got %d bytes. Uncompressing into buffer of %d bytes", compSize, (int)*chunkL… in _gd2ReadChunk()
236 GD2_DBG(php_gd_error("Error %d from uncompress", zerr)); in _gd2ReadChunk()
239 GD2_DBG(php_gd_error("Got chunk")); in _gd2ReadChunk()
311 GD2_DBG(php_gd_error("Largest compressed chunk is %d bytes", compMax)); in gdImageCreateFromGd2Ctx()
323GD2_DBG(php_gd_error("Processing Chunk %d (%d, %d), y from %d to %d", chunkNum, cx, cy, ylo, yhi)); in gdImageCreateFromGd2Ctx()
329 GD2_DBG(php_gd_error("Error reading comproessed chunk")); in gdImageCreateFromGd2Ctx()
380 GD2_DBG(php_gd_error("Freeing memory")); in gdImageCreateFromGd2Ctx()
392 GD2_DBG(php_gd_error("Done")); in gdImageCreateFromGd2Ctx()
466 GD2_DBG(php_gd_error("File size is %dx%d", fsx, fsy)); in gdImageCreateFromGd2PartCtx()
481 GD2_DBG(php_gd_error("Image palette completed: %d colours", im->colorsTotal)); in gdImageCreateFromGd2PartCtx()
530 GD2_DBG(php_gd_error("Data starts at %d", dstart)); in gdImageCreateFromGd2PartCtx()
548 GD2_DBG(php_gd_error("Processing Chunk (%d, %d), from %d to %d", cx, cy, ylo, yhi)); in gdImageCreateFromGd2PartCtx()
551 GD2_DBG(php_gd_error("Using raw format data")); in gdImageCreateFromGd2PartCtx()
563 GD2_DBG(php_gd_error("Reading (%d, %d) from position %d", cx, cy, dpos - dstart)); in gdImageCreateFromGd2PartCtx()
573 GD2_DBG(php_gd_error("Reading (%d, %d) from chunk %d", cx, cy, chunkNum)); in gdImageCreateFromGd2PartCtx()
576 GD2_DBG(php_gd_error(" into (%d, %d) - (%d, %d)", xlo, ylo, xhi, yhi)); in gdImageCreateFromGd2PartCtx()
729 GD2_DBG(php_gd_error("Index size is %d", idxSize)); in _gdImageGd2()
738 GD2_DBG(php_gd_error("Size: %dx%d", im->sx, im->sy)); in _gdImageGd2()
739 GD2_DBG(php_gd_error("Chunks: %dx%d", ncx, ncy)); in _gdImageGd2()
749 GD2_DBG(php_gd_error("Processing Chunk (%dx%d), y from %d to %d", cx, cy, ylo, yhi)); in _gdImageGd2()
752 GD2_DBG(php_gd_error("y=%d: ",y)); in _gdImageGd2()
761 GD2_DBG(php_gd_error("%d...",x)); in _gdImageGd2()
774 GD2_DBG(php_gd_error("%d, ",x)); in _gdImageGd2()
783 GD2_DBG(php_gd_error("y=%d done.",y)); in _gdImageGd2()
793GD2_DBG(php_gd_error("Chunk %d size %d offset %d", chunkNum, chunkIdx[chunkNum - 1].size, chunkIdx… in _gdImageGd2()
806 GD2_DBG(php_gd_error("Seeking %d to write index", idxPos)); in _gdImageGd2()
809 GD2_DBG(php_gd_error("Writing index")); in _gdImageGd2()
811 GD2_DBG(php_gd_error("Chunk %d size %d offset %d", x, chunkIdx[x].size, chunkIdx[x].offset)); in _gdImageGd2()
818 GD2_DBG(php_gd_error("Freeing memory")); in _gdImageGd2()
828 GD2_DBG(php_gd_error("Done")); in _gdImageGd2()