]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 27 Aug 2012 00:07:56 +0000 (00:07 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 27 Aug 2012 00:07:56 +0000 (00:07 +0000)
MagickCore/pixel-accessor.h

index 7066bbac9f82ae583a38510e649d0eb321aa0b17..d1dd490856cabc36558044c278e23d14373b8362 100644 (file)
@@ -574,19 +574,19 @@ static inline void SetPixelChannel(const Image *restrict image,
     pixel[image->channel_map[channel].offset]=quantum;
 }
 
-static inline void SetPixelChannelChannel(const Image *restrict image,
-  const PixelChannel channel,const ssize_t offset)
+static inline void SetPixelChannelAttributes(const Image *restrict image,
+  const PixelChannel channel,const PixelTrait traits,const ssize_t offset)
 {
   image->channel_map[offset].channel=channel;
   image->channel_map[channel].offset=offset;
+  image->channel_map[channel].traits=traits;
 }
 
-static inline void SetPixelChannel(const Image *restrict image,
-  const PixelChannel channel,const PixelTrait traits,const ssize_t offset)
+static inline void SetPixelChannelChannel(const Image *restrict image,
+  const PixelChannel channel,const ssize_t offset)
 {
   image->channel_map[offset].channel=channel;
   image->channel_map[channel].offset=offset;
-  image->channel_map[channel].traits=traits;
 }
 
 static inline void SetPixelChannels(Image *image,const size_t number_channels)