Searched refs:rgbe (Results 1 – 1 of 1) sorted by relevance
64 public static void convertFloatToRGBE(byte[] rgbe, float red, float green, float blue){ in convertFloatToRGBE() argument69 rgbe[0] = rgbe[1] = rgbe[2] = rgbe[3] = 0; in convertFloatToRGBE()73 rgbe[0] = (byte) ((red / divider) * 255.0); in convertFloatToRGBE()74 rgbe[1] = (byte) ((green / divider) * 255.0); in convertFloatToRGBE()75 rgbe[2] = (byte) ((blue / divider) * 255.0); in convertFloatToRGBE()76 rgbe[3] = (byte) (exp + 128.0); in convertFloatToRGBE()80 public static void convertRGBEtoFloat(byte[] rgbe, float[] rgbf){ in convertRGBEtoFloat() argument81 int R = rgbe[0] & 0xFF, in convertRGBEtoFloat()82 G = rgbe[1] & 0xFF, in convertRGBEtoFloat()83 B = rgbe[2] & 0xFF, in convertRGBEtoFloat()[all …]