Draft: allocate memory from application
- Related issues: #810
- Requested reviewers:
Reason why this change is needed
- Move memory (re)allocation from the encoder library to the application.
Description of the change
- Restrucuralization of config/reconfig function calls.
Affected operating points
- All is BE.