diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-03 22:55:11 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-07 18:10:38 +0300 |
commit | 0bc9286eb97aa4d38d643ee5c45fa6a487d12459 (patch) | |
tree | f959b21afc6a8dcc7eb12f8bc3a41e7b2274b202 /test/color-space.cpp | |
parent | ba3a1adc13b9a2c2e92f438bcf5320d77bd08bd9 (diff) |
libcamera: pipeline_handler: Implement factories through class templates
The REGISTER_PIPELINE_HANDLER() macro defines a class type that inherits
from the PipelineHandlerFactory class, and implements a constructor and
a createInstance() function. Replace the code generation through macro
with the C++ equivalent, a class template, as done in libipa with the
Algorithm and CameraSensorHelper factories.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/color-space.cpp')
0 files changed, 0 insertions, 0 deletions