Lines Matching defs:height
768 static deBool writeCompressedPNG (png_structp png, png_infop info, png_byte** rowPointers, int width, int height, int colorFormat)
773 png_set_IHDR(png, info, (png_uint_32)width, (png_uint_32)height,
789 static deBool compressImagePNG (Buffer* buffer, qpImageFormat imageFormat, int width, int height, int rowStride, const void* data)
802 rowPointers = (png_byte**)deMalloc((size_t)height * sizeof(png_byte*));
806 for (ndx = 0; ndx < height; ndx++)
817 compressOk = writeCompressedPNG(png, info, rowPointers, width, height,
900 * \param height Height in pixels
912 int height,
926 DE_ASSERT(deInRange32(height, 1, 32768));
948 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data);
976 if (Buffer_resize(&compressedBuffer, (size_t)(packedStride*height)))
979 for (row = 0; row < height; row++)
990 writeDataBytes = (size_t)(packedStride*height);
1008 int32ToString(height, heightStr);