mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 17:15:07 +03:00
mojom: pipeline: ipa: rpi: Add fields for PiSP objects
Add the PiSP Frontend and Backend SharedMemObject file descriptors to the ipa::init() call. This will allow the pipeline handler to pass these objects to the IPA after construction. Add a flag to indicate if buffer swaps are needed when starting the ISP for the stitch block. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
71bb5b345f
commit
6f44b9f969
3 changed files with 9 additions and 4 deletions
|
@ -22,6 +22,9 @@ struct SensorConfig {
|
|||
struct InitParams {
|
||||
bool lensPresent;
|
||||
libcamera.IPACameraSensorInfo sensorInfo;
|
||||
/* PISP specific */
|
||||
libcamera.SharedFD fe;
|
||||
libcamera.SharedFD be;
|
||||
};
|
||||
|
||||
struct InitResult {
|
||||
|
@ -219,13 +222,14 @@ interface IPARPiEventInterface {
|
|||
* \fn prepareIspComplete()
|
||||
* \brief Signal completion of \a prepareIsp
|
||||
* \param[in] buffers Bayer and embedded buffers actioned.
|
||||
* \param[in] stitchSwapBuffers Whether the stitch block buffers need to be swapped.
|
||||
*
|
||||
* This asynchronous event is signalled to the pipeline handler once
|
||||
* the \a prepareIsp signal has completed, and the ISP is ready to start
|
||||
* processing the frame. The embedded data buffer may be recycled after
|
||||
* this event.
|
||||
*/
|
||||
prepareIspComplete(BufferIds buffers);
|
||||
prepareIspComplete(BufferIds buffers, bool stitchSwapBuffers);
|
||||
|
||||
/**
|
||||
* \fn processStatsComplete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue