Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp63215ybg; Tue, 2 Jun 2020 16:31:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvqrz2ZiersQvc4J0Ys5Jr7EXjuIe7uLq1b9/bL3mxUl+m0SmJC54018VbG6ZKunAIa3pL X-Received: by 2002:a50:fd04:: with SMTP id i4mr29411410eds.43.1591140715683; Tue, 02 Jun 2020 16:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591140715; cv=none; d=google.com; s=arc-20160816; b=GmZZov8ltkWVGOw2GKgWplWm8oQYBLBxB28qJzqrN119To8bMKb+8WQBmZSatrQ32w rHYDwN5lGSCtUWD7EWjcnSDP1uXW0VTphWdtvbkAB0F1ZIz+fQNEwBESgsD0O59ZpTo4 7UariX/a2Cns1IVD2YVP4mV/55otIYg94AJnnFSrG+6JkB4AreLjgstuy3x8ZtLbxDKY Jkxn7F0vxqQT85A/TT4GWbKpvFplEZ8iHTAffObT44Mm/BbWitPsOGa3HXiztj9nSh14 ZuNjcjgzjRFkl7zRC8Ybu8IzQ36zYA8BmZE0W5GQ3VkQ1YJFilbkGexpcFrip5WKilZ2 NAwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lBCUtNBXyE7d+Y73pUYC+VMq4lxOMsLUhM26dVWO+C0=; b=g2KKd4mrOOtoydIrXFlxXwCBY+egyCLwsGIlOLs3tI47pUZYekW7UtV4KI69AdJWLf EnA33GFcAPEEoB3QYLFswNO94sSfkzDd+qp3Z+Ih1mxPqmkRvlj8PqLKULnlxyHw4XPg HxWrefV8KZT7dQCoMIaHWYSVxb8Vboxz2CYZAdDHLuEQGO9niGfmG1kg6i5/FcBwL9ll nZNssLtKZUgPUNWIembjVdSc6mDQXOSuO9mA3XnHUHnwz3FsXbvY7KIjwxbzHhSu6iOK CSISnUsgF8QtC81PD4fBItlNkHZYLx4kj3gAI1Yutb9QwVT1KITWWbrTFPx/T0FnDnYT XIvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Qfet7hoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr4si246054ejc.239.2020.06.02.16.31.32; Tue, 02 Jun 2020 16:31:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Qfet7hoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728402AbgFBX1C (ORCPT + 99 others); Tue, 2 Jun 2020 19:27:02 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:38126 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726589AbgFBX1C (ORCPT ); Tue, 2 Jun 2020 19:27:02 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 206442A4; Wed, 3 Jun 2020 01:27:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1591140420; bh=VumH+P4JzJKXTE/EJbY3up9YLg/7/l8XzAp6tqchldA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qfet7hoPSV8ga3ygXLmLAXKcfVYTKOvCccn3qSAkG3UmhSizwMkZycsJpYb1SzYdP fbOUr/Fvrp+A+DB1r0CkWgxNgQqNmJHxdIAEvzRC0ZBu9rRfPVWPCaa/K1p4WMsYiI 6alkxnjCJCVC5qE1beG5ISCtjbZOYY9g12wLWdgQ= Date: Wed, 3 Jun 2020 02:26:44 +0300 From: Laurent Pinchart To: Helen Koike Cc: Kaaira Gupta , linux-media@vger.kernel.org, Shuah Khan , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, kieran.bingham@ideasonboard.com, Hans Verkuil Subject: Re: vimc: Add color descriptions to test image Message-ID: <20200602232644.GO6547@pendragon.ideasonboard.com> References: <20200601135339.GA16606@kaaira-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Helen, On Mon, Jun 01, 2020 at 01:36:59PM -0300, Helen Koike wrote: > On 6/1/20 10:53 AM, Kaaira Gupta wrote: > > Hi! > > > > Currently there is no method to know if the test image generated by vimc > > is correct (except for comparing it with a known 'correct' image). So, I > > wanted to investigate about a possibility to add text to each color bar > > of the generated pattern. I think currently vivid supports this > > functionality as an optional control, so can we move it to a common > > platform so that both VIVID and VIMC can supoort it? > > If it is useful I don't oppose, but I'm not sure how this is implemented > in vivid (or if it is in tpg). > I guess it is easier to judge from an RFC code :) To add a bit of context, we've had incorrect code in qcam (libcamera) for months, with the RGB and BGR formats swapped. I never noticed because the test pattern doesn't immediately appear wrong when you swap red and blue. Adding text in the colour bars to tell what colour they should be would help visual verification of the pattern. -- Regards, Laurent Pinchart