From patchwork Wed Jan 13 13:08:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 10851 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 471D6BD80C for ; Wed, 13 Jan 2021 13:08:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AF064680D7; Wed, 13 Jan 2021 14:08:50 +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="r9nJnVTr"; dkim-atps=neutral Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7918C6054E for ; Wed, 13 Jan 2021 14:08:49 +0100 (CET) Received: by mail-lj1-x22f.google.com with SMTP id p13so2490591ljg.2 for ; Wed, 13 Jan 2021 05:08:49 -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=vId5EA3BvOPSdUFS7EpsVUmxnaWz7MtrbLh5wyOS8Ds=; b=r9nJnVTrxrSdHUtwbE5cI+HxaGUID1nVMXMmneCd4LOStb1oqOfd2vXexy+4nMt/db HnShDdJ/nRtMkucQ3NF2dDhDzwXlEvB5RSrRfjW5L56EfgEv7ocTMcq5bDG13NAeq6tr W2ad0XVYv1L5T3IuQT5e0UV3lcTt/h4cfOxLkjW5K8npItp3zE3zczhbTC1GfJ7Y4T+k z5W5xRIUOKxEOETTY7gCfc+7nU+YFhFpPWS9RKBVLj9x2eJ/L8gY+HnHwaBpPLJC3eSX S17QpXQ7DIgzBorH3KsIQKXNy8RlqTVKODbA2/17xoV+flkiWgDMmDo8fiRbE+YmvtKE a4IQ== 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=vId5EA3BvOPSdUFS7EpsVUmxnaWz7MtrbLh5wyOS8Ds=; b=CdUOYXzTD93DDBO+FfAz/lzO4o8dTGU651Bh5nsJ4fwLntRNlrBXEBFd85bl3CAi/2 LNgnGX2Q2H07HzQo2+D7WkxeCdNcYlI9dnNkU/PI7RlE82Rpr2VIb/OB3DAEeL3ZxDW/ owCmqk57Vm1jHhyaPSf6QFctEqllZt/mWvm58yji+F5JTjpLUwoSWziEGz2jdLUyYuaP lfaaTRsRzPCgSCHno0s9y/YqYITKAC+U3bEYRbsNYI0NN05YP8LPDVkCl3TmWVeu8xcV kqIDXJVSiZw2bPlbnmZX1/NHdZiuyTJjkQ6lRypWXrPXh7ML662qgRZJtDBDvFdgdC04 VFZw== X-Gm-Message-State: AOAM531wx27Rm6UrKFgJLO6UMkCPr6Pgq9g07hZTGAwUrjvOSX3MRQTP 4xISrAVFHPTu6kCziUGYieH7Y4JUDMcqLg== X-Google-Smtp-Source: ABdhPJxi9KZpO63UwFPiytcyLdELnzf00UFDZDjgzqi5LOPoCpAQGQQ/rQ6zu9TwMDEsI0tGEMrfeQ== X-Received: by 2002:a2e:984a:: with SMTP id e10mr937311ljj.179.1610543328450; Wed, 13 Jan 2021 05:08:48 -0800 (PST) Received: from localhost.localdomain ([85.249.43.69]) by smtp.googlemail.com with ESMTPSA id d2sm179477ljg.39.2021.01.13.05.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 05:08:47 -0800 (PST) From: Andrey Konovalov To: libcamera-devel@lists.libcamera.org, laurent.pinchart@ideasonboard.com Date: Wed, 13 Jan 2021 16:08:28 +0300 Message-Id: <20210113130832.15549-1-andrey.konovalov@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH 0/4] qcam: viewfinder_gl: add RAW10P and RAW12P format support 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 seies I posted earlier: [PATCH][RFC v2 0/2] qcam: viewfinder_gl: add RAW12P format support The new patchset adds support for both 10-bit, and 12-bit raw Bayer packed formats. Unlike the earlier RAW12P only patchset, the new one uses GL_RED texture 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.