Skip to content

Conversation

naushir
Copy link
Collaborator

@naushir naushir commented Oct 1, 2025

No description provided.

@naushir
Copy link
Collaborator Author

naushir commented Oct 1, 2025

@njhollinghurst and @asofam, this update will set the decomand block before we start streaming, avoiding the problem described in https://forums.raspberrypi.com/viewtopic.php?t=390618.

Don't let applyDecompand() directly change the FE global enables.
Instead pass the global mask into the function and set it in the caller.
This will be needed when a future commit will add setting the decompand
initial values.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
The decompand algorithm implementation will subclass the
DecompandAlgorithm class. This will be needed for setting the initial
decompand values in a future commit.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
In the current code, decompand will only set a curve in the prepare
phase, which will only run after 1-2 frames pass through the FE. This
is fixed by adding an initialValues() member function to the decompand
algorithm, which will be called in the IPA before we start the hardware
streaming.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@njhollinghurst
Copy link
Collaborator

Briefly tested 7b7108b. LGTM

@naushir naushir merged commit 35b6684 into next Oct 2, 2025
@naushir naushir deleted the decompand branch October 2, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants