{"id":8917,"url":"https://patchwork.libcamera.org/api/1.1/covers/8917/?format=json","web_url":"https://patchwork.libcamera.org/cover/8917/","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":"<20200722133009.26528-1-kgupta@es.iitr.ac.in>","date":"2020-07-22T13:30:02","name":"[libcamera-devel,0/7] vimc: Introduce multiple streaming","submitter":{"id":39,"url":"https://patchwork.libcamera.org/api/1.1/people/39/?format=json","name":"Kaaira Gupta","email":"kgupta@es.iitr.ac.in"},"mbox":"https://patchwork.libcamera.org/cover/8917/mbox/","series":[{"id":1127,"url":"https://patchwork.libcamera.org/api/1.1/series/1127/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1127","date":"2020-07-22T13:30:02","name":"vimc: Introduce multiple streaming","version":1,"mbox":"https://patchwork.libcamera.org/series/1127/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/8917/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 2A3A6BDB1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 22 Jul 2020 13:30:21 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 75E7F60948;\n\tWed, 22 Jul 2020 15:30:20 +0200 (CEST)","from mail-pf1-x443.google.com (mail-pf1-x443.google.com\n\t[IPv6:2607:f8b0:4864:20::443])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C49266053C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jul 2020 15:30:17 +0200 (CEST)","by mail-pf1-x443.google.com with SMTP id u5so1278729pfn.7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 22 Jul 2020 06:30:17 -0700 (PDT)","from kaaira-HP-Pavilion-Notebook ([103.113.213.178])\n\tby smtp.gmail.com with ESMTPSA id\n\t66sm25151630pfa.92.2020.07.22.06.30.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 22 Jul 2020 06:30:15 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=es-iitr-ac-in.20150623.gappssmtp.com\n\theader.i=@es-iitr-ac-in.20150623.gappssmtp.com\n\theader.b=\"abrDMMz/\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=tC0OluVvmgGvLlrwINEOP9iDz2JcUMtBelbusjZauYw=;\n\tb=abrDMMz/jGvutOthpW5cwyz/34tLWbBVttf2uL6jPeHzBqutfz8+PQDOkbzcI2IRUo\n\tWVnC2xynM6h0sfy9qAVfOFjCEUTHqspoef0MEXsVH54YCAmCCAzrL147GCKtYiggy5yO\n\tryphP6ZslSQ1TszLhiCsJyAvU2aUhJ9NwYZLscItGuCNK80h/FguYsJqAGg/3wAbbQmn\n\tFWEG9PwjyCbR5Nqt9zFFXwmBKNrmPQHcOKBiEMWltJitrf7ubXfDOiTIMNbgin1jS/Su\n\tBi1OUWrXqQqbI0AZH8wWH3xh2bBqoLkcp7HVWP73jTBb/jYh9NNOpD4pceTyDikBP1Il\n\tf7cQ==","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;\n\tbh=tC0OluVvmgGvLlrwINEOP9iDz2JcUMtBelbusjZauYw=;\n\tb=FpSrw71voR6BvYjJb0k0wnqbinGdXx8stG3QV6DXPKhjkgL1GjYy73uoM0MXIn2ffC\n\tD5bDCp9E4XrhbpWLe7P/fanLfkmqQncnoX61Vl+gIgQ/NFIx7FSgm2+lpdkKnt8/x8mD\n\tx9QPdL+mTjUVmaC8uWKvDj1Pt0O/VHkLz2A2nM+qV3lbT2xnq011lFs+OiR1Bh9WKnvk\n\t73b6cPRtVKuUXP2im3TJ0s22f/rtdghNoPDAAVUiX+eOhZ6kb7JsUTs9mhqsfEh9bU29\n\tY5iMqJ0/CdoXQPNdXeBT8OQGPrBZIHUUcAaeUcuxFoaZo00ihdxdaqCiiFk81Tqe1YPU\n\tY3wg==","X-Gm-Message-State":"AOAM530+5QO0YBcQl0AsahOR4XfEzaWAUcg+WJErXG12WhBkwYdKUNkb\n\tnttECzl+UETjVoC8eXGBekS+o1jp6Rc=","X-Google-Smtp-Source":"ABdhPJwbyzRP6BI/4KQb19nxfA5JAWfymKupvhjGiO2H6mDUuLq0sG38taqrHYyHlQzj+dc3yCHl1w==","X-Received":"by 2002:a63:7054:: with SMTP id\n\ta20mr25856312pgn.17.1595424615808; \n\tWed, 22 Jul 2020 06:30:15 -0700 (PDT)","From":"Kaaira Gupta <kgupta@es.iitr.ac.in>","To":"libcamera-devel@lists.libcamera.org,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>","Date":"Wed, 22 Jul 2020 19:00:02 +0530","Message-Id":"<20200722133009.26528-1-kgupta@es.iitr.ac.in>","X-Mailer":"git-send-email 2.17.1","Subject":"[libcamera-devel] [PATCH 0/7] vimc: Introduce multiple streaming","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":"Kaaira Gupta <kgupta@es.iitr.ac.in>","MIME-Version":"1.0","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":"This patchset introduces multiple streaming in VIMC piepline handler.\nThe first patch in this series moves a helper to determine raw formats\nto PixelFormatInfo class, while rest introduce multiple streams (1 RAW\nand 1 RGB/YUV) to the pipeline handler.\nVIMC does not support multiple streams yet, so I used a patchset by\nNiklas to introduce the same. The link to patchset is: \nhttps://patchwork.kernel.org/cover/10948831/\nSince this patchset is old, I will follow this patchset (Introduce\nmultiple streams to the pipeline handler) with Niklas' patch rebased on\nthe current media-tree so that it becomes easy to test my patchset.\n\nI tested this patchset with cam. The non-exhaustive list of commands\nI tried are:\ncam -c 1 -C -s role=viewfinder -s role=stillraw\ncam -c 1 -C -s height=30,width=30 -s height=50,width=50\ncam -c 1 -C -s role=stillraw\ncam -c 1 -C -s height=50,width=50 -s height=20,width=20\n\nKaaira Gupta (7):\n  libcamera: formats: Move isRaw() helper to formats.cpp\n  libcamera: pipeline: vimc: Introduce rawStream_\n  libcamera: pipeline: vimc: Generate and Validate stream configurations\n  libcamera: pipeline: vimc: Configure the entities of VIMC pipeline\n  libcamera: pipeline: vimc: Take care of buffers\n  libcamera: pipeline: vimc: Queue the buffers\n  libcamera: pipeline: vimc: Initialise raw capture connection\n\n include/libcamera/internal/formats.h          |   1 +\n src/libcamera/formats.cpp                     |  13 +\n .../pipeline/raspberrypi/raspberrypi.cpp      |  27 +-\n src/libcamera/pipeline/vimc/vimc.cpp          | 449 ++++++++++++------\n 4 files changed, 341 insertions(+), 149 deletions(-)"}