diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-07-24 15:47:50 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-08-05 14:33:52 +0200 |
commit | 8a02d4451cebeea98ed31447b22e603176bca385 (patch) | |
tree | ba019712eaada61c34e3d635a65239e44ecfd32e /test/event-thread.cpp | |
parent | 29b59a91469a5aaeab792799dfa303fc753be956 (diff) |
android: camera_device: Break-out request template
Currently the request template returned from
CameraDevice::constructDefaultRequestSettings() is the same for all
the supported template types.
To prepare to adjust the template depending on the use case, break out
the template generation to a dedicated function that supports the
PREVIEW use case. All the other template types use the
requestTemplatePreview() function and just update the capture intent
property.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/event-thread.cpp')
0 files changed, 0 insertions, 0 deletions