mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 11:22:58 +00:00
remove unused interpolate_pixel_unaligned_2() drawing helper
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
bd782acc64
commit
67fe1095be
1 changed files with 0 additions and 10 deletions
|
@ -3207,16 +3207,6 @@ inline quint32 eff_ialpha_4(quint32 a, const qargb8555 *dummy)
|
|||
return 0x20202020 - eff_alpha_4(a, dummy);
|
||||
}
|
||||
|
||||
template <class DST, class SRC>
|
||||
inline void interpolate_pixel_unaligned_2(DST *dest, const SRC *src,
|
||||
quint16 alpha)
|
||||
{
|
||||
const quint16 a = eff_alpha_2(alpha, dest);
|
||||
const quint16 ia = eff_ialpha_2(alpha, dest);
|
||||
dest[0] = DST(src[0]).byte_mul(a >> 8) + dest[0].byte_mul(ia >> 8);
|
||||
dest[1] = DST(src[1]).byte_mul(a & 0xff) + dest[1].byte_mul(ia & 0xff);
|
||||
}
|
||||
|
||||
template <class DST, class SRC>
|
||||
inline void interpolate_pixel_2(DST *dest, const SRC *src, quint16 alpha)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue