From patchwork Thu Sep 29 19:53:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17468 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 BA52ABD16B for ; Thu, 29 Sep 2022 19:53:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B52EE62393; Thu, 29 Sep 2022 21:53:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1664481202; bh=D49D8yd7GLGuzYWWhFQhKhqxIoGr/LvpYAQFQtWsbGk=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Xoqg+K/bBLrpEvZuW38G4Xr0jSqo0kPIgPNcOEEDVvosYmrO9zGCG2rHrluaxtMrg bcuNz71Dv1Uw/WMOk2q+v19P+LoANAZusLYKzHIWxj/oyyQGsoPoMr9i9vqgV/nuSl kOF43OCtjIrZDI3jkj1W09oi7xYOc2oIsCWuX2NTG/wcP/vedLtPUILc1iRc9t/RKy fCVDjIv6VOHGw6Bpti3Quf6D8iHmAHPQ0cFCO/esDiJAcTochGU2qCVZzROubpaNMy Cs4LfzTHp3QFcili00J7+NZj9rr1dCDct/6hy6ZTtdyRs/LFRVoFB8Wkvzy/uK5TVW o0Xw2KETMlEMQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1E9E762272 for ; Thu, 29 Sep 2022 21:53:21 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="rzDrAaXh"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6A43C47C for ; Thu, 29 Sep 2022 21:53:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664481200; bh=D49D8yd7GLGuzYWWhFQhKhqxIoGr/LvpYAQFQtWsbGk=; h=From:To:Subject:Date:From; b=rzDrAaXhg+tJ7WH5G13/uGejW78/g7sYlHiPgC6SS7SVFnLUNHo0nIuCMkuPoh/hS tmjXdf5NWlI4M8UsBDqfuy4niQClwujLwiWTocYvcP8GtBoMmvLoQccwu9A3nN9aQ8 UEvknspUntAUXqL2BdCxuGUoy1WU4PY8IglZrhnA= To: libcamera-devel@lists.libcamera.org Date: Thu, 29 Sep 2022 22:53:16 +0300 Message-Id: <20220929195318.13577-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] utils: rkisp1: gen-csc-table: Miscellaneous fixes 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: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, Here are two small patches for the gen-csc-table script, to fix issues with the inveretd (YUV to RGB) coefficients calculation. Please see individual patches for details. Laurent Pinchart (2): utils: rkisp1: gen-csc-table: Fix inverted CSC calculation utils: rkisp1: gen-csc-table: Perform simple rounding for inverted CSC utils/rkisp1/gen-csc-table.py | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-)