Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp426555lqp; Thu, 21 Mar 2024 05:49:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWvo2h1J8yWoG2/MXNwEL1wBfkCKi4Z4rhutW7ziRWA4K7AyFvualxaatXtk6oiBloWBU8k7VQw4KG04OFq0ASdmNvUVqEZLIRJIraTxQ== X-Google-Smtp-Source: AGHT+IHX3mQCDaIq+I7wByZb+h5Q8c47TUDuocEHKWXkhldowUrCgW/6IrifXEyrfIGGULl9C/zC X-Received: by 2002:a05:6214:48d:b0:696:4c68:4e15 with SMTP id pt13-20020a056214048d00b006964c684e15mr3918210qvb.30.1711025381668; Thu, 21 Mar 2024 05:49:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711025381; cv=pass; d=google.com; s=arc-20160816; b=RtjehRYxJlGnvSMlmhq5RDN/8lJk/rGsEzrp0EdCdw22rsXG+bOGIO5RwKQm5ngBOf iKxU6hIOa0FcbBpL8ViOXPQCENzN5+Jmp29xUFmIgBlAIv4mW9zGR/QBoEZo6Tl+20ZI R1LcTMLI/Ge09v5VyFPZrIjDNifIpKJk5+DXd9WLi9ZV9xGFXHUm1BF/oIBHed9uGe45 JquQ/QdbHopuppf5dorRNMNxdXUS3PeOZp2N/3BNzHDgjxFrOXGwtfu4SU5LACc74sLK FqQzE6c6UjrTIeJ5NBftFXjBTkdwTl6CIC/4WiMCdVqQYkrho0MmUjLpvgKitR6L3FtK txNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=u7TVix6fzVa1LD+C9eeevt1/D3sRF6f0T9zvMAegJrE=; fh=NDAKtN/9QOg0nI8Gq8+dnXKtBSQdlT3fxnVBpAXAzW8=; b=Kpqz7ew+7gDSa1FnXL18nWVv2IZRwVI4zdZkykhlJnmkTYORuBSAilxOdqDKSHWL6+ qDyVKThj2+RmryvYmYRnqyLjz0Ae/D7t1aTIK6WFfW2uemluisP+cMYg6VsW2Pgh8u99 WnQlKe6+pz6jEXhmi+KfzOo1eGUHfrBQRI8opFQO9RQD0JqDAV+djMdGcahVSOrUCq0F azfEcNsCV5w58eizzE9JKA3B144L2sGqMy8MBxm1J2+vDVYls/HuM9gPNyU0Ehh5R3jP ZcRAIf6Ml2c8YQbCOEU9z7wJiToQJpMXpfRYh8ocPpBHnBV/1QkCpX00qo8XseBT2toF XdCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-110051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dv10-20020ad44eea000000b006961c9b932csi8582586qvb.445.2024.03.21.05.49.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 05:49:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-110051-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 528FA1C21ABC for ; Thu, 21 Mar 2024 12:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5B1883CCD; Thu, 21 Mar 2024 12:49:30 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 595F43717B; Thu, 21 Mar 2024 12:49:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711025370; cv=none; b=s67l69mQlYtIPM4aTN7j30loHKKVZj5D+QE5JMN/2bKAqN1VoJYl3LBCE47NbtrUY/+vatHtBqv7+FJp0/5S9RHEy9Om0+sdgvaqQiIq4Pxt8sG2mzMtj9JEuI79fUR02t1XcQw2cm1GzKZdq1mUP5bkkH7FGXKE5v723PV78zE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711025370; c=relaxed/simple; bh=6Vej4cpwmjyLizSNv2zTuiYPa3uTC+licjVz4+pju8Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C2dauEfdNVdBFr42MYznkrE0tnjakgIeKpLiP8/tZ4c27/m4TLR34Hnn9rLH3i011Kvs80NFWMQjf/YhSw57Vbv4ps6IsFQQAuSKlNyXmY4wGjpwn4Wu1Wdk4zWwiL9elwKqB7bfErjFT0s4HYTQNQsWhY7pwIlc1lCEHCnZXrQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F8E0C433C7; Thu, 21 Mar 2024 12:49:28 +0000 (UTC) Message-ID: <443e9909-7036-48a4-a1ea-c3908263282e@xs4all.nl> Date: Thu, 21 Mar 2024 13:49:26 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: =?UTF-8?B?UmU6IOWbnuWkjTogW3YxXSBzdGFnaW5nOiBtZWRpYTogc3RhcmZpdmU6?= =?UTF-8?Q?_Renamed_capture=5Fraw_to_capture=5Fdump?= Content-Language: en-US, nl To: Changhuang Liang , Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: Laurent Pinchart , Jack Zhu , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-staging@lists.linux.dev" References: <20240301070025.11144-1-changhuang.liang@starfivetech.com> From: Hans Verkuil In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/03/2024 1:17 pm, Changhuang Liang wrote: > Hi, Hans > > Thanks for your comments. > >> On 01/03/2024 8:00 am, Changhuang Liang wrote: >>> The pixel formats captured by the capture_raw video device depends on >>> what pixel formats come from the source device. It is actually dump >>> the source device data. So renamed it to capture_dump. >> >> I don't think 'dump' is a great name. I think what you really want to say is >> 'unprocessed'. And usually that is indeed called 'raw capture'. >> > > StarFive JH7110 SoC also supports the output of the raw format data from ISP port, see: > > https://lore.kernel.org/all/20240306093334.9321-1-changhuang.liang@starfivetech.com/ > > So I think it is better to call the ISP output port "capture_raw". If it is processed by the ISP, how can it be 'raw'? Or do you mean that this uses Bayer pixelformat? The normal convention AFAIK is that the term 'raw capture' generally means that the sensor bayer data is captured without being processed (or only minimal processing). Looking at: https://lore.kernel.org/all/20240306093334.9321-6-changhuang.liang@starfivetech.com/ I think you indeed mean that you can get the processed ISP data in bayer format through a separate video device. So I would call that port 'capture_bayer' and keep the 'capture_raw' name for the port from the CSI receiver. Regards, Hans > > On the other hand, Old "capture_raw" video devices can also support YUV color space, > mainly depending on the camera output format. There may be a confusion called it "capture_raw". > > Regards, > Changhuang > >