ipa: rkisp1: dpf: Store per-frame information in frame context
Rework the algorithm's usage of the active state, to store the value of controls for the last queued request in the queueRequest() function, and store a copy of the values in the corresponding frame context. The latter is used in the prepare() function to populate the ISP parameters with values corresponding to the right frame. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -168,9 +168,6 @@ namespace libcamera::ipa::rkisp1 {
|
||||
*
|
||||
* \var IPAActiveState::dpf.denoise
|
||||
* \brief Indicates if denoise is activated
|
||||
*
|
||||
* \var IPAActiveState::dpf.updateParams
|
||||
* \brief Indicates if ISP parameters need to be updated
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -251,6 +248,18 @@ namespace libcamera::ipa::rkisp1 {
|
||||
* compared to the previous frame
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var IPAFrameContext::dpf
|
||||
* \brief Denoise Pre-Filter parameters for this frame
|
||||
*
|
||||
* \var IPAFrameContext::dpf.denoise
|
||||
* \brief Indicates if denoise is activated
|
||||
*
|
||||
* \var IPAFrameContext::dpf.update
|
||||
* \brief Indicates if the denoise pre-filter parameters have been updated
|
||||
* compared to the previous frame
|
||||
*/
|
||||
|
||||
/**
|
||||
* \var IPAFrameContext::sensor
|
||||
* \brief Sensor configuration that used been used for this frame
|
||||
|
||||
Reference in New Issue
Block a user