{"id":11874,"url":"https://patchwork.libcamera.org/api/covers/11874/?format=json","web_url":"https://patchwork.libcamera.org/cover/11874/","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":"<20210409043208.1823330-1-hiroh@chromium.org>","date":"2021-04-09T04:32:03","name":"[libcamera-devel,RFC,0/5] Report available test pattern modes","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/11874/mbox/","series":[{"id":1906,"url":"https://patchwork.libcamera.org/api/series/1906/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1906","date":"2021-04-09T04:32:03","name":"Report available test pattern modes","version":1,"mbox":"https://patchwork.libcamera.org/series/1906/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/11874/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 CB82FBD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  9 Apr 2021 04:32:17 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1C9F7687A1;\n\tFri,  9 Apr 2021 06:32:17 +0200 (CEST)","from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com\n\t[IPv6:2607:f8b0:4864:20::52f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E241C602CB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  9 Apr 2021 06:32:15 +0200 (CEST)","by mail-pg1-x52f.google.com with SMTP id l76so2946576pga.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 08 Apr 2021 21:32:15 -0700 (PDT)","from hiroh2.tok.corp.google.com\n\t([2401:fa00:8f:2:7567:510e:1b47:ce92])\n\tby smtp.gmail.com with ESMTPSA id\n\til6sm737275pjb.56.2021.04.08.21.32.12\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 08 Apr 2021 21:32:13 -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=\"iqwBS6uY\"; 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=aZbeIpc5AnYk2UVULFZZWX+j2Wh9RPfLdqGLfynWum8=;\n\tb=iqwBS6uYEg0Qx1kGNH7qRtjxTEoWazyzFougfduvptweFJsajy8Jx0yb2rcQb1nJ3v\n\tMXo+z8PEoqDvba4nb5D+H/lsVhVTMqrBNeAZb24iMmFGpRZi+pCsdCUcC/fT749ygDgk\n\tkpSsih2zIKNUbllWD0f4xgE8ICC4wEEhPnU04=","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=aZbeIpc5AnYk2UVULFZZWX+j2Wh9RPfLdqGLfynWum8=;\n\tb=sh8/dSBk94YRZpF0r/SuKm1CCdW1ZDNvlgbAJwUk/Vzl0IfhVFDhKC4zvk6WIIUue8\n\tpf4Y6Biq1RMagmSyI4Wg17ostZ9e6OqoWQpxQKhfATIAfx+OWPGXWSl6BPc8EVJX/F/w\n\tZpDE1Lc7XE12nndtprR5Cc8V0IGXSLDeGsqzvK7g9eZnUW/nDGeVkIwlBluHC+9xrcti\n\to3ldzR3cKp+H+SlaDh8K8wdK4GxJQtw44ul0oJOtnqXmaurObEd2WfkEebG0OhTz7WP9\n\taiCLWbErtFx5AtzC8Qk7jeqEtSvWocRYJXooYKqlIY7lQhnJHp10GQv/d72/S8srz10S\n\t0k+g==","X-Gm-Message-State":"AOAM533xiJdlH2XjOca21nYKb3Uef10xjIOVNdtqtyR6Nk4146ZPYFRb\n\tddGRbf9iEtb3G8e2yTJIc4lG8p50oLQPyQ==","X-Google-Smtp-Source":"ABdhPJxDsspHBJmbHO+vZZ8Gl+oTJX9iS8hpF2H2x7B1JFwz9ia7L9XEFybKq9FQ7+/QsTnYpiIfcA==","X-Received":"by 2002:a63:dc43:: with SMTP id\n\tf3mr11426370pgj.290.1617942734002; \n\tThu, 08 Apr 2021 21:32:14 -0700 (PDT)","From":"Hirokazu Honda <hiroh@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  9 Apr 2021 13:32:03 +0900","Message-Id":"<20210409043208.1823330-1-hiroh@chromium.org>","X-Mailer":"git-send-email 2.31.1.295.g9ea45b61b8-goog","MIME-Version":"1.0","Subject":"[libcamera-devel] [RFC PATCH 0/5] Report available test pattern\n\tmodes","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":"ChromeOS camera test tests that a camera frame is not corrupted\nwhile it specifies some test pattern mode. If no test pattern\nmode is available, the test fails. In order to pass the test,\nlibcamera needs to report available test pattern modes and\nproduce camera frames with requested pattern modes.\nThis is the first step for the aim. libcamera queries a camera\nsensor the supported test pattern modes and reports them with\nANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES.\n\nHirokazu Honda (5):\n  libcamera: controls: Add sensor test pattern mode\n  libcamera: V4L2Subdevice: Add getter/setter function for test pattern\n    mode\n  libcamera: CameraSensor: Expose supported test pattern modes\n  libcamera: pipeline: ipu3: Report available test pattern modes\n  android: CameraDevice: Report queried test pattern modes\n\n include/libcamera/internal/camera_sensor.h  |   6 ++\n include/libcamera/internal/v4l2_subdevice.h |   5 +\n src/android/camera_device.cpp               |  18 +++-\n src/libcamera/camera_sensor.cpp             |   8 ++\n src/libcamera/control_ids.yaml              |  59 +++++++++++\n src/libcamera/pipeline/ipu3/ipu3.cpp        |  10 ++\n src/libcamera/v4l2_subdevice.cpp            | 104 ++++++++++++++++++++\n 7 files changed, 206 insertions(+), 4 deletions(-)\n\n--\n2.31.1.295.g9ea45b61b8-goog"}