From patchwork Mon Mar 9 12:33:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 3058 Return-Path: Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8A2B4628BD for ; Mon, 9 Mar 2020 13:35:22 +0100 (CET) Received: by mail-wr1-x441.google.com with SMTP id a25so7084284wrd.0 for ; Mon, 09 Mar 2020 05:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id; bh=Ot8c346D5HPZU52ZOIZ/+jF7SdpwcOEpiIoyEhZuk98=; b=CpJAL4JI0tpRsUUJQ3XWdmMzgnHlKg7ZNz3W0Mm6JqtAa8U38rypx2QycPeGzwtg23 G4zjxBaR0XQdnsNzZtAwnJ+3NBr80TG0pVE9HjAvSFi26J1F7fl/wZiW/8zCu9dTm6QB 4A5S0ajYdCVaB8KphIa0HMpRlD5X32ckQqiBefsVPUeeOXcb2MelVLs9jjWKpVQBBGLo VvZ67RAMowl5pvli+zy+07x8MHRdzWd7DJeX3CX5ta76i0krjYADu7y+sRgb6CEsipR+ E8qOTRf1NENZNPh2CLpiIoqDrfXCZswZRj9o2kFlM7+sK5igNeKzG1qr+Ul9+/4L7lNX gF/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ot8c346D5HPZU52ZOIZ/+jF7SdpwcOEpiIoyEhZuk98=; b=CzCk8OjiQWBmJFXXMSZk075BSNG5w//Dobt8B21vH7+wfehd+GmibeTxy6mYWkZBXO cTj5iu0auPg1LPbeUFyxIkXyiTqZdvj/rJf/k7AbcxDWzXr0/Iy8FACaayJax9h6NdMf fRO64ep4M/Li8lChfG6Se6uY9/dQrnVOQ2rDGHHXkKsv6K8jEZZ2tu83ca/p0Q1vZ7lJ Xk/Hft+MhAJUYNQ6QTn66Ci8+d97hvy5Vzz1gbo4Zvo6tyKNQMY8aa9dab6SEhX7R759 L5pHzgk6amCJ2/kBi3IaLyVT61Jf7eo4DqrechvlZfazoC9DbyQExZPlXjsJUE1AK6h9 yT8g== X-Gm-Message-State: ANhLgQ04k8uDA7DVXNzqGk+f7FkNZYy6aC6gDwmiKITtHvN2PD3ltRS6 rZ7IDMTk2C8G3HOZnrU1VJYF8xqAWdoNeA== X-Google-Smtp-Source: ADFU+vvHm9y/B/fJik5G1e46nkHtE0C6F2+YhqgoVScyDqWmfkPuvkMWqPXN19EiAGKMmoAfTXrx2w== X-Received: by 2002:adf:fd92:: with SMTP id d18mr19031946wrr.411.1583757321885; Mon, 09 Mar 2020 05:35:21 -0700 (PDT) Received: from naushir-VirtualBox.pitowers.org (cust51-dsl50.idnet.net. [212.69.50.51]) by smtp.gmail.com with ESMTPSA id z135sm25693827wmc.20.2020.03.09.05.35.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2020 05:35:21 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Mon, 9 Mar 2020 12:33:13 +0000 Message-Id: <20200309123319.630-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH v2 0/6] Patchset for libcamera controls X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2020 12:35:22 -0000 Hi, This is a follow-on from my previous patchset on adding libcamera controls. This version has been rebased on top of the recent work on controls (addition of arrays and float types). This patchset constists of the following changes: [1/6]: Changes the units of exposure to micro-seconds, and gain to float. [2/6]: Update uvcvideo pipeline reflecting the above change. [3/6]: Add new controls for AE operating modes. Patchset v2 replaces the std::string control types with enums. [4/6]: Add new controls for AWB operating modes. Patchset v2 replaces the std::string control types with enums. [5/6]: Existing controls (contrast, saturation, brightnss) have been updated with more formal descriptions. [6/6]: Add controls to pass out IPA state in the frame metadata. Thanks! Naushir Patuck (6): libcamera: controls: Specify manual gain units and change exposure units libcamera: uvcvideo: Update exposure/gain ctrls set with new units libcamera: controls: Add AE related controls libcamera: controls: Add AWB related controls libcamera: controls: Update usage and description for existing controls libcamera: controls: Add controls to report back frame metadata src/libcamera/control_ids.yaml | 214 ++++++++++++++++++++++++++-- src/libcamera/pipeline/uvcvideo.cpp | 17 ++- 2 files changed, 215 insertions(+), 16 deletions(-) Naush