diff options
author | Umang Jain <umang.jain@ideasonboard.com> | 2024-09-26 15:06:21 +0530 |
---|---|---|
committer | Umang Jain <umang.jain@ideasonboard.com> | 2024-10-24 14:04:31 +0530 |
commit | 1b0b90a332e21fdc6b302740eeb414731c79fd3b (patch) | |
tree | 90ecdfd4508a28cbd5d24cabdd829b5e9b0ec19f /src/apps/qcam/assets/feathericons/smile.svg | |
parent | 7fad22efae4e89374d1767642cdd0bb4d683df1f (diff) |
libcamera: converter: Add interface to support cropping capability
If the converter has cropping capability on its input, the interface
should support it by providing appropriate virtual functions. Provide
Feature::InputCrop in Feature enumeration for the same.
Provide virtual setInputCrop() and inputCropBounds() interfaces so that
the converter can implement its own cropping functionality.
The V4L2M2MConverter implements these interfaces of the Converter
interface. Not all V4L2M2M converters will have cropping ability
on its input, hence it needs to be discovered at construction time.
If the capability to crop is identified successfully, the cropping
bounds are determined during configure() time.
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/smile.svg')
0 files changed, 0 insertions, 0 deletions