{"id":23749,"url":"https://patchwork.libcamera.org/api/1.1/covers/23749/?format=json","web_url":"https://patchwork.libcamera.org/cover/23749/","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":"<20250707085520.39777-1-stefan.klug@ideasonboard.com>","date":"2025-07-07T08:55:03","name":"[v3,0/9] Wdr preparations","submitter":{"id":184,"url":"https://patchwork.libcamera.org/api/1.1/people/184/?format=json","name":"Stefan Klug","email":"stefan.klug@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/23749/mbox/","series":[{"id":5273,"url":"https://patchwork.libcamera.org/api/1.1/series/5273/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5273","date":"2025-07-07T08:55:03","name":"Wdr preparations","version":3,"mbox":"https://patchwork.libcamera.org/series/5273/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/23749/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 4636BC3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  7 Jul 2025 08:55:38 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id BD6A368E85;\n\tMon,  7 Jul 2025 10:55:36 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CEC7568E66\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  7 Jul 2025 10:55:34 +0200 (CEST)","from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:c79f:85df:e7f5:4c31])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id DCCF6190D; \n\tMon,  7 Jul 2025 10:55:07 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"Yvv8nvxH\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1751878508;\n\tbh=N+C2OolqJpyDO3A0IsfOjMFQJC5tbsLzTdcgtfhoy2E=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=Yvv8nvxHSBqpCRCdQafadLMpJSl6jmSRnjcmpSjS0WIZf99Jm2sCODIgjwMbxsLbn\n\tAJy+4hTTUzO87e1wPeoq07M618rK8f244U/l0JZTMQe0FOlZ8Ay0uu6ezY+Sdqetgn\n\tzb/QGQew21GWYTmvYpZVavY0ki3ZwyRG6/u89rJk=","From":"Stefan Klug <stefan.klug@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Stefan Klug <stefan.klug@ideasonboard.com>","Subject":"[PATCH v3 0/9] Wdr preparations","Date":"Mon,  7 Jul 2025 10:55:03 +0200","Message-ID":"<20250707085520.39777-1-stefan.klug@ideasonboard.com>","X-Mailer":"git-send-email 2.48.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi all,\n\nThis is v3 of the wdr preparation series. I hope it is ready to go. Most\nof the patches have 2 rby tags. I repost because patch 6 and 7 were\nreworked. Patch 6 contains the error message when queuing parameter\nbuffers fails. The functionality to check for available parameter types\nwas pulled into linux 6.17. I therefore reduced the error message in\npatch 6 to a generic \"Failed to queue parameter buffer\" as this might\nstill be valuable information even though it is not expected to happen\nregularly. Patch 7 was simplified as result of the reviews and therefore\nmisses the rby tags.\n\nBest regards,\nStefan\n\n--- Old cover letter below.\n\nThis v2 fixes a few minor errors found in v1. The main reason for the\nrepost is to create a basis for the upcoming WDR series.\n\nThe rest of the text here is unmodified (the changelogs are in the\npatches).\n\nThis patch series does a bit of preparatory work for the upcoming WDR\nsupport. The patches are a mix of topics but as they are all quite\nsmall, I thought that a small series might be the best fit.\n\nPatches 1-3 are tiny improvements in gen-debug-controls that ease the\nday to day work.\n\nPatches 4 and 7 add a bit of debug logging.\n\nPatches 5-6 fix a bug in the rkisp1 parameters handling.\n\nPatches 8-9 add support for exposure compensation in rkisp1.\n\nI hope you all like it :-)\n\nBest regards,\nStefan\n\nStefan Klug (9):\n  utils: gen-debug-controls: Remove line number from control description\n  utils: gen-debug-controls: Fix handling of controls that appear\n    multiple times\n  utils: gen-debug-controls: Improve log output\n  libipa: agc_mean_luminance: Add debug logging\n  ipa: rkisp1: params: Check for empty parameters\n  pipeline: rkisp1: Add error log when parameter queuing fails\n  pipeline: v4l2_subdevice: Add color space to format string\n    representation\n  libipa: agc_mean_luminance: Add exposure compensation support\n  ipa: rkisp1: agc: Implement ExposureValue control\n\n src/ipa/libipa/agc_mean_luminance.cpp    | 36 +++++++++++++++++++++---\n src/ipa/libipa/agc_mean_luminance.h      |  6 ++++\n src/ipa/rkisp1/algorithms/agc.cpp        | 10 +++++++\n src/ipa/rkisp1/ipa_context.h             |  2 ++\n src/ipa/rkisp1/params.cpp                |  3 ++\n src/ipa/rkisp1/params.h                  |  3 ++\n src/libcamera/pipeline/rkisp1/rkisp1.cpp |  9 +++++-\n src/libcamera/v4l2_subdevice.cpp         |  2 ++\n utils/gen-debug-controls.py              | 28 +++++++++++++++---\n 9 files changed, 90 insertions(+), 9 deletions(-)"}