AcademySoftwareFoundation / rawtoaces

RAW to ACES Utility
141 stars 47 forks source link

ACES buffer memory leak #122

Open cedricp opened 3 years ago

cedricp commented 3 years ago

Hi, I'm using your library to convert raw footages, it works great, but my computer started to swap after some frames. I identified that the method AcesRender::outputACES does not free the aces buffer. Adding a delete[] aces after acesWrite() solved the issue. I think this library deserves a more robust API, I struggled a long time to include/link against it.

BTW, I'm trying to figure out how exposure values are restored from raw data. I can get values > 1.0 in my generated EXT (exaclty what I want, though). Could you explain ?

Best regards

finnschi commented 3 years ago

I have the same issue

cedricp commented 3 years ago

Is this project alive ? I really want to figure out why the default scale (gain) is set to 6.0. What are the math behind it ?