From patchwork Wed Nov 20 01:54:56 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: 2331 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 3987A60F1C for ; Wed, 20 Nov 2019 02:55:28 +0100 (CET) X-Halon-ID: ccffa491-0b38-11ea-a00b-005056917a89 Authorized-sender: niklas@soderlund.pp.se Received: from bismarck.berto.se (p54ac5865.dip0.t-ipconnect.de [84.172.88.101]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA id ccffa491-0b38-11ea-a00b-005056917a89; Wed, 20 Nov 2019 02:55:24 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Wed, 20 Nov 2019 02:54:56 +0100 Message-Id: <20191120015506.362440-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 00/10] libcamera: Fixes found while working on new 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: Wed, 20 Nov 2019 01:55:28 -0000 Hi, This series is a random collection of small fixes I encountered while working on the new buffer API. They could hopefully be merged without much controversy opposed to the real buffer API change. * Changes since v2 - Fixed HAL build which was not consider in v1. - Replaced 8/10 with a new version taking a new approach to solving the same problem. See v2 8/10 for more info. - Collected tags. Niklas Söderlund (10): libcamera: buffer: Drop forward declaration of BufferPool libcamera: buffer: Plane: Drop friend statement libcamera: buffer: Drop friend statement libcamera: camera: Remove explicit stream to buffer map in requestCompleted signal cam: BufferWriter: Use the libcamera namespace libcamera: v4l2_videodevice: Simplify error checking for requestBuffers() libcamera: pipeline_handler: Do not use argument as local variable libcamera: pipeline: Rework PipelineHandler::queueRequest() cam: Store camera as shared pointer everywhere libcamera: pipeline: Drop forward declaration of BufferPool include/libcamera/buffer.h | 4 --- include/libcamera/camera.h | 3 +- src/android/camera_device.cpp | 4 +-- src/android/camera_device.h | 3 +- src/cam/buffer_writer.cpp | 8 +++-- src/cam/capture.cpp | 6 ++-- src/cam/capture.h | 7 ++-- src/cam/main.cpp | 2 +- src/libcamera/camera.cpp | 2 +- src/libcamera/include/pipeline_handler.h | 5 +-- src/libcamera/pipeline/ipu3/ipu3.cpp | 6 ++-- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 7 ++-- src/libcamera/pipeline/uvcvideo.cpp | 6 ++-- src/libcamera/pipeline/vimc.cpp | 6 ++-- src/libcamera/pipeline_handler.cpp | 43 ++++++++++++++++-------- src/libcamera/v4l2_videodevice.cpp | 31 ++++++----------- src/qcam/main_window.cpp | 5 +-- src/qcam/main_window.h | 4 +-- test/camera/capture.cpp | 4 ++- 19 files changed, 76 insertions(+), 80 deletions(-)