Lines Matching defs:sG
1163 int sG = (s >> ( 8+2))&0x3F;
1170 sG += (f*dG)>>8;
1172 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1188 int sG = (s >> ( 8+2))&0x3F;
1195 sG = ((sG << 8) + f*dG + threshold)>>8;
1198 if (sG > 0x3f) sG = 0x3f;
1200 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1217 int sG = (s >> ( 8+2))&0x3F;
1226 sG = (f1*sG + f2*dG)>>8;
1228 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1264 uint32_t sG = (s >> 8) & 0xff;
1270 sG = (sG*m_g) >> (8 - 6);
1280 sG = (sG + f*dG)>>8;
1282 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1295 uint32_t sG = (s >> 8) & 0xff;
1301 sG = (sG*m_g) >> (8 - 6);
1312 sG = (sG + f*dG + threshold)>>8;
1315 if (sG > 0x3f) sG = 0x3f;
1317 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1330 uint32_t sG = (s >> 8) & 0xff;
1335 sG = (sG*m_g) >> (8 - 6);
1344 sG = (sG + f*dG)>>8;
1346 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1352 uint32_t sG = (s >> 8) & 0xff;
1356 sG = (sG*m_g) >> (8 - 6);
1367 sG = (sG + f*dG + threshold)>>8;
1370 if (sG > 0x3f) sG = 0x3f;
1372 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1385 uint32_t sG = (s >> 5) & 0x3f;
1389 sG = (sG*m_g);
1398 sG = (sG + f*dG)>>8;
1400 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
2098 int sG = (s >> ( 8+2))&0x3F;
2101 sG += (f*dG)>>8;
2103 *dst++ = uint16_t((sR<<11)|(sG<<5)|sB);
2125 int sR, sG, sB;