Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4475608imm; Mon, 8 Oct 2018 23:35:26 -0700 (PDT) X-Google-Smtp-Source: ACcGV60SVKQntreGLCmMOXiJujDXrlEZqtFADhscPj3Qer1shJ06lVG3WeW7/NpceRnPe5ChCcgx X-Received: by 2002:a62:da03:: with SMTP id c3-v6mr29237729pfh.52.1539066926782; Mon, 08 Oct 2018 23:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539066926; cv=none; d=google.com; s=arc-20160816; b=dW51zF3qivrjR0aOOcAgM7SAkLkxWyWBrXHCj3nGi+DwkUASw0Kn23nm83EfM3iZun B8srzwMJqMD2EtTxTt7Vd1wTus4vU+UF40e+I+zlFd8NwfaXrG8Zl9EcDbuP5xF58YR5 Yd5rrQYVmDhxKL6SOTdW4WT8ztH68WH7PVZq2R9uvLe28u6c0KXkASZAYevO3jEyHh+C Kc2VRRM288V6Hl3lvpV64CB1UgStVj/Os/2bqKTmyxSiowdcn4Vg7EDCVeILoXPgkyIR H4FBoSJ+cnQ0vwtgA2hquqxaa5u8pZX+Ldgh6yOmJZxAxkRPLTYBh2OjtB/IDViUAODr 2moA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=oqFttp3uW3gH1nQXDai3reCaE5k+SqDdpDnT2dm9tEw=; b=AjBX92F8V+OdD4HJ/LkAQHpOc6J6PLZZYS13Esk/slW6x04wyeOftA1zZ5xu8OU8d2 3LqsN8g+fxjJP09IA7xQQQ1WCe6f/FKGrAyvs7MqapBJHai0Fmswv9tUqdDj+5EzqObr iOTXrWFGtHcdL6JTshKs/B9wd3GwnhYC+lyVDiVKo3vInIlBFWu86pu2+cMNeXZdSC40 yoDZ9l7ioW3nMWOjE2OKj1JimT5u5z9uyhSlldaF7rfEhxcrrYVDaiA1CfNtgnQiZF0I +Ds4glqaNo/KFu2TfLIS+RAm6ZAde8dIQWfX+gc45YkrLYrL6bByz/GnZPY2MdjuVID6 K5Aw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d92-v6si21124229pld.75.2018.10.08.23.35.12; Mon, 08 Oct 2018 23:35:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726718AbeJINtY (ORCPT + 99 others); Tue, 9 Oct 2018 09:49:24 -0400 Received: from lb2-smtp-cloud9.xs4all.net ([194.109.24.26]:60493 "EHLO lb2-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbeJINtX (ORCPT ); Tue, 9 Oct 2018 09:49:23 -0400 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud9.xs4all.net with ESMTPA id 9lafgWJsxSskC9laiglPj6; Tue, 09 Oct 2018 08:34:01 +0200 Subject: Re: [PATCH] media: vivid: Support 480p for webcam capture To: Keiichi Watanabe , Mauro Carvalho Chehab Cc: Kieran Bingham , Linux Media Mailing List , Mauro Carvalho Chehab , Linux Kernel Mailing List , Tomasz Figa , Ricky Liang , Shik Chen References: <20181003070656.193854-1-keiichiw@chromium.org> <20181008140302.2239633f@coco.lan> <00b0a8af-b7a5-cb49-0684-0fd0efefa196@xs4all.nl> <20181008152348.7ef6d77e@coco.lan> <931ca67d-3ac6-afc1-f933-c9733d561767@xs4all.nl> <20181008160029.1bd1f5a8@coco.lan> From: Hans Verkuil Message-ID: <609798e1-ab23-75d8-ddc2-40fe55cb85d3@xs4all.nl> Date: Tue, 9 Oct 2018 08:33:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfHIvX00Rs3NmTaxNLgo+Mr+F+0Btc44mvpFREO6AZMGqGFlruIZxSodfVBEISv1b59PfOy0H/ElfSAIlU7qR7ZDnjtp+Xj1kGMOx2o2vqD/NgLsAMH+G XaEbG6Uf8MtR3UcvVgV8ihQTyRzVaWYDJrxx06DIITjEjjguZp2mZ7niLKttDNDaJ+ruEyPVqknfx8X4MkLM5Ub7zPQUulWJODX2sTC9kdu1YvsI68g1pnNv IRUObzQk4oueLiP98NTD01Ip7CO3+Z/+p6d2Zc+2V2Cjg+QiixDzUMZCR5hK8YJsX8QIsQckfTXmq6k0zpVyqtuvs9gvGq7kCWcz6AYrU+Zk6xSsRsvEYG0J Hso22uXL+++jTYLq6hk84tHRsIpGqPlImRidZqB+RcXnG+3h8cRaYYVNwE19A8S4mGp643OiVTBpnU6kVW8VMoCSZzbx1XOLG/YbtOEOQq4POfeUvu8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/09/2018 08:01 AM, Keiichi Watanabe wrote: > Let me back to the topic about interval. > I'd like to send a nex version of this patch to avoid duplication of intervals. > > We need to choose two intervals from the three options: 1/20, 2/25 and 1/40. > As Mauro said, we would want to have 2/25 for a fractional rate. > Then, I think adding 2/25 and 1/40 will work well. > If it's okay, I will send an updated version. Fine by me! Hans > > Best regards, > Kei > > On Tue, Oct 9, 2018 at 4:00 AM, Mauro Carvalho Chehab > wrote: >> Em Mon, 8 Oct 2018 20:31:10 +0200 >> Hans Verkuil escreveu: >> >>>> (gdb) list *vivid_fillbuff+0x1e9b >>>> 0x1936b is in vivid_fillbuff (drivers/media/platform/vivid/vivid-kthread-cap.c:495). >>>> 490 ms % 1000, >>>> 491 buf->vb.sequence, >>>> 492 (dev->field_cap == V4L2_FIELD_ALTERNATE) ? >>>> 493 (buf->vb.field == V4L2_FIELD_TOP ? >>>> 494 " top" : " bottom") : ""); >>>> 495 tpg_gen_text(tpg, basep, line++ * line_height, 16, str); >>>> 496 } >>>> 497 if (dev->osd_mode == 0) { >>>> 498 snprintf(str, sizeof(str), " %dx%d, input %d ", >>>> 499 dev->src_rect.width, dev->src_rect.height, dev->input); >>>> >>> >>> There is a bug with hflip handling in that function. Nothing to do with the >>> resolution. I could reproduce it by just checking the hflip control. >>> I'll investigate. >> >> Ah! Well, as I said, I got it only once last week while trying to use >> vivid for some event racing test. I didn't have time to actually >> seek. On that time, the bug only manifested when I changed the frame >> rate. >> >> Thanks, >> Mauro