Searched refs:ImageTypeBase (Results 1 – 2 of 2) sorted by relevance
29 typedef unsigned char ImageTypeBase; typedef30 typedef ImageTypeBase *ImageType;
303 eret = fread(ret, sizeof(ImageTypeBase), IMAGE_TYPE_NUM_CHANNELS*width*height, imgin); in readBinaryPPM()327 fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout); in writeBinaryPPM()336 return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase)); in allocateImage()