{"id":11702,"url":"https://patchwork.libcamera.org/api/1.1/covers/11702/?format=json","web_url":"https://patchwork.libcamera.org/cover/11702/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/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":"<20210325051931.3748204-1-hiroh@chromium.org>","date":"2021-03-25T05:19:28","name":"[libcamera-devel,0/3] Regard crop_rotate_scale_degrees in configuration","submitter":{"id":63,"url":"https://patchwork.libcamera.org/api/1.1/people/63/?format=json","name":"Hirokazu Honda","email":"hiroh@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/11702/mbox/","series":[{"id":1830,"url":"https://patchwork.libcamera.org/api/1.1/series/1830/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1830","date":"2021-03-25T05:19:28","name":"Regard crop_rotate_scale_degrees in configuration","version":1,"mbox":"https://patchwork.libcamera.org/series/1830/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11702/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 8FEFDC32E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 25 Mar 2021 05:19:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id DA15868D61;\n\tThu, 25 Mar 2021 06:19:43 +0100 (CET)","from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com\n\t[IPv6:2607:f8b0:4864:20::102d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 139FE602D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 25 Mar 2021 06:19:42 +0100 (CET)","by mail-pj1-x102d.google.com with SMTP id\n\tkr3-20020a17090b4903b02900c096fc01deso432696pjb.4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 24 Mar 2021 22:19:41 -0700 (PDT)","from hiroh2.tok.corp.google.com\n\t([2401:fa00:8f:2:7c07:24cd:c637:7fab])\n\tby smtp.gmail.com with ESMTPSA id\n\tfs9sm3999250pjb.40.2021.03.24.22.19.38\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 24 Mar 2021 22:19:39 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"GBTUWx1x\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=7DVve7uN3/22l2/TEI2/V6w3gp4Nx9V1R9uEStnCBBs=;\n\tb=GBTUWx1xeMWFFP/Nos1plN9xM5xczoPuouKkum8CWWZFXF8mZNAlzs8VNusyxVvxnq\n\tUgFjXTs0a5V3HCJ3Y3zrdnd1Rr6R+w2FBTdJxRQ6JJqn6Gy4COjekSLk9xQxIURh9A6o\n\tYb28bhdwUsPdEjTX1R4LUeiBeBW1+uDT7Vxk4=","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=7DVve7uN3/22l2/TEI2/V6w3gp4Nx9V1R9uEStnCBBs=;\n\tb=TukBtaoBEsJm0xiwBdVrvWg0ipYVJX9GyRu+sleSAK8djiaCnWG3D+OyKFPQTA01Fz\n\twHbsqMngX5eYHENIFnfYon2MMo6eM+YBSIEeVgrICRSIUEKIh6OwJLJDC5UYJIeApBio\n\tQQYK4X4n4f3/NYJCWoROPNrN4YX7CtNPbAncL0FtrWsjF8Dx0uD0Kk+qzJrlU84IrxLT\n\tIjmZY3dMhWbpCTlITh1OMTliEILhsBgYAzNsWrZfh1OkpKpywte43sr3EaydznDvgbOt\n\tEzLvLYKJ7nkzJHNa4n9WtEhZ5Blmpn41QImkd04T2SkGEx3fYNZm7dATCn9W+h1gvHwo\n\tfT0g==","X-Gm-Message-State":"AOAM532/tfjLCZ3X6zei0GAIOodswo8WSC+GDfxf/vAzPrLhXDSH9aDh\n\tMl+iRiugdYkeU0+kDsDlt+z86glq9CqyfA==","X-Google-Smtp-Source":"ABdhPJxRR86kV/y7ImzG56MRg4819m6CfgYwiZNL9gbgwwwXwXnb2FoACuBuuKtvKNeY521glc0dLg==","X-Received":"by 2002:a17:90b:1047:: with SMTP id\n\tgq7mr4505526pjb.159.1616649580002; \n\tWed, 24 Mar 2021 22:19:40 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 25 Mar 2021 14:19:28 +0900","Message-Id":"<20210325051931.3748204-1-hiroh@chromium.org>","X-Mailer":"git-send-email 2.31.0.291.g576ba9dcdaf-goog","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/3] Regard crop_rotate_scale_degrees in\n\tconfiguration","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":"A HAL client requests the demanded rotation by\n|crop_rotate_scale_degrees| in camera3_stream in configuration.\nLibcamera ignores it and doesn't handle the rotation request at\nall. This patch series still don't support it, but add the\nvalidation check to the rotation values and deny if a rotation\nis requested.\n\nHirokazu Honda (3):\n  android: CameraDevice: Validate crop_rotate_scale_degrees in\n    configuration\n  android: CameraDevice: Log rotation variables in camera3_stream\n  android: CameraDevice: Deny non ROTATION_0 stream configuration\n\n src/android/camera_device.cpp | 59 +++++++++++++++++++++++++++++++++++\n 1 file changed, 59 insertions(+)\n\n--\n2.31.0.291.g576ba9dcdaf-goog"}