Niklas Söderlund
58f1ad3c79
libcamera: Make geometry.h a public header
...
Make the geometry header public so it can be used by the API facing
applications.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
2019-04-05 21:47:34 +02:00
Jacopo Mondi
5b9b3c38a1
libcamera: v4l2_subdevice: Rename deviceName() method
...
Rename the 'deviceName()' method to 'entityName()' as it actually
returns the name of the entity backing the v4l2 subdevice.
While at it, make the names getter methods return a const reference
instead of returning by copy.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org >
2019-04-02 11:02:38 +02:00
Jacopo Mondi
de16573bcc
test: v4l2_subdevice: Add ListFormat test
...
Add test to list formats on a v4l2 subdevice.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org >
2019-03-02 18:31:30 +01:00
Jacopo Mondi
7f4ce94ad9
test: v4l2_subdevice: Add format handling test
...
Add test for video format get and set operations on V4L2Subdevice class.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org >
2019-03-01 12:33:17 +01:00