From patchwork Tue Apr 30 18:37:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 1140 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DF30F600F9 for ; Tue, 30 Apr 2019 20:38:01 +0200 (CEST) Received: from pendragon.station (net-37-182-44-227.cust.vodafonedsl.it [37.182.44.227]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6830031D for ; Tue, 30 Apr 2019 20:38:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1556649481; bh=ssqorKCnP8XOPNKyYIfI+FemZhKoDVOAO12kd17E0jw=; h=From:To:Subject:Date:From; b=rXsNZxOSDUJHy5goWFT1yhXZnwRKERj0mKf3AdDYypIJteK3QkvQ17X3e91Lf+OKe eVB7dQyMrR5wARtnIhx6yXixiEE04SRjDBfrlQYTMvPQ+pB3iyEnwEiFf0zwHHcfHE MqyCUU/xUZlRlXD9Q4CK/kwreErpVa4gkBIHj7XA= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 30 Apr 2019 21:37:41 +0300 Message-Id: <20190430183746.28518-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/5] Miscellaneous cleanups and refactoring 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: Tue, 30 Apr 2019 18:38:02 -0000 Hello, As part of a larger series that reworks the stream configuration API, I cleaned up and refactored a few simple problem areas that ended up touching the whole code base. I'm thus sending this out to get it merged early in order to avoid conflicts. Laurent Pinchart (5): libcamera: pipeline_handler: Remove duplicated log from uvc and vimc libcamera: Use the Size class through libcamera libcamera: pipeline: Unify naming of configurations in pipeline handlers test: Unify naming of configurations in tests (q)cam: Unify naming of configurations in applications include/libcamera/geometry.h | 2 + include/libcamera/stream.h | 5 +- src/cam/main.cpp | 4 +- src/libcamera/camera.cpp | 6 +-- src/libcamera/camera_sensor.cpp | 3 +- src/libcamera/geometry.cpp | 9 ++++ src/libcamera/include/v4l2_device.h | 4 +- src/libcamera/include/v4l2_subdevice.h | 3 +- src/libcamera/pipeline/ipu3/ipu3.cpp | 61 +++++++++++------------- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 28 +++++------ src/libcamera/pipeline/uvcvideo.cpp | 24 ++++------ src/libcamera/pipeline/vimc.cpp | 24 ++++------ src/libcamera/pipeline_handler.cpp | 2 +- src/libcamera/stream.cpp | 22 ++++----- src/libcamera/v4l2_device.cpp | 36 ++++++-------- src/libcamera/v4l2_subdevice.cpp | 24 ++++------ src/qcam/main_window.cpp | 5 +- test/camera/capture.cpp | 14 +++--- test/camera/configuration_default.cpp | 10 ++-- test/camera/configuration_set.cpp | 21 ++++---- test/v4l2_device/formats.cpp | 6 +-- test/v4l2_subdevice/test_formats.cpp | 11 ++--- 22 files changed, 145 insertions(+), 179 deletions(-)