{"id":13771,"url":"https://patchwork.libcamera.org/api/covers/13771/?format=json","web_url":"https://patchwork.libcamera.org/cover/13771/","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":"<20210909080902.239533-1-paul.elder@ideasonboard.com>","date":"2021-09-09T08:08:55","name":"[libcamera-devel,v3,0/7] v4l2-compat fixes","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/13771/mbox/","series":[{"id":2502,"url":"https://patchwork.libcamera.org/api/series/2502/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2502","date":"2021-09-09T08:08:55","name":"v4l2-compat fixes","version":3,"mbox":"https://patchwork.libcamera.org/series/2502/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/13771/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 B613ABDC71\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  9 Sep 2021 08:09:15 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 32F716916A;\n\tThu,  9 Sep 2021 10:09:15 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CE5D86024E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  9 Sep 2021 10:09:13 +0200 (CEST)","from pyrite.rasen.tech (unknown\n\t[IPv6:2400:4051:61:600:2c71:1b79:d06d:5032])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 7869B24F;\n\tThu,  9 Sep 2021 10:09:12 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"W+RxIuLz\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1631174953;\n\tbh=2yxkvEZqFX7QiENfBI24N0CUq3dcVDX5dhjwZfHFlJs=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=W+RxIuLz48f5aoh2IKnHfnfchGiPwpSLHbOTaIrYxAM4a5qE6hek8F1XH/waww1m5\n\taVu+ebVSlIQPBzTde4F+1EVOpxW1Lp97/7klHedqu0x87nExmxzBsAU0NQnifiQBKE\n\tfSEP++W6+KSJavJqAzJSjQOK2mszPWucUBhnEYBc=","From":"Paul Elder <paul.elder@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  9 Sep 2021 17:08:55 +0900","Message-Id":"<20210909080902.239533-1-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/7] v4l2-compat fixes","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":"Everything started when a new version of v4l2-compliance broke our unit\ntest, because it changed the version string format, and added some more\ntests that we don't pass. The extra test is that it confirms the V4L2\nformat description string, so patches 2 to 5 address this. Patch 6 fixes\nanother todo along the way, and patch 7 addresses the version parsing,\nwhich allows everything to run again.\n\nv3 is just minor wording changes. Mostly s/name/description/\n\nPaul Elder (7):\n  v4l2: v4l2_compat_manager: Don't print \"camera not found\" on openat()\n  libcamera: v4l2_pixelformat: Add V4L2 description strings\n  libcamera: v4l2_pixelformat: Add entries for NV24 and NV42\n  libcamera: v4l2_pixelformat: Add helper function to get the\n    description\n  v4l2: v4l2_camera_proxy: Report the proper format name in enum_fmt\n  v4l2: v4l2_camera_proxy: Set the compressed flag in enum_fmt\n  test: v4l2_compat_test: Fix v4l2-compliance version parsing\n\n include/libcamera/internal/v4l2_pixelformat.h |   6 +\n src/libcamera/v4l2_pixelformat.cpp            | 207 +++++++++++++-----\n src/v4l2/v4l2_camera_proxy.cpp                |   9 +-\n src/v4l2/v4l2_compat_manager.cpp              |   2 +-\n test/v4l2_compat/v4l2_compat_test.py          |   2 +-\n 5 files changed, 162 insertions(+), 64 deletions(-)"}