{"id":993,"url":"https://patchwork.libcamera.org/api/covers/993/?format=json","web_url":"https://patchwork.libcamera.org/cover/993/","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":"<20190415231859.9747-1-jacopo@jmondi.org>","date":"2019-04-15T23:18:52","name":"[libcamera-devel,v5,0/7] libcamera: Framework changes to prepare for multiple streams support","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/cover/993/mbox/","series":[{"id":251,"url":"https://patchwork.libcamera.org/api/series/251/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=251","date":"2019-04-15T23:18:52","name":"libcamera: Framework changes to prepare for multiple streams support","version":5,"mbox":"https://patchwork.libcamera.org/series/251/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/993/comments/","headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net\n\t[217.70.183.201])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7D3E560B2E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 16 Apr 2019 01:18:17 +0200 (CEST)","from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay8-d.mail.gandi.net (Postfix) with ESMTPSA id EF1EB1BF205;\n\tMon, 15 Apr 2019 23:18:16 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 16 Apr 2019 01:18:52 +0200","Message-Id":"<20190415231859.9747-1-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.21.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v5 0/7] libcamera: Framework changes to\n\tprepare for multiple streams support","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","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>","X-List-Received-Date":"Mon, 15 Apr 2019 23:18:17 -0000"},"content":"Hello,\n   I have collected here changes on some of the patches sent as part of v4.\n\nCompared to v4 this series only contains framework changes required to prepare\nto support multiple stream operation in IPU3 pipeline handler.\n\nMost relevant changes are:\n- Split 1/7 in a patch to Stream only\n- handle freeBuffer error code\n- still have to make sure Request::empty() is a good name or not..\n- validate the request by using empty()\n\nThe last two patches are framework changes which are used in ipu3 pipeline\nhandler to show the direction things will take with multiple support in.\n\nThanks\n  j\n\nJacopo Mondi (7):\n  libcamera: stream: Make Stream inheritable\n  libcamera: camera: Propagate freeBuffers() error\n  libcamera: camera: Pass the stream set to allocate/freeBuffers()\n  libcamera: request: Add empty() method\n  libcamera: camera: Validate Request befor queueing it\n  libcamera: request: Expose the Stream to Buffers map\n  libcamera: buffer: Store Request reference in Buffer\n\n include/libcamera/buffer.h               |  6 ++++\n include/libcamera/request.h              |  3 ++\n include/libcamera/stream.h               |  4 +--\n src/libcamera/buffer.cpp                 | 45 +++++++++++++++++++++++-\n src/libcamera/camera.cpp                 | 30 ++++++++++------\n src/libcamera/include/pipeline_handler.h |  6 ++--\n src/libcamera/pipeline/ipu3/ipu3.cpp     | 34 +++++++++---------\n src/libcamera/pipeline/uvcvideo.cpp      | 13 ++++---\n src/libcamera/pipeline/vimc.cpp          | 13 ++++---\n src/libcamera/pipeline_handler.cpp       | 11 +++---\n src/libcamera/request.cpp                | 25 +++++++++++--\n 11 files changed, 143 insertions(+), 47 deletions(-)\n\n--\n2.21.0"}