Searched refs:inv_a (Results 1 – 1 of 1) sorted by relevance
6205 float inv_a = 65535.0f * (1 - ra); in stbi__psd_load() local6206 pixel[0] = (stbi__uint16) (pixel[0]*ra + inv_a); in stbi__psd_load()6207 pixel[1] = (stbi__uint16) (pixel[1]*ra + inv_a); in stbi__psd_load()6208 pixel[2] = (stbi__uint16) (pixel[2]*ra + inv_a); in stbi__psd_load()6217 float inv_a = 255.0f * (1 - ra); in stbi__psd_load() local6218 pixel[0] = (unsigned char) (pixel[0]*ra + inv_a); in stbi__psd_load()6219 pixel[1] = (unsigned char) (pixel[1]*ra + inv_a); in stbi__psd_load()6220 pixel[2] = (unsigned char) (pixel[2]*ra + inv_a); in stbi__psd_load()