libcamera: request: Expose the Stream to Buffers map
Add to the Request class a method to access the map of Stream to Buffer. With the introduction of multiple stream support, pipeline handler should be able to access the map of streams at request queueing time. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -51,6 +51,16 @@ Request::Request(Camera *camera)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* \fn Request::buffers()
|
||||
* \brief Retrieve the request's streams to buffers map
|
||||
*
|
||||
* Return a reference to the map that associates each Stream part of the
|
||||
* request to the Buffer the Stream output should be directed to.
|
||||
*
|
||||
* \return The map of Stream to Buffer
|
||||
*/
|
||||
|
||||
/**
|
||||
* \brief Set the streams to capture with associated buffers
|
||||
* \param[in] streamMap The map of streams to buffers
|
||||
|
||||
Reference in New Issue
Block a user