From patchwork Fri Oct 11 17:55:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cheng-Hao Yang X-Patchwork-Id: 21594 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 53157C326B for ; Fri, 11 Oct 2024 17:57:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 091E965386; Fri, 11 Oct 2024 19:57:02 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="nota2NNE"; dkim-atps=neutral Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B60E76537D for ; Fri, 11 Oct 2024 19:56:59 +0200 (CEST) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-20c70abba48so15989595ad.0 for ; Fri, 11 Oct 2024 10:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728669418; x=1729274218; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3k1cyPPpyPPWYdprbY4e8xKSrJL4Yqi32V6VH0rI8HQ=; b=nota2NNEqdfnMwV5v/Di8jnhjM/ccdeC4IOvfHMzREhcYzikAucaGaLC5gosmzQH9/ Rczn+O6Ix/4nJ2sI9DGweCFGfyrGzvbmc+UJ4kIwWlNDJLea29x4gzIgUu6+YA87F3LK IJT5O7IbtR4ojm778y9i49qnq7E5wztvRhTAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728669418; x=1729274218; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3k1cyPPpyPPWYdprbY4e8xKSrJL4Yqi32V6VH0rI8HQ=; b=MYmm3weQ/8PuIKO95ekzaOUx9H4oBWAcRQt4qCO3XQsrKiuAvsIoF6g+zLwkigmcqX 9wR+jsIkG1Yn7aVICsLvoC4PoH5KI4rLkOz0YVCxcgcIZR7SoKscHGE0VkLVPa0pKpMm eKuO6yPhUyYN1kyITmkkzvuwz5VOwH9w6fWNdU/cjUYm0gRiPYjmu1l/5doTbYSJtkEL r/siMbQStZu/+y+px+IdqwzaqZhXwa0UGwk4s7zc/uuKsANpZcbcZrWwhS0hqhLY5Rrr 2wuI5qYyCb6mNOlTwFUfZ823kAKRbXp0UF5GLkiSJG+c7dcaQitZjDcyaZ5QI2G/KZfQ PX3Q== X-Gm-Message-State: AOJu0Ywz4QPxuofVpfv2Xv6zv+/aRwU7utUhskVQRlDy109UVOJtzw1G PNoBwiCr4WpFcy+uVrFUxd+6kcoPZ9K8YV2phchbcrEJsCT66pf5kgLZt7prZIaWXXuTT9l7Q4o = X-Google-Smtp-Source: AGHT+IGugSPgf6iixpHKaS7oz4g8xU+ulLhz5THF2S9tD16Gg1Zjxbxu7DKaceKjLhmgkbztMIb/lw== X-Received: by 2002:a17:903:2447:b0:20c:763e:d9cc with SMTP id d9443c01a7336-20cbb183438mr8315345ad.7.1728669417900; Fri, 11 Oct 2024 10:56:57 -0700 (PDT) Received: from chenghaoyang-low.c.googlers.com.com (199.211.81.34.bc.googleusercontent.com. [34.81.211.199]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8c36d74bsm25855175ad.305.2024.10.11.10.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 10:56:57 -0700 (PDT) From: Harvey Yang To: libcamera-devel@lists.libcamera.org Cc: Harvey Yang Subject: [PATCH 0/2] Add U16 & U32 support in controls Date: Fri, 11 Oct 2024 17:55:10 +0000 Message-ID: <20241011175653.3530945-1-chenghaoyang@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi folks, This series of patches adds Unsigned int 16 & 32 support in controls, which are needed for metadata & ext controls perspectively. This passes gitlab pipeline: https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1288240 BR, Harvey Yudhistira Erlandinata (2): libcamera: Allow enumerating u32 control type libcamera: Add Unsigned 16-bits Control Type include/libcamera/controls.h | 12 ++++++++++++ src/libcamera/controls.cpp | 20 ++++++++++++++++++-- src/libcamera/v4l2_device.cpp | 25 ++++++++++++++++++++++++- 3 files changed, 54 insertions(+), 3 deletions(-)