From patchwork Thu Feb 25 18:36:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 11387 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 D912EBD1F1 for ; Thu, 25 Feb 2021 18:36:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1F95368A5B; Thu, 25 Feb 2021 19:36:54 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="bsiFqEfk"; dkim-atps=neutral Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 236B468A51 for ; Thu, 25 Feb 2021 19:36:52 +0100 (CET) Received: by mail-lf1-x129.google.com with SMTP id d24so10043651lfs.8 for ; Thu, 25 Feb 2021 10:36:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Hpl4qVzGXqPckSU6D+nvfA3Imn2Uvtcju7XsvFaZs0Q=; b=bsiFqEfkEVz3ZGe5JscGvWcFA2HixvshYDePKdsEg3kKcOXuEieSSIpVqFN2ehv5KZ nil5WmRA7WXnqUuHyYqZJfiOv4a1Q1QDFhZXCGFbJqLyql0IqbHzVIZmKsa3EBe8uNYp wiKgHT6yZD0Jc5/GesK98LNgU9+M9TGq0HOIiwS2NmB3EGqU7ZGU+2BbyvSnIREJ7EvR C6IEEx6aKYXzMBScI3NgGjIB2yUj0Xjls6b1VVESOhR1dpOkjO8966a1W15UPi14Bjwg aV70CGJhNmFiEMaQm8x4n+Up24XYNkaxmovB/C3Su44VjWXknOqHH1vN1LlQWLUC6KJK 1I9w== 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=Hpl4qVzGXqPckSU6D+nvfA3Imn2Uvtcju7XsvFaZs0Q=; b=iyXGnIB75SaPFdl6GwSq8nnKO9Yt+3NyvEEmkQBMdZ2XxQ80o5h6C20FwNF7b+vSXX 5v0R1HumKl4M7im57Xuvm7eYsubdHMCKAvUOnOZiktduLPAqKhhkeKpJ2ECYIcntQd28 OdsrSQ+gkQkNGHFHx4Y1uHFbc9CYscNm6jjZbkli0PsD76wlyVkIbfuWBd7Ofcpbg2aV fhYOYfsLJ8Mv/zqRlr8FRFPovpPmUD7EU/vUJ7lExUnC3h0SbfSc4XPQHJEdr5u21Nbx UtQP2vlfcmQgrsOB6kUZGiS0FyetO+ip1Dr1kFGZdKOZBDF5rqiQFhg/iz5VtWV/S8ws Nmig== X-Gm-Message-State: AOAM533h7T+9lZ5Fm8b9Z1aiIYxDCfcCMQQAmXsz0GufKC4H08xfL4OE TSoTL+qB/xGsRvSBYphWqzELMtubqwrpag== X-Google-Smtp-Source: ABdhPJzVjuHbf2hJNN4wMh7jlSVZahzejlev1c6vL5owu/PnH1+6uBmW5TKVX8RaJFQrxsXg/sduSw== X-Received: by 2002:a19:8111:: with SMTP id c17mr2466469lfd.574.1614278211488; Thu, 25 Feb 2021 10:36:51 -0800 (PST) Received: from localhost.localdomain ([85.249.43.69]) by smtp.googlemail.com with ESMTPSA id x1sm1136772ljh.62.2021.02.25.10.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Feb 2021 10:36:50 -0800 (PST) From: Andrey Konovalov To: libcamera-devel@lists.libcamera.org, laurent.pinchart@ideasonboard.com Date: Thu, 25 Feb 2021 21:36:21 +0300 Message-Id: <20210225183626.28288-1-andrey.konovalov@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH 0/5] qcam: viewfinder_gl: add RAW8, RAW10P and RAW12P formats 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: , Cc: morgan@casual-effects.com MIME-Version: 1.0 Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This patchset replaces the series I posted earlier: [PATCH 0/4] qcam: viewfinder_gl: add RAW10P and RAW12P format support The new patchset adds support for both 10-bit, and 12-bit raw Bayer packed and 8-bit raw Bayer formats. GL_RED texture is used to store the image data. Not only this allows to use the same shader code in 10-bit and 12-bit cases. But it also turned out that sampling from GL_RED texture is easier (less "patterns") than from GL_RGB - even though we loose the "auto-skipping the LS bytes of pixel values" feature in the 12-bit case.