libcamera/include/libcamera
Umang Jain 1b0b90a332 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>
2024-10-24 14:04:31 +05:30
..
base libcamera: utils: Add ScopeExitActions class 2024-09-05 16:12:35 +03:00
internal libcamera: converter: Add interface to support cropping capability 2024-10-24 14:04:31 +05:30
ipa libcamera: software_isp: Call Algorithm::prepare 2024-09-27 15:01:57 +01:00
camera.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_manager.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
color_space.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
control_ids.h.in utils: codegen: gen-controls.py: Convert to jinja2 templates 2024-08-16 00:27:54 +03:00
controls.h libcamera: controls: Add vendor information to ControlId 2024-10-21 00:22:56 +03:00
fence.h libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
formats.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00
framebuffer.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
framebuffer_allocator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
geometry.h libcamera: geometry: Add two-point Rectangle constructor 2024-10-01 21:01:25 +02:00
logging.h libcamera: includes: Add missing includes 2024-09-02 22:37:55 +03:00
meson.build utils: codegen: gen-controls.py: Move helper classes to separate file 2024-08-16 00:28:32 +03:00
orientation.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
pixel_format.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
request.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
stream.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
transform.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
version.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00