Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp535842yba; Wed, 24 Apr 2019 05:41:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxy5WEkCV9Ym2Z2d+kwsgLK0yyZ06dNwU3NBivNoKFO1IFdjr3q/9YzJxHssMiSxTr6Ua2z X-Received: by 2002:a17:902:1c9:: with SMTP id b67mr32738740plb.158.1556109700012; Wed, 24 Apr 2019 05:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556109700; cv=none; d=google.com; s=arc-20160816; b=xpoml2IV97Zn5LwZ8t5tgaTWBnfRJuBnzLvl7zKlNO02bwxtnbT+806+FrTZrAVb4u uf+JZbgqRT3OszwhbEEJu9Xwp/MvM0w5oQP9+cB6ix2oobHF198Dpqd3N46bjasWTvka 7ogD0Ddbbg6M9RoQhQsyg+VbiNtxxzHaGVnI7935mc+iFdDuPr3SWVrbcd/rZpi3pAds qFXHRIuQil0r1mN907EFOKwL00go0c3UkufmXg0kozSb7daPkeYfPwBqM5u9guAVem+9 plYYLTtWGUHUELmTtAC+wUXH+f5lHLZn8yTXi3yM7nW9TB9tul94wlaj2QaPKLM4a23l vMYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vyXfa149xflFPUebzbBDNz6s0lUGYHuiRaKn3DL9Cs4=; b=tenIaNG+c7XG1KmDpgDJ9gJ0lnSE2lUfhYHsiCJD42QD0mfmWILN5O7apDkMQ1oh1y osqA7Zwf9HgEydksmeGCxAt4wn++E+GQH2pmshrxxJW3fdji81UGxtggV+VrIgyyU/PE IV8YAVmggccKg/CASbSe7Jy3Kcpx2e9WxsVjEHaHFKtFHnd8Gt7zfcZ3a6iXHMjHcu1E QWOCeHDqyHuiN1NC+8e5KsbCUiX7escbDf5u7NlAZYgSRonL8e8Tt7x+7CbKRraUAC0o 8PuSq5/AicyjTN45oCaaZlT4HGaHglaZCdAIUyv9TkuL6OEA4WbYR5bhJQc0IwQ5DmNR TRog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VTntqaoB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn4si14810589plb.386.2019.04.24.05.41.24; Wed, 24 Apr 2019 05:41:40 -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; dkim=pass header.i=@chromium.org header.s=google header.b=VTntqaoB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730247AbfDXMjg (ORCPT + 99 others); Wed, 24 Apr 2019 08:39:36 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:33138 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfDXMjf (ORCPT ); Wed, 24 Apr 2019 08:39:35 -0400 Received: by mail-oi1-f193.google.com with SMTP id e5so14137685oii.0 for ; Wed, 24 Apr 2019 05:39:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vyXfa149xflFPUebzbBDNz6s0lUGYHuiRaKn3DL9Cs4=; b=VTntqaoByvKi4O60oIfPkpb91X5rmSYz9Q3BhXE8h28107pN+W8kpnWHQzAQvNjGGA dOaI53lntSNvaer6TNQoqeJ2F4Ndqc8MFoPtG2wlSgCudqwqV3IlAvpKqQX51IessjEv RUr9Sqsb6/x8EhdRucXIiWJkBWPL0NRKRkUn0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vyXfa149xflFPUebzbBDNz6s0lUGYHuiRaKn3DL9Cs4=; b=jUYpjVrxw93FPGCthtcFNOcH1DrErNiE3vDYV6t1AwYCXpmQ1FiCShvFsmeWPchmX4 UZQeVmBxG9lemfI9QR+DPsfgxPZpawkMictdODQuD1OMO+2Enr0LY+nQcgIU82YehdJF PuhS3LVwmEB6PJhV93e5tqz11nNOu7qmkAwoQBPZ86cwBBmodlhm+lmZ993gfnY4f+B/ DgcBXqdYepJY3m5+pwmLwy48kufYo9jF69ZnyorgEKJnLmYuq3EGl5l07kqGHQtc1bmc CW480J0qGOZxVykkkKoIJY9McigyvBC5+hjKZuT3Ki6koCDE0QPcEI2pitpx2ErXM5T+ MhIQ== X-Gm-Message-State: APjAAAVKtxFwkwOU1v9SoKVFqxDdWDJCqqbjiPLxwL5lbwD2l54Ay3I5 ddl9PT3e1/q20gsKglvpFxn/qyEJDbQ= X-Received: by 2002:aca:4987:: with SMTP id w129mr5360246oia.33.1556109574444; Wed, 24 Apr 2019 05:39:34 -0700 (PDT) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com. [209.85.210.48]) by smtp.gmail.com with ESMTPSA id t24sm7477789otk.16.2019.04.24.05.39.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 05:39:33 -0700 (PDT) Received: by mail-ot1-f48.google.com with SMTP id t20so6523649otl.5 for ; Wed, 24 Apr 2019 05:39:33 -0700 (PDT) X-Received: by 2002:a9d:6f90:: with SMTP id h16mr7097977otq.152.1556109572667; Wed, 24 Apr 2019 05:39:32 -0700 (PDT) MIME-Version: 1.0 References: <20190117162008.25217-1-stanimir.varbanov@linaro.org> <20190117162008.25217-11-stanimir.varbanov@linaro.org> <60b3efff-31c1-bc04-8af9-deebb8bc013a@xs4all.nl> In-Reply-To: From: Tomasz Figa Date: Wed, 24 Apr 2019 21:39:21 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API To: Stanimir Varbanov Cc: Hans Verkuil , Linux Media Mailing List , Mauro Carvalho Chehab , Linux Kernel Mailing List , linux-arm-msm , Vikash Garodia , Alexandre Courbot , Malathi Gottam Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 9:15 PM Stanimir Varbanov wrote: > > Hi Hans, > > On 2/15/19 3:44 PM, Hans Verkuil wrote: > > Hi Stanimir, > > > > I never paid much attention to this patch series since others were busy > > discussing it and I had a lot of other things on my plate, but then I heard > > that this patch made G_FMT blocking. > > OK, another option could be to block REQBUF(CAPTURE) until event from hw > is received that the stream is parsed and the resolution is correctly > set by application. Just to note that I'd think to this like a temporal > solution until gstreamer implements v4l events. > > Is that looks good to you? Hmm, I thought we concluded that gstreamer sets the width and height in OUTPUT queue before querying the CAPTURE queue and so making the driver calculate the CAPTURE format based on what's set on OUTPUT would work fine. Did I miss something? Best regards, Tomasz