libcamera: Add user Transform to CameraConfiguration
Add a field to the CameraConfiguration (including the necessary documentation) to represent a 2D transform requested by the application. All pipeline handlers are amended to coerce this to the Identity, marking the configuration as "adjusted" if something different had been requested. Pipeline handlers that support Transforms can be amended subsequently. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
78cbd6a93f
commit
dcae0513f7
8 changed files with 48 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
#include <libcamera/request.h>
|
||||
#include <libcamera/signal.h>
|
||||
#include <libcamera/stream.h>
|
||||
#include <libcamera/transform.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -61,6 +62,8 @@ public:
|
|||
bool empty() const;
|
||||
std::size_t size() const;
|
||||
|
||||
Transform transform;
|
||||
|
||||
protected:
|
||||
CameraConfiguration();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue