Lines Matching refs:value
198 // Allocates red, green and blue value arrays of the specified size
208 // Frees the red, green and blue value arrays and clears the struct
479 _glfwInputError(GLFW_INVALID_VALUE, "Invalid gamma value %f", gamma);
491 float value;
494 value = i / (float) (original->size - 1);
496 value = powf(value, 1.f / gamma) * 65535.f + 0.5f;
497 // Clamp to value range
498 value = fminf(value, 65535.f);
500 values[i] = (unsigned short) value;