{"id":11746,"url":"https://patchwork.libcamera.org/api/covers/11746/?format=json","web_url":"https://patchwork.libcamera.org/cover/11746/","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":"<20210328224528.55468-1-hiroh@chromium.org>","date":"2021-03-28T22:45:25","name":"[libcamera-devel,v2,0/3] Regard crop_rotate_scale_degrees in configuration","submitter":{"id":63,"url":"https://patchwork.libcamera.org/api/people/63/?format=json","name":"Hirokazu Honda","email":"hiroh@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/11746/mbox/","series":[{"id":1855,"url":"https://patchwork.libcamera.org/api/series/1855/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1855","date":"2021-03-28T22:45:25","name":"Regard crop_rotate_scale_degrees in configuration","version":2,"mbox":"https://patchwork.libcamera.org/series/1855/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11746/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 40AB2C32EA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 28 Mar 2021 22:45:37 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B1EC16877F;\n\tMon, 29 Mar 2021 00:45:36 +0200 (CEST)","from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com\n\t[IPv6:2607:f8b0:4864:20::102a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1CB26602D7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Mar 2021 00:45:36 +0200 (CEST)","by mail-pj1-x102a.google.com with SMTP id\n\tnh23-20020a17090b3657b02900c0d5e235a8so5043911pjb.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 28 Mar 2021 15:45:35 -0700 (PDT)","from hiroh2.tok.corp.google.com\n\t([2401:fa00:8f:2:1db7:ae60:9288:b906])\n\tby smtp.gmail.com with ESMTPSA id\n\tq25sm14814244pff.104.2021.03.28.15.45.33\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSun, 28 Mar 2021 15:45:34 -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=\"YD/Qnk8N\"; 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=S9uuhnAqlyfG6lrRz5jo2e52VU2vH10LP61n9Km4VtI=;\n\tb=YD/Qnk8NvB6uLiFw4/Yay68ZwRE09wbQWLo+UOohjv3WHUqWRfWC7gzPdGAAOJYdOZ\n\tuDklGiU8xmoJTBtYhFMHb06NVuBrnoJ2Kz0avYQyJ4fw+O5dQmgrq9IyxbTmGuLYn5uO\n\t1takpaKgF/35qzzpirnLkFKZ+bNpyNzwSnMJ0=","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=S9uuhnAqlyfG6lrRz5jo2e52VU2vH10LP61n9Km4VtI=;\n\tb=C7iW5jJbhW5mkwPWbWu/pS4iRpRwp26lDlvPGH8yHOZ6SNNb2+78XrAsGnQvPMiRx8\n\tJODg3Wj0U+LKkePG3XCV6fnbxe/fOO4R4JvmrGvW4CX9Tp8Kb4C8VAE5MPztGBCwAWQv\n\tlDzbEtmMsHmfiqd7mECNLFcnyzfnfUXvyLcX98F/Y5Ry0ow0ySIWrcq04mF6kftA6vpe\n\tl40e9jJKwemBRJALfyqxeGrgLAp5ZbJn2hIVdFwTqcQFOGEbduGN25KK4C1MaHmQ2zKm\n\tb7uhdsxsByIO+Qua7fGymwzdVsXO8e9CIOXA0yPiGivNgC9mccjpvdn6wRJfTCDBudgE\n\tMUmA==","X-Gm-Message-State":"AOAM533k7vvFv2ZaJIbj77fji4J5iaXdavX/IBrH0EJYA9vmdRlu1MUK\n\tPLk70hYI+ckt33iSdH012KhcFManZVxrzA==","X-Google-Smtp-Source":"ABdhPJynFl1o/KyqIIJNlihIecNOoI7Gs85iJlc49oAMRK74oGo/SD1hZyBbcxQXGqG/gdsmUt2iRg==","X-Received":"by 2002:a17:90a:f40f:: with SMTP id\n\tch15mr24012257pjb.128.1616971534488; \n\tSun, 28 Mar 2021 15:45:34 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 29 Mar 2021 07:45:25 +0900","Message-Id":"<20210328224528.55468-1-hiroh@chromium.org>","X-Mailer":"git-send-email 2.31.0.291.g576ba9dcdaf-goog","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 0/3] Regard crop_rotate_scale_degrees\n\tin configuration","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\nChange in v2:\n- Address Jacopo's comments.\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 | 63 +++++++++++++++++++++++++++++++++++\n 1 file changed, 63 insertions(+)\n\n--\n2.31.0.291.g576ba9dcdaf-goog"}