[{"id":24423,"web_url":"https://patchwork.libcamera.org/comment/24423/","msgid":"<165995181748.15821.6972354392113789284@Monstersaurus>","date":"2022-08-08T09:43:37","subject":"Re: [libcamera-devel] [PATCH 0/4] cam: Add support for NV12 in the\n\tSDL sink","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting Laurent Pinchart via libcamera-devel (2022-08-07 03:17:14)\n> Hello,\n> \n> This series adds NV12 support to the SDL sink in the cam application.\n> There's not much to say here apart from the fact I've successfully\n> tested this on a RK3399 board. Please see individual patches for\n> details.\n> \n\nFor IPU3 (SGo2)\n\nTested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> Laurent Pinchart (4):\n>   cam: sdl_texture_yuyv: Make line stride configurable\n>   cam: Rename sdl_texture_yuyv.{cpp,h} to sdl_texture_yuv.{cpp,h}\n>   cam: sdl_sink: Support multi-planar formats\n>   cam: sdl_sink: Add NV12 texture support\n> \n>  src/cam/meson.build          |  2 +-\n>  src/cam/sdl_sink.cpp         | 28 ++++++++++++++++++----------\n>  src/cam/sdl_texture.h        |  4 +++-\n>  src/cam/sdl_texture_mjpg.cpp |  4 ++--\n>  src/cam/sdl_texture_mjpg.h   |  2 +-\n>  src/cam/sdl_texture_yuv.cpp  | 31 +++++++++++++++++++++++++++++++\n>  src/cam/sdl_texture_yuv.h    | 24 ++++++++++++++++++++++++\n>  src/cam/sdl_texture_yuyv.cpp | 20 --------------------\n>  src/cam/sdl_texture_yuyv.h   | 17 -----------------\n>  9 files changed, 80 insertions(+), 52 deletions(-)\n>  create mode 100644 src/cam/sdl_texture_yuv.cpp\n>  create mode 100644 src/cam/sdl_texture_yuv.h\n>  delete mode 100644 src/cam/sdl_texture_yuyv.cpp\n>  delete mode 100644 src/cam/sdl_texture_yuyv.h\n> \n> \n> base-commit: 26c82ce13697e1af5950f4935ecff83c6453f351\n> -- \n> Regards,\n> \n> Laurent Pinchart\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 68549BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  8 Aug 2022 09:43:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D077B63326;\n\tMon,  8 Aug 2022 11:43:41 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1032B63326\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  8 Aug 2022 11:43:40 +0200 (CEST)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 90FAF481;\n\tMon,  8 Aug 2022 11:43:39 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1659951821;\n\tbh=1BlysXgxquryQvsLZhy4DLfSr5zqR+/6iC8iaZfqZlA=;\n\th=In-Reply-To:References:To:Date:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=AbKQ4AdGOpIOSdnUoK8nXCaTHjYFn8lFDuFkC9o5ND5xWYkB4fJZxKQucLC+Awk+O\n\tK9N7R5stdtUn37m/fEdEk+5+lZ4Bwld8rDK9+HxL3viVzEYavsH8KnH9/rxiq3tdGa\n\tQyFtryht3KejWLWj765RZOz/LKusM3hTPFqY1YcXUAhq82j+/7RoxDRRSiIkSG4p9I\n\tcKKsBaNfXV+SwiBrX3pSRvAbwhDnCENXloHAtz5xTQK1DB+CAUdoaQo6Lz1tp7R+TR\n\tk5OFxz0JdF7cZ1EW/Q+UZgz6bxxjSQnczPiPUWt+5IrpXFV51GZYtDmyrtdvstWqGQ\n\tht0YjREQMzzvw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1659951819;\n\tbh=1BlysXgxquryQvsLZhy4DLfSr5zqR+/6iC8iaZfqZlA=;\n\th=In-Reply-To:References:Subject:From:To:Date:From;\n\tb=mOY7QJFIe/9ML6XtKm7UC27eeBKI5124h6zb2uhQLSB01GHOXvRlQWjC5PDA9iLhJ\n\tuQJsUc9S1icRiflAY/JDj6Sl/sZAwwTe/th5eWmd7fyK/smH2lSBzX4+ObNnmOI/L6\n\tgamlt2pnih5LyUJuStGey/QWpHgthE16C0Dz1WMQ="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"mOY7QJFI\"; dkim-atps=neutral","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20220807021718.9789-1-laurent.pinchart@ideasonboard.com>","References":"<20220807021718.9789-1-laurent.pinchart@ideasonboard.com>","To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Mon, 08 Aug 2022 10:43:37 +0100","Message-ID":"<165995181748.15821.6972354392113789284@Monstersaurus>","User-Agent":"alot/0.10","Subject":"Re: [libcamera-devel] [PATCH 0/4] cam: Add support for NV12 in the\n\tSDL sink","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]