android: camera_device: Handle SCALER_CROP_REGION
Handle the SCALER_CROP_REGION control and dynamic metadata by translating it from the Android format to the associated libcamera control when processing a request, and the other way around when handling a request completion. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -25,6 +25,7 @@ public:
|
||||
CaptureRequest(libcamera::Camera *camera, uint64_t cookie);
|
||||
|
||||
const std::vector<int> &fences() const { return acquireFences_; }
|
||||
libcamera::ControlList &controls() { return request_->controls(); }
|
||||
const libcamera::ControlList &metadata() const
|
||||
{
|
||||
return request_->metadata();
|
||||
|
||||
Reference in New Issue
Block a user