Lines Matching refs:reds
1717 float reds[8];
1739 reds[0] = hasSign ? int8ToFloat(red0s) : uint8ToFloat(red0);
1740 reds[1] = hasSign ? int8ToFloat(red1s) : uint8ToFloat(red1);
1742 if (reds[0] > reds[1])
1745 reds[i + 2] = (reds[0] * (6.0f - (float)i) + reds[1] * (1.0f + (float)i)) / 7.0f;
1750 reds[i + 2] = (reds[0] * (4.0f - (float)i) + reds[1] * (1.0f + (float)i)) / 5.0f;
1751 reds[6] = hasSign ? -1.0f : 0.0f;
1752 reds[7] = 1.0f;
1760 *dstPixel = reds[indices[y * BC_BLOCK_WIDTH + x]];