Lines Matching refs:channels
306 const VIPSBandFormat format,const VIPSType type,const unsigned int channels, in ReadVIPSPixelsNONE() argument
330 if (channels < 3) in ReadVIPSPixelsNONE()
334 if (channels == 2) in ReadVIPSPixelsNONE()
341 if (channels == 4) in ReadVIPSPixelsNONE()
348 else if (channels == 5) in ReadVIPSPixelsNONE()
379 channels, in ReadVIPSImage() local
418 channels=ReadBlobLong(image); in ReadVIPSImage()
451 if (channels == 5) in ReadVIPSImage()
457 if (channels == 2) in ReadVIPSImage()
463 if (channels == 4) in ReadVIPSImage()
468 if (channels == 4) in ReadVIPSImage()
498 if (channels == 0 || channels > 5) in ReadVIPSImage()
501 status=ReadVIPSPixelsNONE(image,format,type,channels,exception); in ReadVIPSImage()
633 channels; in WriteVIPSImage() local
652 channels=image->alpha_trait != UndefinedPixelTrait ? 4 : 3; in WriteVIPSImage()
654 channels=image->alpha_trait != UndefinedPixelTrait ? 2 : 1; in WriteVIPSImage()
656 channels=image->alpha_trait != UndefinedPixelTrait ? 5 : 4; in WriteVIPSImage()
657 (void) WriteBlobLong(image,channels); in WriteVIPSImage()
727 if (channels == 2) in WriteVIPSImage()
733 if (channels >= 4) in WriteVIPSImage()
740 else if (channels == 5) in WriteVIPSImage()