{"id":9821,"url":"https://patchwork.libcamera.org/api/covers/9821/?format=json","web_url":"https://patchwork.libcamera.org/cover/9821/","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":"<20200925085127.17214-1-david.plowman@raspberrypi.com>","date":"2020-09-25T08:51:21","name":"[libcamera-devel,v2,0/6] Digital zoom","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/9821/mbox/","series":[{"id":1326,"url":"https://patchwork.libcamera.org/api/series/1326/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1326","date":"2020-09-25T08:51:21","name":"Digital zoom","version":2,"mbox":"https://patchwork.libcamera.org/series/1326/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/9821/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 EE9D8C3B5C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Sep 2020 08:51:33 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BB48A63030;\n\tFri, 25 Sep 2020 10:51:33 +0200 (CEST)","from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com\n\t[IPv6:2a00:1450:4864:20::42a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5DBE960576\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 10:51:32 +0200 (CEST)","by mail-wr1-x42a.google.com with SMTP id g4so2680301wrs.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 01:51:32 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tn4sm2001383wrp.61.2020.09.25.01.51.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 25 Sep 2020 01:51:31 -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=\"kh97vAei\"; 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=KfFdb+VuT1YDJWvnftoUf7kV1pMPOjsCDmOhyzLYasU=;\n\tb=kh97vAeiOff0azF+rZwrtlgLnZgvwuLj/rfRH6JizhwBvtU/ac8/T21SasPDACX0mE\n\tlV8tYgoPdlT7eRJ5dXnjqpiFsDqF6F6XUZrL+7TmEpwEEkJn7hMtGi/kMzfRWnn+fwWA\n\tNgLOVk3HZylg55B8Fv9dft0f/KoCBPCq7NY3ebt8D6DlyGhSA43v8u+AnHqC/QewUUKM\n\tplm3vvnfd+UxWyMc82oimeWCwO26ya95AhvN44ZvZnsI2lCNH7WfBdDnm4bRaLvUSuHW\n\t78RkKJuDpgC+Lj8YRO2ORbqrvIvL8hMRTeJavWxauhUIPY8EOMQM3rAla1rPcsVIt4fV\n\tFDyg==","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=KfFdb+VuT1YDJWvnftoUf7kV1pMPOjsCDmOhyzLYasU=;\n\tb=O8Y9BuiOc3q6RmG6dUhoEtQL8d5wRdRoSeBeTxvFajqB0C7mC3hZnfpeGii3L01cp6\n\tNS2L8qHJHpaQoYEIwCeGTSgmKoNn35b7sbHL3BQkNFMYgmsrsIjEYqRK3b0V69rkkQ7N\n\tlaSXLWflKXPe07DZGOOsvmGPPj4/BeNxXV9w1mLuDpSNGw/HqBZ+F1nMCIEYWxKNtN8J\n\tBfgs57AQby0j+93k2wSyfTwruFBuFvkaJ6fvQHPb1OUFYcPg1qdnVCreHOKs39tlycSu\n\tVngarPumKGf/YzdlbVw4j3v5RDOjzPtc3W+ffiQOnh3wnTFBrxsR52ZXdMO2TlpF4aGm\n\ti4CA==","X-Gm-Message-State":"AOAM531EONyJE4IVDiug9FIXi7NKLisWBQGCx1DVfFZYtGwfiohoO943\n\t199qhkXBFbkEEYbs3BwoMa6jVpuVjAw0HQ==","X-Google-Smtp-Source":"ABdhPJy7E3An9OyzgjSMxx2tF0RIX7OKjuJ3y3e/Zf0ig3G1eEvlM+mHaSVbkgKDEW9o82l0ZBKqSg==","X-Received":"by 2002:adf:b74b:: with SMTP id\n\tn11mr3253210wre.274.1601023891708; \n\tFri, 25 Sep 2020 01:51:31 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 25 Sep 2020 09:51:21 +0100","Message-Id":"<20200925085127.17214-1-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/6] Digital zoom","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\nHere's version 2 of the digital zoom patches. I've applied the various\nchanges that were suggested - so thanks very much for those. The only\nsignificant alteration is in the final patch where I had previously\nadded a command-line option to qcam to allow a digital zoom to be\nrequested. This feature has been moved to cam instead... do we think\nit's useful there?\n\nOne last question. That example application code that I wrote in a\nprevious message - I wonder if we should try and include it in\ndocumentation somewhere? And if so, do we have a natural home for it?\n\nI hope that all makes sense!\n\nThanks and best regards\nDavid\n\nDavid Plowman (6):\n  libcamera: Add SensorOutputSize property\n  libcamera: Initialise the SensorOutputSize property\n  libcamera: Add IspCrop control\n  libcamera: Add geometry helper functions\n  libcamera: pipeline: raspberrypi: Implementation of digital zoom\n  cam: Add command line option to test IspCrop control\n\n include/libcamera/geometry.h                  |  20 +++\n include/libcamera/ipa/raspberrypi.h           |   1 +\n src/cam/capture.cpp                           |  25 +++-\n src/cam/capture.h                             |   2 +-\n src/cam/main.cpp                              |   3 +\n src/cam/main.h                                |   1 +\n src/ipa/raspberrypi/raspberrypi.cpp           |   7 +\n src/libcamera/camera_sensor.cpp               |   6 +\n src/libcamera/control_ids.yaml                |   9 ++\n src/libcamera/geometry.cpp                    | 129 ++++++++++++++++++\n .../pipeline/raspberrypi/raspberrypi.cpp      |  47 +++++++\n src/libcamera/property_ids.yaml               |  19 +++\n 12 files changed, 266 insertions(+), 3 deletions(-)"}