libcamera: camera_sensor: Register static properties
Register static properties in the CameraSensor class by inspecting the camera sensor properties database. Static properties are overridden by properties retrieved from the kernel interface at run-time if any overlap between the two sets occurs. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
a58a94e4c2
commit
cdfcb05bed
2 changed files with 16 additions and 1 deletions
|
@ -77,6 +77,7 @@ private:
|
|||
int generateId();
|
||||
int validateSensorDriver();
|
||||
void initVimcDefaultProperties();
|
||||
void initStaticProperties();
|
||||
int initProperties();
|
||||
|
||||
const MediaEntity *entity_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue