From patchwork Mon Sep 4 11:38:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 18976 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 49B4CBE080 for ; Mon, 4 Sep 2023 11:39:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 9342C628E9; Mon, 4 Sep 2023 13:39:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1693827553; bh=piSRkS3GEliLurPpraAco+960HXXbaN44fQAY79MWKc=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=2zdgO79E1KyUfivvt9M2EYJ4TougIgr9NoZ1c13RVjW9as6Ea+Oqv3QMh+3TmaD1o neQ0U/Og3CK5UdWQMGiC3BMv4GOegBgTbALG9s+K/XlphdUm8rlPYF6uZ1ZQzr74Fs Z6wHPM2i433Ozqmfay/E2KqAAvUo8NTYXWHOb4oDxNFyXp7/P8cY5EccgmEkSzJKHn jtaG72hVfptuVcH0kq7h+FcU1GsZONcxjM0jjNXai84ngKSv/HRHjMz2w4tqQXlnpe +7+EiHzGtsdmTMmEVJi7M4jFSHeWBnrXiIOYnhyyMtPgR0dbYX1DEVGEewD57uaKeD f2Bf1cdor2cTA== Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3BE41628D7 for ; Mon, 4 Sep 2023 13:39:12 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="lhNDxxUb"; dkim-atps=neutral Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-58fba83feb0so12379037b3.3 for ; Mon, 04 Sep 2023 04:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1693827551; x=1694432351; darn=lists.libcamera.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yh4gs1Y/O+fNhoPvEQTPAKHMtWU84ZlWJC9dTLgo7ls=; b=lhNDxxUbTteeeiTH+uBVaBnH1yXSPddGiv77zZ5TAnbC/72VS5T0Zgu5Z9MshZnTSF 5TrrErc+bgR018kThSDjrDerimUEqyZlP4v0qWrHJJFkkYbgq3KffXWHht1BinUwI4Dp j/VonSxMfSrzGO4kLPqPTOf74oavEwT7OKpnP0p0LCterilTCzO5DnOqEvKQwiKuqufX yjFI+XST7batwDstO5OIzed8S5oZyRdpB7twtOUlbjWmF7arzj4/m+uUz3GuMGTaMr21 655m9sw9ONdoeWIyZfc/NIUzX5WMeslIIFwgXbcNAYfqBblOObrrO1vCXQAeOb8JenBT F7Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693827551; x=1694432351; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yh4gs1Y/O+fNhoPvEQTPAKHMtWU84ZlWJC9dTLgo7ls=; b=Idg0agCoMRCiO8N3BfH9L/JPJWjKHnh9LQnSE9QkE52DGwwNh9VNo3RPcmFy9XW1Yg FgU+rimWtj3gfW5pgkat3TCdsEkFDRmUbiQwQBM8tJqeQcdfpOQK1Fh0EmSoxSNlwLl6 m/yfLt9cm4ml6S0L3T/tBQ0WVHmOl9pS5ixXkgvWk3m4jqK6bD3zplNcJYbju77tQben GHOMOIzo6JYqaCp2KiRNEVB8vYNpmoRXtrqPD9kxRwrOAHOa3mgFVUajvYVVlU2UDayi tdXiWaTQzwZRFs7cXvlMPjOFMGdVHHZn8Pd8yprHAFqFxzoQ5s2SskHjVozvH4C4tJvV FeBA== X-Gm-Message-State: AOJu0YxHPrxw/Zd8UFIAAY710W6YCdcL0I0Qq2H8c+rgIYcjNfw0e2h+ 1Zhyq87tpun0qi0npiAFrVrvOX7REiT1yJJicHT8KSJuOQ6TEpgEKdmaVg== X-Google-Smtp-Source: AGHT+IGahgWfBMK7s1kBG74Agd8plE40qEJb2W9hkeC5jY9c4DuLVXGbZnFAlNYXm/Tdli1Mrt+0ITA0aLwjGvC21Tc= X-Received: by 2002:a0d:e801:0:b0:586:9f6c:41a0 with SMTP id r1-20020a0de801000000b005869f6c41a0mr10535476ywe.14.1693827550785; Mon, 04 Sep 2023 04:39:10 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 4 Sep 2023 12:38:35 +0100 Message-ID: To: libcamera devel Subject: [libcamera-devel] [GIT PULL] Raspberry Pi: External buffer handling X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The following changes since commit ae9bcb2155957da3b6324676d706a901acb8343f: libcamera: stream: Document stride will be 0 for compressed formats (2023-08-29 10:40:25 +0300) are available in the Git repository at: https://github.com/naushir/libcamera.git for you to fetch changes up to ad64716ce927e4fcb8882f16dacc4bfcd15a9305: pipeline: rpi: Simplify buffer id generation (2023-09-04 11:13:27 +0100) ---------------------------------------------------------------- Naushir Patuck (4): pipeline: rpi: Increase buffer import count to 32 pipeline: rpi: Remove additional external dma buf handling logic pipeline: rpi: Rename RPi::Stream::setExternalBuffer() pipeline: rpi: Simplify buffer id generation src/libcamera/pipeline/rpi/common/pipeline_base.cpp | 18 +----------------- src/libcamera/pipeline/rpi/common/pipeline_base.h | 1 - src/libcamera/pipeline/rpi/common/rpi_stream.cpp | 56 +++++++++++++++----------------------------------------- src/libcamera/pipeline/rpi/common/rpi_stream.h | 48 ++++-------------------------------------------- 4 files changed, 20 insertions(+), 103 deletions(-)