diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-04-03 17:49:13 +0200 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-05-20 09:49:09 +0200 |
commit | 1e67b96fb0b6b45b9b73dc2e13833efff5254ee1 (patch) | |
tree | 58285c1494e41e9c25a37a339236184a4c22b868 /src/android/hal_framebuffer.h | |
parent | 754798b664888e55402bc5c5708e56fa461c0ba1 (diff) |
libcamera: vector: Extend matrix multiplication operator to heterogenous types
It is useful to multiply matrices and vectors of heterogeneous types, for
instance float and double. Extend the multiplication operator to support
this, avoiding the need to convert one of the operations. The type of the
returned vector is selected automatically to avoid loosing precision.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/android/hal_framebuffer.h')
0 files changed, 0 insertions, 0 deletions