Skip to content

Commit 93ce2eb

Browse files
committed
controls: rpi: Add ControlId control
The ControlId identifies the list of controls that have been applied to the images in this request for the first time. The controls must have been submitted to the camera system using Camera::queueControls. Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
1 parent 8965449 commit 93ce2eb

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

src/libcamera/control_ids_rpi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,21 @@ controls:
299299
This control returns performance metrics for the CNN processing stage.
300300
Two values are returned in this span, the runtime of the CNN/DNN stage
301301
and the DSP stage in milliseconds.
302+
303+
- ControlId:
304+
type: int64_t
305+
direction: out
306+
description: |
307+
This is the control list id number that is synchonised with this
308+
request, meaning that this request is the first one where the images
309+
have had the identified list of controls applied.
310+
311+
Every time a control list is queued using Camera::queueControls, it
312+
is assigned a new sequence number, starting at 1 on the first such
313+
after the camera is started, and increasing by one on every subsequent
314+
call.
315+
316+
This is the number that is then reported back as the ControlId. When
317+
no controls have been sent with Camera::queueControls, the ControlId
318+
reports the value zero.
302319
...

0 commit comments

Comments
 (0)