Add a new control_ranges.yaml file that is used to reserve control id ranges/offsets for libcamera and vendor specific controls. This file is used by the gen-controls.py script to generate control id values for each control. Draft controls now have a separate range from core libcamera controls, breaking the existing numbering behaviour. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
19 lines
395 B
YAML
19 lines
395 B
YAML
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# Copyright (C) 2023, Raspberry Pi Ltd
|
|
#
|
|
%YAML 1.1
|
|
---
|
|
# Specifies the control id ranges/offsets for core/draft libcamera and vendor
|
|
# controls and properties.
|
|
ranges:
|
|
# Core libcamera controls
|
|
libcamera: 0
|
|
# Draft designated libcamera controls
|
|
draft: 10000
|
|
# Raspberry Pi vendor controls
|
|
rpi: 20000
|
|
# Next range starts at 30000
|
|
|
|
...
|