From patchwork Wed Jul 20 13:03:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16701 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 0F966BD1F1 for ; Wed, 20 Jul 2022 13:04:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 65CE263315; Wed, 20 Jul 2022 15:04:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1658322268; bh=C2YeuhCyQkCkPBSE9ZLZBkq1/shnZq/oiMvF/5uHA0g=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=AltJ/B5Lj2NtWYsk6DMm5BM5GsGXka0tb20nih2prRdsLuS3/PfW/Un6mB/udk3cv bEQSXCTNPLl7h9EVWN0h0Uc3xeAaRYl2Ks24vdgQqX7CaP53azYSpOACIbauXrrSxn 43mgyAQuQVixdCZvAhIdHzshXQpmcz80wsRjzve8aOWmR+UVDUlzFYmpQ1JLo6yDh3 +IoOhHx3IiRPdS/WfRTiXrizuqfYJAOSsS8xdpRj0JNuM6S5k7w8hYHApLwvs5+pFy JoWYQMiEY7x12sY3N1xwZy0QLfIEwkoh1UokL0CvQECIEhbFkCwXuf0ISgL16uBDzV +n6RDxlTjVp3w== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9060B601B8 for ; Wed, 20 Jul 2022 15:04:26 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="FBdregKu"; dkim-atps=neutral Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F20E36DB; Wed, 20 Jul 2022 15:04:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1658322266; bh=C2YeuhCyQkCkPBSE9ZLZBkq1/shnZq/oiMvF/5uHA0g=; h=From:To:Cc:Subject:Date:From; b=FBdregKup8sw2Qxvwn1cH5WuZFINc/RglzbMvR+6vk+SRUjpRNxu7w+M/aiITaXYG 365XMzWEguu3JQsZatTIDoj/UpaXdcOuhrmbTLPofJFmzEEhU7agwIQbiuW9i3On5h fdtQTi1QurJAXlDaszxq2JOh919og3fsWRmH0VSQ= To: libcamera-devel@lists.libcamera.org Date: Wed, 20 Jul 2022 16:03:46 +0300 Message-Id: <20220720130348.1337-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/2] cam: Replace dependency on SDL2_image with libjpeg 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: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hello, This patch series bundles a new version of Eric's SDL2_image replacement with an additional cleanup for the cam SDL support. I've numbered it v5 as Eric's patch (now 1/2) was v4, but patch 2/2 is new. The changes in 1/2 just incorporates my review comments, I've decided to send the result as I had already made the changes locally to test the review recommedations. Eric, please feel free to disagree with any of the changes :-) Otherwise, if you're OK with them, I'll apply the series. Eric Curtin (1): cam: sdl_sink: Use libjpeg over SDL2_image Laurent Pinchart (1): cam: sdl_sink: Pass a Span to SDLTexture::update() README.rst | 2 +- src/cam/meson.build | 8 ++-- src/cam/sdl_sink.cpp | 4 +- src/cam/sdl_texture.h | 2 +- src/cam/sdl_texture_mjpg.cpp | 72 ++++++++++++++++++++++++++++++++---- src/cam/sdl_texture_mjpg.h | 8 +++- src/cam/sdl_texture_yuyv.cpp | 2 +- src/cam/sdl_texture_yuyv.h | 2 +- 8 files changed, 82 insertions(+), 18 deletions(-) base-commit: 8b02645845bf404fba83910818b285b652f14f89