Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2374253ima; Mon, 22 Oct 2018 08:44:35 -0700 (PDT) X-Google-Smtp-Source: ACcGV63+c0GADeEEd56QJcxvQHKi5iMmb2xmp2bMEpo9tiyWhs9SKG6fT94lOVJeFk9NNoiOfrkF X-Received: by 2002:a17:902:54d:: with SMTP id 71-v6mr37726104plf.80.1540223075771; Mon, 22 Oct 2018 08:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540223075; cv=none; d=google.com; s=arc-20160816; b=BJE+BQct8H5LdxLOLpH7lXZzjqioEB+/vIAfUHQ/iHU79HAH6TyCx50NM/3SssZlfI DFGVDAGZfRXs41B9AV9ZCGZ+QCRkNNWxw64lXljPpOyY46szn97v67rXa0Q2VMtwgt2m HhCP4nQZ+PKxu8oW3FRA1MNVfjzVRZ++hfTahxATNxjEAZQyc8/3sbnmBz9pBrPCXOcW LaXQh/g9wRnPVns0QrfHHrPooaFDyrZlm0nFV7j+Y2oQYdrItwRNzloj4kJAiO0cIySU GdHNbq+7T48+dwMSBmI1VaooBzD7E8cNzr5ZBgtGT44SOTTGafNngPV+phFnrb1KTjFr blsg== 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=+el13N8w321HugQn3EhhDKgiLkOn3ZbjJrh8BR944oM=; b=PclzAkq4Bb0ij9Ek0xdIMq7LPCcjogQSLrylwbZ4FzOQ3h2nTZY4mj6MQygo3DW+Cw Q+DGkQcdq2djgM/cbnVvcbqNdJ78bvD9cHbQ7bp1x5BAKcEd638dDArPYms06OvquqSY fbCl3pL6U8ssIRKVNTM5m4SimQZnbeXtD9XzFcqZf63zniF+cyl7DWugb6kZE/UvtIaN qPR9mQoUFtj2LIqmcc+5MRd7oFWraLc/bnPS3h2OrgV4H5YdlFLLkcVUQEGrvbIG6pp6 Zn78WCDXchb8LTOASPf0e08FFsglFARyZN/84sSkhydNLj9KNV2/WCARe03gMOaTCmiY IBXA== 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 i23-v6si34204561pfj.269.2018.10.22.08.44.20; Mon, 22 Oct 2018 08:44:35 -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 S1728444AbeJWAAt (ORCPT + 99 others); Mon, 22 Oct 2018 20:00:49 -0400 Received: from lb3-smtp-cloud9.xs4all.net ([194.109.24.30]:34211 "EHLO lb3-smtp-cloud9.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728172AbeJWAAs (ORCPT ); Mon, 22 Oct 2018 20:00:48 -0400 Received: from [10.101.224.151] ([185.7.230.214]) by smtp-cloud9.xs4all.net with ESMTPA id EcKjgwuUoSskCEcKngRKVE; Mon, 22 Oct 2018 17:41:45 +0200 Subject: Re: [PATCH v2 0/2] Document memory-to-memory video codec interfaces To: Tomasz Figa , linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , =?UTF-8?B?UGF3ZcWCIE/Fm2NpYWs=?= , Alexandre Courbot , Kamil Debski , Andrzej Hajda , Kyungmin Park , Jeongtae Park , Philipp Zabel , Tiffany Lin , Andrew-CT Chen , Stanimir Varbanov , Todor Tomov , Nicolas Dufresne , Paul Kocialkowski , Laurent Pinchart , dave.stevenson@raspberrypi.org, Ezequiel Garcia , Maxime Jourdan References: <20181022144901.113852-1-tfiga@chromium.org> From: Hans Verkuil Message-ID: <6621f3b9-a5a0-d33f-306f-d405db34da2c@xs4all.nl> Date: Mon, 22 Oct 2018 16:41:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181022144901.113852-1-tfiga@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfOWJpmC70DmdV61HPzqO1bMfsTX7BtsIQc0LflB+Xv2HFkNAG7K+XkBF/m1H/NzSzvJS+c6YBXkVhzmvfPj2eMCYccrldCgByYkGi4/dsUWPlnVwh6Pn 7qxx2ibOAli4KpK03yc/ESM3rxxEC31J20WisVUCHdKLbjl5COlJ94/HsR0uFq7Wxe4lSlGCTrZl4p4kxMRRcbkxTXmgU3Be4dTwpC94+jIKOZ87von4YDJj NqtMKsuPw0Q8wmvQimu1981jPPYnEjAO4Y0N8gilN8A6K7i97OYsLwaO+HSlCbgb9yVlOH4Jehz+4/r9f83YMJOy53ZiRO4YjTmYGIicgpd/+x6XoBQuK2US h2xaa+KtaJovZHduwu8mKe9LJRreOhoKZB7zMA+3qhwav27v0jN3mK94XPea6/EukMLIVgYNrR/rNR5hxaaCKpSznc+uSpH0SSljGG9tUu/cctdvt9DsuDVQ VXkAACAMxWlSqHGz6nz+wASvM0ARvuQmru+vE62aqlo0SCf5oAJqkayluuUQhKSEsKGvLUNNHd5BEvsnK/xvWjJKcAnbGwUvQo3YVfYLwdgu8Mkehludiszw qovM378BDZj8qjza34ZLi+G9rkA6kdGeRveG7OOwWUN4Aot0nJwD89nNcEfZTh/oTR/SWTKFBmPbkUroL1q/b8gDIzfBVESzZP9UqS0CL7c73hJavOVio4ub jgglTxP1fFoCmyTaSDZbLEBP8ssyrf520D8ysKT1LylVatki35Ha++/5jV85FZjDCcGES2qNa/+kkkAXD+UQabyoczvLgrM+uTs2uuKfKMcCfVB0fmSYjQYV /KsoYzD0V8euXKos6DctwY2AadsqJhHAFd+zlopkCaaYs+M+AHcBQ3D9HmFFuY3aWtef8SqqHST9JC0E8I4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 - 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 - 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. 2. Any ``OUTPUT`` buffers queued by the client before the :c:func:`VIDIOC_ENCODER_CMD` was issued will be processed and encoded as