app: remove scale_pixels()

This commit is contained in:
Michael Natterer
2012-04-01 20:25:35 +02:00
parent c7fd41502a
commit 0e458f9613
2 changed files with 0 additions and 19 deletions

View File

@ -174,20 +174,6 @@ replace_pixels (const guchar *src1,
}
}
inline void
scale_pixels (const guchar *src,
guchar *dest,
guint length,
gint scale)
{
gint tmp;
while (length --)
{
*dest++ = (guchar) INT_MULT (*src, scale, tmp);
src++;
}
}
inline void
apply_mask_to_alpha_channel (guchar *src,

View File

@ -28,11 +28,6 @@ void blend_pixels (const guchar *src1,
guint w,
guint bytes);
void scale_pixels (const guchar *src,
guchar *dest,
guint length,
gint scale);
/* apply the mask data to the alpha channel of the pixel data */
void apply_mask_to_alpha_channel (guchar *src,
const guchar *mask,