From patchwork Thu Dec 29 22:54:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Rauch X-Patchwork-Id: 18079 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 12921C3220 for ; Thu, 29 Dec 2022 22:54:40 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 733FA625CF; Thu, 29 Dec 2022 23:54:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1672354479; bh=xJYGKLed6j0laiJFFx+xh5JK+lqURK4mYk+c9SNr/b8=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Sx6nI+JNwhSFp6ppo2JieGEhAgqbt9RkNCwB8JpffTE+UYI5gzyG7vti89f6Vq5WJ bxdvfMHchK3ipwWcGP9BVfVsqBLOHkYvrYxh+6LoehSCEddsoNlZFGaVk1owDci6Ek HgrBn2n+1Eu3+LmTn7nGrN5+j4t3OuzR67pqbQ+1+41KFJWUxvhThY2ZF/2ehEMf5F frHKYeC29ohmqTHkS+RZTels+qVwaVcjUg5ttIynejNU0XnpZnLCYupYeyoXcTt/gj IqKjZTLvO0ju4Dzfizq6nj9XY15WRWj2x86ALV/90z07GrtRvA2Jq+3SSiJtSO/sQj IeagIs/EjiDDg== Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B4ED861F12 for ; Thu, 29 Dec 2022 23:54:37 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=gmx.de header.i=@gmx.de header.b="D3qegSI5"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1672354477; bh=xJYGKLed6j0laiJFFx+xh5JK+lqURK4mYk+c9SNr/b8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=D3qegSI5nfU3I1g+u58YLjUNgtNCh9tOwzWZnQ1Yph2PrWfjVrXQvcgBH3skwiD+L q0yBMi9EMFAuYicFvUzkfnRCcQjEWCg2k4wbHcNwsaGqfZKCwS71n4jkHu8qmW3UV0 5kHLIfO5M3jza8VRcaZu0H2Q6IVXcxidR3t3NYTs1n0Mv2IJc6CDm8pKqmx8Z5bEiW wI09eWx73zZ+Wsnc1+8rkEG9NYgSQ3ZqC+QOZ98hTfyGs4AelJBK8Hiu9oFSCPKdns 1bwTQGJCQpQuZ0CFqJHECZZY0lIntEIde/VrVJa3pdyKq+uvyP0mUDmpLwjd9ILFga DyI8W2ifp6SHA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from voyager ([88.152.184.103]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1Hdq-1p8Gdb0aMc-002rx5; Thu, 29 Dec 2022 23:54:37 +0100 To: libcamera-devel@lists.libcamera.org Date: Thu, 29 Dec 2022 23:54:35 +0100 Message-Id: <20221229225435.36569-1-Rauch.Christian@gmx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:zEzvozvU7N7a2UIoILttfpCr279o8lu/8yb65EDu6BkwdyDsm7H asq3TL9bFoc0SLug2cqQ5fHVT7erDPyHN/o69dMHAU+AYLj2EuvvIeDfoagWWprZxMKe6+9 PFSfFIOWHjzqndDrd3JTdrup1xBFy1GhrzbpkShR7O82Crlg646jT3s2iKp3OGQkW9mxrEF MZxnKe8h5vbzfCnEWRThw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1; M01:P0:q3Leg+m2s0Q=; 0ehVT3amTW9IIUXufvy39z7WxGF e3xSrGR4QH8OMezBFQHLEy5uymP3TGbOkwdYIztJ7PaHeeM2RBUKPLxgagVuBiG/vpqDmBRmK VB7Co+rEROPrQyvkAHBAKNfEcBRHLqbrv1nMrkn4vryJllb9lB5NH9x6NomXJ3TWeUq52/lyE KaUS7JybzSN/X0UTINZOI7gNgMhMq2ie1Jq4y0MTp4VZdw+X0W5vONGN8c4e5T/TtLNtfKK8R 1zS9g9PRnf9NFPQB+u/YELH7gQqdOaZFsUlnOlCv65dR+ByDACDgZNN2NuOTtmAZU7TlEAeHs oSR32onh7KLPivrq7SBGSczLILDDQzJY2B1oDKWkiO7Eh5rWBG7C2wETjHhmL+/jLkzHuBfTY Ec1H2xUVJDQQkrEYXmOjmh7TIWPjVpN0eGhczOhgGrl/GWkKCav8GRY1roPb80tOi4Q4jinKz /3LSgg4/ayqtHC++fG/vZpVPJ9bVdZzaTScSw+t3CgpgJtt9LpMVLKBneNAyJXb4LlJKsNDjx 2xXltHg6gqL8MPdwNDTq/ZF4dtx4XgtzSZZuDXQqmfdF1PE2EENQ+DMXdOd0C+BGhtX+ve+GT wF20LV7MYbFjQcgP2BL9MvHuA7jlK6EFPYnYVVkhAjytU0fUtkSY5Scqw94srmbW1mdTNUZAD kokkYwJ9Twkimd54JqbW4Or99Pp0JCcrUMqMzOR/dd+4wg73oJIeglYeq80zjvI0EH3EaVwT4 noocNKvDdI5VR9QZV+1ZI0MOEqcjLPQtSofQ6+9Wisx2caS+fHf9DvvGL6VV2pO9B7/Gy7L3V MnQGbkbUL0ENoX/nmiMlSj6LV9t1iy992aJPWwHkXWM9SO7r7F6FBv6ItGBza30bFMCnNzghu vsro5zrnJr4Zwxnpkq3RbYoXd5izAE09Pj+dxy68wPNQqMd92VcbwhqOoyQXWO6U71sL0BZZb X3wXgfO8OjzVE7XiNDUk11WjJzM= Subject: [libcamera-devel] [PATCH] qcam: Show string representation of pixel format 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-Patchwork-Original-From: Christian Rauch via libcamera-devel From: Christian Rauch Reply-To: Christian Rauch Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The raw pixel format in form of the fourcc integer is not easily readable. Use the string representation instead for easier debugging. Signed-off-by: Christian Rauch Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/apps/qcam/viewfinder_qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1 diff --git a/src/apps/qcam/viewfinder_qt.cpp b/src/apps/qcam/viewfinder_qt.cpp index a7482bea..dcb7acdf 100644 --- a/src/apps/qcam/viewfinder_qt.cpp +++ b/src/apps/qcam/viewfinder_qt.cpp @@ -71,7 +71,7 @@ int ViewFinderQt::setFormat(const libcamera::PixelFormat &format, const QSize &s image_ = QImage(size, QImage::Format_RGB32); - qInfo() << "Using software format conversion from" << format; + qInfo() << "Using software format conversion from" << format.toString().c_str(); } else { qInfo() << "Zero-copy enabled"; }