{"id":8935,"url":"https://patchwork.libcamera.org/api/covers/8935/?format=json","web_url":"https://patchwork.libcamera.org/cover/8935/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200723084338.13711-1-david.plowman@raspberrypi.com>","date":"2020-07-23T08:43:36","name":"[libcamera-devel,v3,0/2] Digital zoom implementatino","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"mbox":"https://patchwork.libcamera.org/cover/8935/mbox/","series":[{"id":1129,"url":"https://patchwork.libcamera.org/api/series/1129/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1129","date":"2020-07-23T08:43:36","name":"Digital zoom implementatino","version":3,"mbox":"https://patchwork.libcamera.org/series/1129/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8935/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id CC3DDBD86F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 23 Jul 2020 08:43:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 48F1B60E78;\n\tThu, 23 Jul 2020 10:43:44 +0200 (CEST)","from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com\n\t[IPv6:2a00:1450:4864:20::32a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E9A6460536\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Jul 2020 10:43:42 +0200 (CEST)","by mail-wm1-x32a.google.com with SMTP id w3so4406420wmi.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 23 Jul 2020 01:43:42 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tt2sm2809450wmb.25.2020.07.23.01.43.41\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 23 Jul 2020 01:43:41 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"J6adSxzu\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=II9IgKdc1sbVpoFmBBslsrBwimjNPsr/2PruAF1T4dc=;\n\tb=J6adSxzu4510FGSM1PvjVBgCNeY33K48k1Qpk526Nl2D+J3tuNFKPkwsxWoQqc9OT2\n\tZyT8xuJ5BpVZqhdIYkMtokFH/Mf1dY+qX21FDFDyibOMZO/XfI41t84tBj2Z9dWGxm7f\n\t+id/un+uLgW9OXOxXDq5nxHYIOu3+n8v8sqzWZL+pO9Pryp5VDvTLcTfiw+p1X4jjeuZ\n\teD2gC8T4y0OoJEWsBOB4W67NW8ss+f1E0Go1idlHkpBiTcEwmyBdIMxaZi/reqsc46W7\n\tyNUVZamjYY7oCrenFv8b55y57oZITcM+RQZOgunVIV73scVLN4DIa5GPFcQofuTG5qes\n\teJmg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=II9IgKdc1sbVpoFmBBslsrBwimjNPsr/2PruAF1T4dc=;\n\tb=IcvbfEjrqkX6UhRGzkeush50TS8npBeZrAFHvXzd4j6A5aDFWJqHID6qFzMpMLubVl\n\tUofrYQT9s7no4oPjiJ8D+1Krz3ukdPBeG1oDcftmsldItb4LBLAGRH+kfXnAyINSlySh\n\t51w/i2jmrI356RkZbwi+9LbIzbA0OpfUgTeqJl2+U3DYw3TSXmDWbHcRj+x5z3DkDA9N\n\tiDrhqIpSiyc930eBYz27TZMc7cWHa1SQbGYzXuVKy00QlUCZanJ/5uqvp2Xve68MAiIA\n\t748TstnLLdpJoEgZn9HiCBkym7ActyPtyD9K/y5thLGeeNVBZL284H9qGdKa78vDbhtj\n\t1Nhw==","X-Gm-Message-State":"AOAM531uAdYuW2jcxH8tNYmCAjhoye38Avr5p73x8XPCBqBpSlKU6Qpb\n\tEmNSXWiujJHjF6qJ0bNIpov3zbTDBi7wHg==","X-Google-Smtp-Source":"ABdhPJw79VZbs2buz3GDy+8FTsAoeH5zNvYJCkVHLhxpAJXwiEYQIFfhxanCkdSO5weIaBeKFugWJA==","X-Received":"by 2002:a1c:2485:: with SMTP id\n\tk127mr3092094wmk.138.1595493822183; \n\tThu, 23 Jul 2020 01:43:42 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 23 Jul 2020 09:43:36 +0100","Message-Id":"<20200723084338.13711-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v3 0/2] Digital zoom implementatino","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi everyone\n\nThis is a new version of the patch set as promised in my email\nyesterday. The changes over v2 are as follows:\n\n1. The \"sensor crop\" has been renamed \"pipeline crop\" as per that\ndiscussion. Obviously I'm still looking for people's guidance on where\nthis should go (or indeed for a better name!).\n\n2. In the second patch I ended up not creating a Rectangle::clip\nfunction as the clipping operation performed is not a\n\"straightforward\" clip. Nonetheless I made it rather less ugly, and\nperhaps the result would benefit from going into the Rectangle class\nafter all?\n\nThanks and best regards\nDavid\n\nDavid Plowman (2):\n  libcamera: Infrastructure for digital zoom\n  libcamera: raspberrypi: Implement digital zoom\n\n include/libcamera/camera.h                    |  2 +\n include/libcamera/internal/pipeline_handler.h |  4 ++\n include/libcamera/ipa/raspberrypi.h           |  1 +\n src/ipa/raspberrypi/raspberrypi.cpp           | 10 +++\n src/libcamera/camera.cpp                      | 27 +++++++\n src/libcamera/control_ids.yaml                | 10 +++\n .../pipeline/raspberrypi/raspberrypi.cpp      | 72 +++++++++++++++++++\n 7 files changed, 126 insertions(+)"}