mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
libcamera: request: Provide a sequence number
Provide a sequence number on Requests which are added by the pipeline handler. Each pipeline handler keeps a requestSequence per CameraData and increments everytime a request is queued on that camera. The sequence number is associated with the Request and can be utilised for assisting with debugging, and printing the queueing sequence of in flight requests. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
dcc024760a
commit
d874b3e341
4 changed files with 27 additions and 3 deletions
|
@ -38,7 +38,7 @@ class CameraData
|
|||
{
|
||||
public:
|
||||
explicit CameraData(PipelineHandler *pipe)
|
||||
: pipe_(pipe)
|
||||
: pipe_(pipe), requestSequence_(0)
|
||||
{
|
||||
}
|
||||
virtual ~CameraData() = default;
|
||||
|
@ -48,6 +48,8 @@ public:
|
|||
ControlInfoMap controlInfo_;
|
||||
ControlList properties_;
|
||||
|
||||
uint32_t requestSequence_;
|
||||
|
||||
private:
|
||||
LIBCAMERA_DISABLE_COPY(CameraData)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue