libcamera: mali-c55: Set bytesused appropriately
At the moment the mali-c55 pipeline handler sets bytesused for a buffer to be the maximum possible size (i.e. the size of a struct mali_c55_params_buffer). This is not really in keeping with the goal of the extensible parameters formats, and will not work with the new framework for those formats. Update the IPA module and pipeline handler to set bytesused to the size of the parameters that were actually supplied rather than the maximum possible size. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
cc137b1c6d
commit
2cc66bb547
@@ -28,7 +28,7 @@ interface IPAMaliC55Interface {
|
||||
};
|
||||
|
||||
interface IPAMaliC55EventInterface {
|
||||
paramsComputed(uint32 request);
|
||||
paramsComputed(uint32 request, uint32 bytesused);
|
||||
statsProcessed(uint32 request, libcamera.ControlList metadata);
|
||||
setSensorControls(libcamera.ControlList sensorControls);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user