Home | History | Annotate | Download | only in libpixelflinger

Lines Matching defs:sG

1142             int sG = (s >> ( 8+2))&0x3F;
1149 sG += (f*dG)>>8;
1151 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1167 int sG = (s >> ( 8+2))&0x3F;
1174 sG = ((sG << 8) + f*dG + threshold)>>8;
1177 if (sG > 0x3f) sG = 0x3f;
1179 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1196 int sG = (s >> ( 8+2))&0x3F;
1205 sG = (f1*sG + f2*dG)>>8;
1207 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1243 uint32_t sG = (s >> 8) & 0xff;
1249 sG = (sG*m_g) >> (8 - 6);
1259 sG = (sG + f*dG)>>8;
1261 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1274 uint32_t sG = (s >> 8) & 0xff;
1280 sG = (sG*m_g) >> (8 - 6);
1291 sG = (sG + f*dG + threshold)>>8;
1294 if (sG > 0x3f) sG = 0x3f;
1296 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1309 uint32_t sG = (s >> 8) & 0xff;
1314 sG = (sG*m_g) >> (8 - 6);
1323 sG = (sG + f*dG)>>8;
1325 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1331 uint32_t sG = (s >> 8) & 0xff;
1335 sG = (sG*m_g) >> (8 - 6);
1346 sG = (sG + f*dG + threshold)>>8;
1349 if (sG > 0x3f) sG = 0x3f;
1351 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
1364 uint32_t sG = (s >> 5) & 0x3f;
1368 sG = (sG*m_g);
1377 sG = (sG + f*dG)>>8;
1379 *dst = uint16_t((sR<<11)|(sG<<5)|sB);
2077 int sG = (s >> ( 8+2))&0x3F;
2080 sG += (f*dG)>>8;
2082 *dst++ = uint16_t((sR<<11)|(sG<<5)|sB);
2104 int sR, sG, sB;