mitsuba-af602c6fd98a/src/libcore/bitmap.cpp
/* simple read routine.  will not correctly handle run length encoding */
simple read routine.  will not correctly handle run length encoding
simple read routine . will not correctly handle run length encoding
inline static void RGBE_ReadPixels(Stream *stream, float *data, size_t numpixels) {
		while (numpixels-- > 0) {
			uint8_t rgbe[4];
			stream->read(rgbe, 4);
			RGBE_ToFloat(rgbe, data);
			data += 3;
		}
	}
inline static void RGBE_ReadPixels ( Stream * stream , float * data , size_t numpixels ) { while ( numpixels -- > 0 ) { uint8_t rgbe [ 4 ] ; stream -> read ( rgbe , 4 ) ; RGBE_ToFloat ( rgbe , data ) ; data += 3 ; } }
simple read routine.
simple read routine .