Fix output with accumulation
This PR make sure the EDF output is consistent when the accumulation is enabled.
-
acc_max_expo_time
is not the real expo time of a sub frame -
acc_operation
have to be checked to know the exposure of the output - a function
_normalize_to_uint16_single_frame
was created to handle the normalization at a single place - plus few other clean up