Lines Matching refs:pow
29 table[i + GAMMA_ZERO_ENTRIES] = (uint8)(pow((float)i / (float)(GAMMA_ENTRIES - 1), 0.4) * 255.0 + 0.5);
41 table[i] = pow((float)i / 255.0, 2.5);
145 R = (uint8)(pow(linearR, 0.4) * 255.0 + 0.5);
146 G = (uint8)(pow(linearG, 0.4) * 255.0 + 0.5);
147 B = (uint8)(pow(linearB, 0.4) * 255.0 + 0.5);*/
151 R = (uint8)constrain_int32_0_255((int32)(pow(linearR, 0.4) * 255.0 + 0.5));
152 G = (uint8)constrain_int32_0_255((int32)(pow(linearG, 0.4) * 255.0 + 0.5));
153 B = (uint8)constrain_int32_0_255((int32)(pow(linearB, 0.4) * 255.0 + 0.5));
166 return pow(t, 1.0 / 3.0);
174 /* float linearR = pow((float)R / 255.0, 2.5);
175 float linearG = pow((float)G / 255.0, 2.5);
176 float linearB = pow((float)B / 255.0, 2.5);*/
184 L = 116.0 * pow(Yq, 1.0 / 3.0) - 16;