Skip to content

Ipa - #354

Open
naushir wants to merge 2 commits into
nextfrom
ipa
Open

Ipa#354
naushir wants to merge 2 commits into
nextfrom
ipa

Conversation

@naushir

@naushir naushir commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

naushir added 2 commits August 5, 2026 09:40
This matches what the CamHelper member function actually advertises.
Rename this to avoid any confusion when reading the code. Also reword
some of the comments for the same reason.

No functional changes in this commit.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
The current logic in the IPA gates the controller/algorithms from
running on a the frame if mistrustCount_ > 0. This logic is somwhat
incorrect, as the image data is ineed valid, just the embedded data and
other bits of metadata are possibly invalid.

This commit changes the gating so that the controller/algorithms do run
on frames where mistrustCount_ > 0, and CamHelper::prepare() gets gated
CamHelper::prepare() is where the embedded data parsing occurs, and if
it does not run, we simply use the DelayedControls values provided by
the pipeline handler.

Fixes: #345
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
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.

1 participant