Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp965158yba; Wed, 24 Apr 2019 12:34:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVrC1x72jn8MKIraBMV0yRbfMRzVQBnQm0U0uyD2rYz0tHgkyFW53ART/7sGsQ2qAzeH2P X-Received: by 2002:a65:6105:: with SMTP id z5mr32749117pgu.378.1556134478939; Wed, 24 Apr 2019 12:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556134478; cv=none; d=google.com; s=arc-20160816; b=vPl8aZ/1IeU1WnsnR61wwbhkPGeOqDicMqV0uHzOdWpgKhLcGxBcpEJU88LvfM0j1P pbrS/JKXcnhHyEpeQzI7l1ECL8BFT0q2Br5y+KIal+ObY684TLKkqjTp1gmu/44vxXPq U//6E/uq4Nf+urtuMhOjTaS3bv6yYTxShIa5Uf5om4hlrrRH/AoFPioIq0wwZOKXtaNw vtHtrjHEFUlTs0wBAAHlW+ugb2RWdiB1aYA0eHWl8LNF9TopSPaiMmPHdCYT+ujyuVWl sbTwyaN7vqN7ow79UpDXB5wz2YH754J8a+raPQLuaNe95pz9mtsybABudL72Hfs8Ty6d Sw6w== 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:dkim-signature; bh=1BwZFno63wZytLE3xAp+LLjJ3VbyMrFIKeO69px4b/8=; b=StK87puv1HTt5NecACjU8voutqEhEqOX5+XvoP+DtGH1WCZZTrpCygaRHNwdrLP6DD WawPvcgEhdbzJHW3rIz46QC28hGYr7mPN7w9ou9pYgLQsAycALh9YH1+W3GXIHSMjRrH K3YLG7S0J5lDGF51667i6ZneStrIoWCRL7GxdTGQ43Ga6Hptpbolc5Al5fGB5Fq67u3O uZ8FhN8Hy0tYj+u6eWzfpj2T6rHatEeb+PD8NKnoTqbtb6O9nvclfj8oSC2TPWCTfDKD Nm5qV8RRsGiG2teHuoiuwChGeKT81NIERDALrW4MrgJvETIFWv+GMhE/CrGm5DibT7Gg MerA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SM0gvU5X; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf15si20417858plb.359.2019.04.24.12.34.23; Wed, 24 Apr 2019 12:34:38 -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=@linaro.org header.s=google header.b=SM0gvU5X; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728515AbfDXMPt (ORCPT + 99 others); Wed, 24 Apr 2019 08:15:49 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37370 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbfDXMPs (ORCPT ); Wed, 24 Apr 2019 08:15:48 -0400 Received: by mail-lf1-f67.google.com with SMTP id h126so3838561lfh.4 for ; Wed, 24 Apr 2019 05:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1BwZFno63wZytLE3xAp+LLjJ3VbyMrFIKeO69px4b/8=; b=SM0gvU5XI0ur7wcJDLik+s4+K5IqC4FF6GWc++RcBTnJpAZOMeXI0JLiX0jnlHS7SR VEtwA7+RDJAPhuicFR00DMyDnFOGO47u3oMPts2zih+xC56o7yLpVTJ+tKp6rkXtVsev 8xNrL3gtr+dtpspoRXPuiXkKNEtS1FtVo7ZsdTfe/4zd95efp6pgcS7zJzOe6pu9rz5E v7ICLaRm7lNtrha3hFZcuGfVQwe/K4M0AI4lye6T+qyvKdfw/3W35YW7zh2KG2Xj5jD2 A4bm+fmsOy0rbxLe0ZTl/QlTkKYOXkcLiVasTR5n0xA5JBF5gmAvHay6roFnYpGaEINC 1pmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1BwZFno63wZytLE3xAp+LLjJ3VbyMrFIKeO69px4b/8=; b=GxteKoalMaJDy2s/iLq7Vy6N/pPZxIcv86Yqx9CgIB/gw3CqcaxGPw2LmfrJwHOeFj /F/vkzgV6zZfqveZi/wUiYrWfOEqHDiEPoh37rSmA17aYT7w91nnit87UzgjnEJGB5uo ipQYXfDY+i0hWlaRKFm8NgcLxo4PKp+zyCnIBnV5mydadPPZ8fSQF0Q/q4gXMWx191b+ QU0ewy3pdY42qH7g0ybTtFaqDc5b4yzhFz4uWvQXNdkfLuGhdBFp5LMcwzpEv/TmbwCY k/z4RAWr+Djrg7pRTYF1bjQnZMjTqd2fIaxWfGZwDo++v/sKo5bPFFhyOrwZ7tl7h9St dazw== X-Gm-Message-State: APjAAAWp2L8/4VTnXOddlYWGTNww2cTXASI6QggMik14bkBRdVDVbLlU J0WieR2NWETR9GGaNt6c2YOczg== X-Received: by 2002:ac2:55b2:: with SMTP id y18mr18132853lfg.133.1556108146855; Wed, 24 Apr 2019 05:15:46 -0700 (PDT) Received: from [192.168.27.209] ([37.157.136.206]) by smtp.googlemail.com with ESMTPSA id b14sm3995192ljf.53.2019.04.24.05.15.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Apr 2019 05:15:45 -0700 (PDT) Subject: Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API To: Hans Verkuil , Stanimir Varbanov , linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam References: <20190117162008.25217-1-stanimir.varbanov@linaro.org> <20190117162008.25217-11-stanimir.varbanov@linaro.org> <60b3efff-31c1-bc04-8af9-deebb8bc013a@xs4all.nl> From: Stanimir Varbanov Message-ID: Date: Wed, 24 Apr 2019 15:15:43 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <60b3efff-31c1-bc04-8af9-deebb8bc013a@xs4all.nl> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? -- regards, Stan