Things like framerate, shutter, roi (you mean the "scaler crop" control? I wasn't sure) are all runtime controls, and not part of the camera configuration (which is immutable once the camera has been started), which means they are accessed and set using "control lists".
We've never really provided a way for post processing stages to do that as things stand, though I notice that the "app" is available as a protected member of the the stage base class. So you might find that putting something like this in that AdjustConfig methodmight work. Though it feels like it could be made a little lovelier!
We've never really provided a way for post processing stages to do that as things stand, though I notice that the "app" is available as a protected member of the the stage base class. So you might find that putting something like this in that AdjustConfig method
Code:
libcamera::ControlList controls; // set some control values in the list... app_->SetControls(controls);
Statistics: Posted by therealdavidp — Wed Jul 17, 2024 3:57 pm