diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-12-17 12:47:51 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-25 14:38:47 +0300 |
commit | 679f9ad96432fbab14d390f90f2f9f43b477bf9d (patch) | |
tree | 15b2209ff559d34c2806a47d55f92f8605867c09 /test/serialization/generated_serializer/generated_serializer_test.cpp | |
parent | 2eb9d8af3253f67fffc7eaef28977efac3bee924 (diff) |
libcamera: camera_sensor: Introduce CameraSensorFactory
Introduce a factory to create CameraSensor derived classes instances by
inspecting the sensor media entity name and provide a convenience macro
to register specialized sensor handlers.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
---
Changes since combined RFC:
- Fix indentation in REGISTER_CAMERA_SENSOR() macro
Diffstat (limited to 'test/serialization/generated_serializer/generated_serializer_test.cpp')
0 files changed, 0 insertions, 0 deletions