From patchwork Thu Apr 21 07:28:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kate Hsuan X-Patchwork-Id: 15692 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 53579C0F1B for ; Thu, 21 Apr 2022 07:29:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0260465647; Thu, 21 Apr 2022 09:29:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1650526148; bh=aIK5y/CRTitPbOUv2hTstU9AVpsNnwSzCUO+YxUB29U=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=nYHYf2yspt1+8WNv0TpQWHg+7tu98BmAF6J7PQIehO0aC3QenOOH6ziiELX5ZhtMs z+35R7LQHkMRoHT4evXHhpv+v2ESb8oHz8qhqEQuaxXZcBODOmwzrkftkV8WtvPHxe HtWtrudheAWRdh5T6NaIID8uiYScHewH/fPwQW+5cPNWbi55o8/h044UxgbtTeOPWs v9YG/WAWdlVMq7tU11Ram4ZVCKh0oW7Gpu6wDXw7HZFern4FMMZPLceRwH+XU2sG7p t71CYWPXYRVvzethDtu6oC6XQWSKUBH9WXG9OXyi4wudIZdgBpJEVUe9yqaQ4eU7oX z8R6DeT98iC0w== Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BB5C8604AD for ; Thu, 21 Apr 2022 09:29:05 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="ELtV7G1C"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650526144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q/lZpI3i9nFEM+07FrNOPFemLziJApnaTZY0q4BLc90=; b=ELtV7G1C1jkeUeBROc1Zr6dF2IUqY2V/RhlsBxalEPk5ACs7saRQC++hlHi0xE7Odnyxxb 52QN0S+yKzQZq1KK4IhzqubXvNzFk2CeRyG1cJcAE7XI2x4KGxlL6U67cZmGjBeTaZ+fLE bzNCAezThxjNlqfhwoXUvkLun43Rht8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-201-9epY96IZMaCXBBodsV3Q6A-1; Thu, 21 Apr 2022 03:29:03 -0400 X-MC-Unique: 9epY96IZMaCXBBodsV3Q6A-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 36C6386B8A4 for ; Thu, 21 Apr 2022 07:29:03 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.39.194.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8B3DCC3597A; Thu, 21 Apr 2022 07:29:01 +0000 (UTC) To: libcamera devel Date: Thu, 21 Apr 2022 15:28:45 +0800 Message-Id: <20220421072848.6752-2-hpa@redhat.com> In-Reply-To: <20220421072848.6752-1-hpa@redhat.com> References: <20220421072848.6752-1-hpa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hpa@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [libcamera-devel] [RFC PATCH v2 1/4] ipa: ipu3: Variables to hold the maximum VCM steps 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-Patchwork-Original-From: Kate Hsuan via libcamera-devel From: Kate Hsuan Reply-To: Kate Hsuan Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" They are used to place the maximum VCM steps. Signed-off-by: Kate Hsuan --- include/libcamera/ipa/core.mojom | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/libcamera/ipa/core.mojom b/include/libcamera/ipa/core.mojom index 74f3339e..2e99e999 100644 --- a/include/libcamera/ipa/core.mojom +++ b/include/libcamera/ipa/core.mojom @@ -207,6 +207,11 @@ module libcamera; frameDuration(s) = maxFrameLength(lines) * lineLength(pixels) / pixelRate(pixels per second) \endverbatim */ + +/** + * \var IPACameraSensorInfo::maxVcmSteps + * \brief The maximum VCM steps + */ struct IPACameraSensorInfo { string model; @@ -221,6 +226,8 @@ struct IPACameraSensorInfo { uint32 minFrameLength; uint32 maxFrameLength; + + uint32 maxVcmSteps; }; /**