Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2858179ima; Mon, 22 Oct 2018 17:55:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV61afiklbjfjM+MYQ05mZMDl/47y5cNYIhK3DFNrWozC4Co8nsu3yQe0e4kisWFmTr9qQgm2 X-Received: by 2002:a63:1f05:: with SMTP id f5-v6mr14088862pgf.313.1540256141574; Mon, 22 Oct 2018 17:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540256141; cv=none; d=google.com; s=arc-20160816; b=Hw8aT747iB/7A8ODkjEcln1VRekD0P225yaDHrckqq+pH1jevWqljkeiie2USK24DJ e9lvyY5PSyR46ZY2VwGHisqWGpGnOUI3k0r8niVMhRg40FxhaWbZGj0Dh/whMfGEl5lr +GGjtDp2coqTPsWioUzhmpeqBEqqF7SmMIAKOrDoIsOAm2kq7073jPkhDoBl0/NnP7Ur W3xIIzVSKx7kIMy1mhVGCIs2Lsf7Lc5QLAhgsGGjMt/G3DPcLATvCkQwjVdNzBXzitpl SBE1gCIlvEcpXh9uhnnXx2WJfBhAOOHZNwvYyRMZJL4cE1fvPIcGsFf+bIdYlaTMSaA4 BLyQ== 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=dfX2X77q2dw+FbbfsWQujTDGWrTAq9rDbEu8N4Rjq3c=; b=Y/Y/qi+njdr9BWo5JiEzgKw0QfjjXiYN/Ktz5M1tr+m2OffCRBVlPngxFRGgwJiMDO x7HWHUWjbgzYcFEIkxgS/adRWVzxtdIIQF17lUdTyTFlHPG/RlXuM+x+boHi1WZBNC/f XxsNU16Di1eM5lkddUtSWaeN7NwXFCzKnJsNlPo8AkIeWPESfmY1Kz8klTPQDe3GQ7UY lAjDtmBsHZsafGTXjBHVQ6GQ7LVtwPYdQdng0lzTUpqerk95dTAumpl5wW4VZlug64DY XrNcnSrxp6/jem58+9DZzf24CLyHqQz9cmG34H8kUSqDPI8uQXLc3iL5UzEMwEOPTrI3 GCzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BesW7d1B; 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 16-v6si41618349pfc.21.2018.10.22.17.55.24; Mon, 22 Oct 2018 17:55:41 -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=BesW7d1B; 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 S1727078AbeJWJPZ (ORCPT + 99 others); Tue, 23 Oct 2018 05:15:25 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:39305 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726764AbeJWJPY (ORCPT ); Tue, 23 Oct 2018 05:15:24 -0400 Received: by mail-yb1-f193.google.com with SMTP id j9-v6so128790ybj.6 for ; Mon, 22 Oct 2018 17:54:29 -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=dfX2X77q2dw+FbbfsWQujTDGWrTAq9rDbEu8N4Rjq3c=; b=BesW7d1BQtKlNybl200I+dRl8CguatpNjLhmVwCgoUdR2hPaE96alZneqtHr2XZpBv lWIIg6FUsteOIaozxQooJI7/A/+5MJfL/IS/xziG0V86kUsDq8CiZgadzGWWcxuc6ARA UYzrYtIurJy2DxBBcDkTPV42+qy9z6hgBQXIo= 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=dfX2X77q2dw+FbbfsWQujTDGWrTAq9rDbEu8N4Rjq3c=; b=FcGb39Z5v+gA7x/q+lBDLqcg2xX51GCscYgg3pFcP7N+U+ansh40psPD9zG1NLd4Y6 hAwNtmSv4s1ndkp0Z/blAC4n05otXZ+FntV55sFeP7QqfX7TdUk+TmVAIW11aGUA4p89 l8fDskoxOWOBC9T5cKbz3lOX7L2pz7nGyPrxUl+lSI4hjF2Yy6kpppxlldOr+XkVWHDU 35e9RZnsAU+ARsAfT0ztVrwPrzAbwIJBwLPcdYMTIqdD2jdsD2KjT7HkT1rwbtbhlsQt Hml+uouneVNfRN0SOqhky+xCkN/5sj/WWA0D0YcXdpqXbwXx01PxXwZ7M2lOT1c1DBId 8K8g== X-Gm-Message-State: ABuFfojF3rVP59Wi0PfQBvBkaaFzq35o/0pX6X2HeGsy3JHYwwZsqVNF eHvIpaO/z1mQm8fxgfJY/2X8QPvEAPYElQ== X-Received: by 2002:a25:6342:: with SMTP id x63-v6mr32781803ybb.198.1540256068684; Mon, 22 Oct 2018 17:54:28 -0700 (PDT) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com. [209.85.219.173]) by smtp.gmail.com with ESMTPSA id q126-v6sm8535436ywf.7.2018.10.22.17.54.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 17:54:27 -0700 (PDT) Received: by mail-yb1-f173.google.com with SMTP id m184-v6so5889610ybm.0 for ; Mon, 22 Oct 2018 17:54:26 -0700 (PDT) X-Received: by 2002:a25:b3c9:: with SMTP id x9-v6mr33060125ybf.508.1540256066501; Mon, 22 Oct 2018 17:54:26 -0700 (PDT) MIME-Version: 1.0 References: <20181022144901.113852-1-tfiga@chromium.org> <6621f3b9-a5a0-d33f-306f-d405db34da2c@xs4all.nl> In-Reply-To: <6621f3b9-a5a0-d33f-306f-d405db34da2c@xs4all.nl> From: Tomasz Figa Date: Tue, 23 Oct 2018 09:54:14 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/2] Document memory-to-memory video codec interfaces To: Hans Verkuil Cc: Linux Media Mailing List , Linux Kernel Mailing List , Mauro Carvalho Chehab , Pawel Osciak , Alexandre Courbot , kamil@wypas.org, a.hajda@samsung.com, Kyungmin Park , jtp.park@samsung.com, Philipp Zabel , =?UTF-8?B?VGlmZmFueSBMaW4gKOael+aFp+ePiik=?= , =?UTF-8?B?QW5kcmV3LUNUIENoZW4gKOmZs+aZuui/qik=?= , Stanimir Varbanov , todor.tomov@linaro.org, nicolas@ndufresne.ca, Paul Kocialkowski , Laurent Pinchart , dave.stevenson@raspberrypi.org, Ezequiel Garcia , Maxime Jourdan 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 Hi Hans, On Tue, Oct 23, 2018 at 12:41 AM Hans Verkuil wrote: > > Hi Tomasz, Alexandre, > > Thank you for all your work! Much appreciated. > > I've applied both the stateful and stateless patches on top of the request_api branch > and made the final result available here: > > https://hverkuil.home.xs4all.nl/request-api/ > > Tomasz, I got two warnings when building the doc tree, the patch below fixes it. > > Regards, > > Hans > > Signed-off-by: Hans Verkuil > > diff --git a/Documentation/media/uapi/v4l/dev-decoder.rst b/Documentation/media/uapi/v4l/dev-decoder.rst > index 09c7a6621b8e..5522453ac39f 100644 > --- a/Documentation/media/uapi/v4l/dev-decoder.rst > +++ b/Documentation/media/uapi/v4l/dev-decoder.rst > @@ -972,11 +972,11 @@ sequence was started. > > .. warning:: > > - The sentence can be only initiated if both ``OUTPUT`` and ``CAPTURE`` queues This should also have been s/sentence/sequence/. > - are streaming. For compatibility reasons, the call to > - :c:func:`VIDIOC_DECODER_CMD` will not fail even if any of the queues is not > - streaming, but at the same time it will not initiate the `Drain` sequence > - and so the steps described below would not be applicable. > + The sentence can be only initiated if both ``OUTPUT`` and ``CAPTURE`` queues > + are streaming. For compatibility reasons, the call to > + :c:func:`VIDIOC_DECODER_CMD` will not fail even if any of the queues is not > + streaming, but at the same time it will not initiate the `Drain` sequence > + and so the steps described below would not be applicable. > > 2. Any ``OUTPUT`` buffers queued by the client before the > :c:func:`VIDIOC_DECODER_CMD` was issued will be processed and decoded as > diff --git a/Documentation/media/uapi/v4l/dev-encoder.rst b/Documentation/media/uapi/v4l/dev-encoder.rst > index 41139e5e48eb..7f49a7149067 100644 > --- a/Documentation/media/uapi/v4l/dev-encoder.rst > +++ b/Documentation/media/uapi/v4l/dev-encoder.rst > @@ -448,11 +448,11 @@ sequence was started. > > .. warning:: > > - The sentence can be only initiated if both ``OUTPUT`` and ``CAPTURE`` queues Ditto. > - are streaming. For compatibility reasons, the call to > - :c:func:`VIDIOC_ENCODER_CMD` will not fail even if any of the queues is not > - streaming, but at the same time it will not initiate the `Drain` sequence > - and so the steps described below would not be applicable. > + The sentence can be only initiated if both ``OUTPUT`` and ``CAPTURE`` queues > + are streaming. For compatibility reasons, the call to > + :c:func:`VIDIOC_ENCODER_CMD` will not fail even if any of the queues is not > + streaming, but at the same time it will not initiate the `Drain` sequence > + and so the steps described below would not be applicable. Last minute changes after proof reading... Thanks for fixing up and uploading the html version! Best regards, Tomasz