From patchwork Tue Mar 24 17:56:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaaira Gupta X-Patchwork-Id: 3307 Return-Path: Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 33D2760411 for ; Tue, 24 Mar 2020 18:56:57 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=es-iitr-ac-in.20150623.gappssmtp.com header.i=@es-iitr-ac-in.20150623.gappssmtp.com header.b="ec5Bx6iJ"; dkim-atps=neutral Received: by mail-pj1-x1031.google.com with SMTP id l36so1923643pjb.3 for ; Tue, 24 Mar 2020 10:56:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=es-iitr-ac-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=K9taVKvfKUTqDX18hWaQal9HgEBqTQcDldZC7znFBXY=; b=ec5Bx6iJQlOmIUkTKstuSGQBYMX6af4gKGiUQzkFh0oMjswbAYek7edzD79mWQVXkE IGro7n5Gc1f19lKUCe5kOy/UkuKQcEoRVazhAy2+ukSQxYVUFAJHzP8i0MtFdtVssQgu jayGT6sNXhGYOS8oqU9xgwTVoac71IRacRIC6aLirBc57tug+YDqT2EgS+SOu6aYYI5i g6sqIKwgB6+ivRPJFJXtBk4ltYN0weAH78gA3RgozDuSSN1LJU83sq9fJ1CIJguPwOPL MVNpKFUgrHxSJ9c/24t7ZkOxwxt4Y9mGvRU1JDCC0MHM4gHahWgQj2mXBOojPPZQz+WV 0RfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K9taVKvfKUTqDX18hWaQal9HgEBqTQcDldZC7znFBXY=; b=GFg/AAstTqXWlYvYVfTLxkPRRr8aPgxrtW3rW8PbNw9m644bvpLLxW9QuznY9oKxlF 9kljxetK+R09NTianaEXAi/lHFDpJHN+AeXpvX4NSdt/6pJhsKJyxoUCjMY1VvGh1AxS cQ+qtta2t3byGuYNfavtg/aFOJ4pQ9pmVIdyhOl4VO9qSS1rk7wMCmzduzy5fgfolhaX Gx4TEG/v1dtgyF7+g35RcDPWpN3jo87NIQYAB19BPx3HBBCRtlTok5kLJqhZm8nhTiue 8EO9yMwElJVuUIg+cts4wYPnW8Ud41YXKJz4crEOcv3kAVqrd9RgiJ06Zh72trNLHD2/ lZSQ== X-Gm-Message-State: ANhLgQ25cHewh5hGqtyvKjoiNOa/g5MfEoAapIQgbsIWlWJPLRu76Csd Ik6E+LXQ76Ubu9fRtSRC6Yj0Ug== X-Google-Smtp-Source: ADFU+vuOSIvajeBsWXtMQIDLK7h0avRkdAeyFWnEUK27ppmLj7ZrJDxtaf8RUOXpXT1HOlIKRgXbUw== X-Received: by 2002:a17:90a:c78b:: with SMTP id gn11mr6648147pjb.147.1585072615447; Tue, 24 Mar 2020 10:56:55 -0700 (PDT) Received: from kaaira-HP-Pavilion-Notebook ([103.113.213.154]) by smtp.gmail.com with ESMTPSA id y29sm604039pge.22.2020.03.24.10.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 10:56:54 -0700 (PDT) From: Kaaira Gupta To: libcamera-devel@lists.libcamera.org, Kieran Bingham , Helen Koike , Vaishali Thakkar Cc: Kaaira Gupta Date: Tue, 24 Mar 2020 23:26:40 +0530 Message-Id: <20200324175643.22382-1-kgupta@es.iitr.ac.in> X-Mailer: git-send-email 2.17.1 Subject: [libcamera-devel] [PATCH 0/3 v2] Use StreamFormats in pipelines 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-List-Received-Date: Tue, 24 Mar 2020 17:56:57 -0000 This patchset aims at using StreamFormats in the pipelines, thereby replacing the default constructor SteamConfiguration() by its parameterized counterpart. Changes since v1: - Patch 1: No change. - Patch 2: Fixed whitespace errors. - Patch 3: revised the sizerange vector passed in StreamFormats Kaaira Gupta (3): libcamera: pipeline: Replace resize() with erase() in validate() libcamera: pipeline: rkisp1: Use parameterized StreamConfiguration libcamera: pipeline: ipu3: Use parameterized StreamConfiguration src/libcamera/pipeline/ipu3/ipu3.cpp | 19 ++++++++-- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 47 +++++++++++++++++------- src/libcamera/pipeline/uvcvideo.cpp | 8 +++- src/libcamera/pipeline/vimc.cpp | 8 +++- 4 files changed, 61 insertions(+), 21 deletions(-)