{"id":12653,"url":"https://patchwork.libcamera.org/api/1.1/covers/12653/?format=json","web_url":"https://patchwork.libcamera.org/cover/12653/","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":"<20210618200247.624987-1-vedantparanjape160201@gmail.com>","date":"2021-06-18T20:02:45","name":"[libcamera-devel,0/2] Fixed mismatch of pixel formats of V4L2 and libcamera","submitter":{"id":85,"url":"https://patchwork.libcamera.org/api/1.1/people/85/?format=json","name":"Vedant Paranjape","email":"vedantparanjape160201@gmail.com"},"mbox":"https://patchwork.libcamera.org/cover/12653/mbox/","series":[{"id":2154,"url":"https://patchwork.libcamera.org/api/1.1/series/2154/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2154","date":"2021-06-18T20:02:45","name":"Fixed mismatch of pixel formats of V4L2 and libcamera","version":1,"mbox":"https://patchwork.libcamera.org/series/2154/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/12653/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 36A7DC3218\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 18 Jun 2021 20:03:25 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8BEBD68942;\n\tFri, 18 Jun 2021 22:03:24 +0200 (CEST)","from mail-pf1-x430.google.com (mail-pf1-x430.google.com\n\t[IPv6:2607:f8b0:4864:20::430])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 78C5660298\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Jun 2021 22:03:23 +0200 (CEST)","by mail-pf1-x430.google.com with SMTP id z26so8528428pfj.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 18 Jun 2021 13:03:23 -0700 (PDT)","from localhost.localdomain ([1.186.76.76])\n\tby smtp.googlemail.com with ESMTPSA id\n\ta11sm8852972pfl.168.2021.06.18.13.03.19\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 18 Jun 2021 13:03:21 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"GUAkk+hp\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=zHzl3AFg9jQ6y6uJTUZ59uD8uDslii/00mVygP3nwQI=;\n\tb=GUAkk+hpvfSytVGgNF6s+jN6loqFX6l2r6Cj6oUQd7XDgTtvZ6fACa91Jh20xlRTZ5\n\tYlZFyP/wMDKZsfMMKTr5Z0sobJNhQorWnpnAoGk11LexPet7qO/nCZlQ5pgtqe1DKpTr\n\tQsff/qiDUtw6exFhctsny4NPn+ElM47ab/C/9XqqPlx5PNi76SDyWsJM8X8o2K7GpJq1\n\tufT6RCWo8+Eox8Cw4+aZNe+qENSfquyoinJPDClJ/FV+ZqoBvX9Vc4zBtvqN6axuIgSy\n\tm4aK61oAi0dLM6QbuzOZP8fo2obn/2qbIInDd2ZuVFuWWaRM/57CouA9AmrCZu84DqdY\n\toZXg==","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=zHzl3AFg9jQ6y6uJTUZ59uD8uDslii/00mVygP3nwQI=;\n\tb=W6OpmXrwFLNf29VX9rfDGkd9cFDKfkmYoUFp4z5NnKsAR4I25PqgMyp7W6wWPepIIL\n\tGNxl669T4zao6+t/5lW37HkkTO9Dkz2cLID12VM8eP51ObxeZsouSRltB2vrABiUSQc8\n\tDa89JzmMA4cDMhTVwk/kVT51ISZ9dnzr70pgxXvYgp926sr2vTB1Y+5S150OijGIIr6W\n\tc7YDp+3EzvbqlWxWKxV7P9FMIE4G00wIogZk3N9Aqh8+9y0PS9c0p8KTWVR2ygXPZvjG\n\tNuPkPSZJmfPI1+bic9xuq2J6GC21Z4UR2cJx9FucV6J5gHSMuohMeiVsbD36jDa0LvUG\n\t1mJA==","X-Gm-Message-State":"AOAM530gWeSz06CEvK2JQWdlbH0Aga/TjIRsf4P6nv4qkYQOtFkkQPPZ\n\tKbZesnNN1kCnZggO2SRbCLSdFQb0SHbvqg==","X-Google-Smtp-Source":"ABdhPJz5zVEuMFmaHbS/LYIVrIzb34gpG1Ct9pORR6DeSCPESOAr2f/YOivJca6sa3EwOwvXvOVFDw==","X-Received":"by 2002:aa7:9983:0:b029:2ea:2408:386d with SMTP id\n\tk3-20020aa799830000b02902ea2408386dmr6648272pfh.13.1624046601801; \n\tFri, 18 Jun 2021 13:03:21 -0700 (PDT)","From":"Vedant Paranjape <vedantparanjape160201@gmail.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Sat, 19 Jun 2021 01:32:45 +0530","Message-Id":"<20210618200247.624987-1-vedantparanjape160201@gmail.com>","X-Mailer":"git-send-email 2.25.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/2] Fixed mismatch of pixel formats of\n\tV4L2 and libcamera","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>","Cc":"Vedant Paranjape <vedantparanjape160201@gmail.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"On running libcamera gstreamer element on Raspberry Pi 4B+, there was a\nwarning as follows:\n\n[3:23:59.717513107] [3577] WARN V4L2 v4l2_pixelformat.cpp:180 Unsupported V4L2 pixel format XB24\n\nThis patchset fixes the following warning, by updating the existing\nmapping of V4L2_PIX_FMT_XRGB32 to libcamera pixel format. Additionally,\nadds a new mapping of V4L2_PIX_FMT_RBGX32 to formats::XBGR8888\n\nVedant Paranjape (2):\n  libcamera: Fix V4L2 pixel format mapping for XRGB32\n  libcamera: Update V4L2 pixel format to libcamera pixel format mapping\n\n src/libcamera/formats.cpp          | 12 +++++++++++-\n src/libcamera/v4l2_pixelformat.cpp |  3 ++-\n 2 files changed, 13 insertions(+), 2 deletions(-)"}