diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-02-20 11:48:13 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2019-03-01 12:33:04 +0100 |
commit | a56f8a57b554e97116086a1d4078f7462e068486 (patch) | |
tree | e59a5130399026c4d55c18514db39e383ea640b1 /test/libtest/test.cpp | |
parent | 204d5c9f09e8513717e968a1ab31c2f0d4b8efb3 (diff) |
libcamera: v4l2_subdevice: Update crop/compose rectangle
Update the crop/compose rectangle provided to setCrop()/setCompose()
methods with the rectangle sizes set by the device driver after a
S_SELECTION ioctl operation.
While at there, fix the use of 'top' and 'left' field of the selection
rectangle, which where wrongly used.
Fixes: 468176fa07d9 ("libcamera: Add V4L2Subdevice")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/libtest/test.cpp')
0 files changed, 0 insertions, 0 deletions