From patchwork Wed Feb 20 23:59:35 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: 599 Return-Path: Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id AC31F600FF for ; Thu, 21 Feb 2019 00:59:53 +0100 (CET) X-Halon-ID: 973e5c2d-356b-11e9-b530-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (unknown [89.233.230.99]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id 973e5c2d-356b-11e9-b530-005056917a89; Thu, 21 Feb 2019 00:59:49 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Thu, 21 Feb 2019 00:59:35 +0100 Message-Id: <20190220235939.25147-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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: Wed, 20 Feb 2019 23:59:54 -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. 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 | 9 +++++++++ 4 files changed, 33 insertions(+), 7 deletions(-)