From patchwork Sun Feb 24 17:36:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 609 Return-Path: Received: from vsp-unauthed02.binero.net (vsp-unauthed02.binero.net [195.74.38.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 19AA5601E2 for ; Sun, 24 Feb 2019 18:37:11 +0100 (CET) X-Halon-ID: cd44d18f-385a-11e9-b5ae-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id cd44d18f-385a-11e9-b5ae-0050569116f7; Sun, 24 Feb 2019 18:37:09 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Sun, 24 Feb 2019 18:36:57 +0100 Message-Id: <20190224173701.8587-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/4] libcamera: enforce stream configuration X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 17:37:11 -0000 Hi, This series extends the documentation and implements the stricter enforcing of that the configuration requested exactly can be satisfied by the hardware discussed face to face. For a more detailed description see patch 1/4. The last patch 4/4 improves the cam utility to make better use of the stricter requirements and prevents it from error out when requesting a format which the hardware can't match and instead informs the user of the real problem. * Changes since v1 - Improve grammar in 1/4 and in commit messages, thanks Laurent! Niklas Söderlund (4): libcamera: pipeline_handler: extend documentation for configureStreams() libcamera: pipeline: uvcvideo: enforce stream configuration libcamera: pipeline: vimc: enforce stream configuration cam: fix return type of configureStreams() src/cam/main.cpp | 7 ++----- src/libcamera/pipeline/uvcvideo.cpp | 12 +++++++++++- src/libcamera/pipeline/vimc.cpp | 12 +++++++++++- src/libcamera/pipeline_handler.cpp | 8 ++++++++ 4 files changed, 32 insertions(+), 7 deletions(-)