ipa: raspberrypi: Remove MdParserRPi
With the recent change to pass a ControlList to the IPA with exposure and gain values used for a frame, RPiController::MdParserRPi is not needed any more. Remove all traces of it. The derived CamHelper objects now pass nullptr values for the parser to the base CamHelper class when sensors do not use metadata. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
cd07b604ba
commit
9d4431d621
@@ -88,8 +88,10 @@ uint32_t CamHelper::GetVBlanking(double &exposure, double minFrameDuration,
|
||||
void CamHelper::SetCameraMode(const CameraMode &mode)
|
||||
{
|
||||
mode_ = mode;
|
||||
parser_->SetBitsPerPixel(mode.bitdepth);
|
||||
parser_->SetLineLengthBytes(0); /* We use SetBufferSize. */
|
||||
if (parser_) {
|
||||
parser_->SetBitsPerPixel(mode.bitdepth);
|
||||
parser_->SetLineLengthBytes(0); /* We use SetBufferSize. */
|
||||
}
|
||||
initialized_ = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user