Valgrind shows a lot at the moment, because no memory manager is implemented atm
Description
Description
Comment Actions
Current RAM usage is too high when 2 CDNG frames are loaded, ~210MB. For 2432w * 1366h * 2 bytes * 3 channels should occupy around 20MB, but 40 are occupied at the moment. Image buffers will be reviewed to isolate the problem, also some parts will be stripped for test to determine minimal memory usage (Release/Debug).
Comment Actions
Removed some leaks, also memcpy() will be moved out of OCImage, as it was only added for quick tests. OCImage will hold only pointers to red/green/blue data arrays, image loader will move the data to memory pool (static allocation).