Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3557861imm; Mon, 10 Sep 2018 20:53:19 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbs/FxFlW23YGhgyU9LvSDfJ27kjzMtguhKM0z3okqkerk9Li+gXvvyljlWV7DgmHosXk6E X-Received: by 2002:a17:902:6b4b:: with SMTP id g11-v6mr22450215plt.19.1536637999375; Mon, 10 Sep 2018 20:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536637999; cv=none; d=google.com; s=arc-20160816; b=i9SA9nbqKFMcxjH6tWPjob3+ljqmGtJ7U1P8U9S1c2z7o7iclk0RUnKB3RDRgHGK/v gSu//Y9sZyooOqN87sro24mGeCUJB5IiC4/OExUl8Yhnf0nPCyGTjs1pJgyI98SXBkWW vxp2dEsoozgVFSp0scHD/oQnzbHE+mwlpmGHjg/KqxZRSZ91RXouWVn3PxnhiItt7bU9 CNLgBY10pWVbC9KOfZ/oFMe6Aa+npUQ+ZINCIJ5/2fEzvxK3rJUIPVyZ80jdHlRpbSkP o/7nmJ6gc+I6ccJwIX7QGPBJwz5aw9vBKDRZYqCVizr0WaCs9IdaRR3PgR0gUjXB/qsR HaZw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=istT2wjiviuI+NO1FLzN8hLHTX87ry+/t9zxJtjij/g=; b=t5vSgubiFuzKPFOAi1qyRP21KOBF1J2KRvYVHxovA671gNwgLji0KKgGEzfLdFYOqw y9MrC9vpLZi+fnWZkzcTXDxr9dirhmGvhJOJ3FvYGLKcd9aOLo1NiMh/2+v+xegDmxmG PceanXvMjCnS4fuH7kBNapngEa4FCFYERZ6diPggQTgBjpEpHqElyFM9KmtCzmgDfvNE Q/rUeJxJCeFfYQjVTB3hKjLzYBd80ADLkbzwiUOEBa8SfA7fluVNHq5E1aIYxyukeO2d 858YwgHTdovmkk7VBxwACYQB51Two+sWDlP7T6KJrNyEhcwxsUUBGJN4/1xPHpWh1fdI cMkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="lLxro/gg"; 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 67-v6si19263485pfc.21.2018.09.10.20.53.03; Mon, 10 Sep 2018 20:53:19 -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="lLxro/gg"; 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 S1726649AbeIKIuO (ORCPT + 99 others); Tue, 11 Sep 2018 04:50:14 -0400 Received: from mail-yw1-f66.google.com ([209.85.161.66]:40480 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726301AbeIKIuO (ORCPT ); Tue, 11 Sep 2018 04:50:14 -0400 Received: by mail-yw1-f66.google.com with SMTP id z143-v6so8691875ywa.7 for ; Mon, 10 Sep 2018 20:52:58 -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:content-transfer-encoding; bh=istT2wjiviuI+NO1FLzN8hLHTX87ry+/t9zxJtjij/g=; b=lLxro/ggYoreTi13tEvZUS0ISldrHlz6oGCtKE9O/uQSs8kMLFsZxKiWhtGdZIzCoN /xFa1UMsSuSO8s5e9lx3PnR/cIFfdQZ86q9UMhP64Hz/2s33IbL+cuMTfmDJG0u8ybUv z4LiREeJgfEddL6f7Aq0e9e1bANehMdwPUaOg= 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:content-transfer-encoding; bh=istT2wjiviuI+NO1FLzN8hLHTX87ry+/t9zxJtjij/g=; b=K+rurct9hkzDKIAmAzrIt6OoNG3/ks4gfwrP076kKXBOJsyITTXd5xQ3B0cH/LfN9J mOArCUEv4ENFyZCU8d2rC19QTTnMosi0G62OYBL9wyQ/OS3N9lmuPG4kx6BdkgWrLdyZ E/T0jr8+hUCI0iUBqrPHJwqqir292SsavjoBRJ0C6lkYI/3UV0PbqB5oypXUuzRWeILY QVbQ1LcnjsHaGkjlZXzUxiHFZWJS7Qdt1uJjbxB3EIKwdf56e9T7m6U56Jf+PpeRaQ97 5C4ZAlUKOXfaee97/j1ERMOg13gdEA+P4rrl2NsR1wnNxVS+aYzOc+E6yv24VS2BYON4 Ll1A== X-Gm-Message-State: APzg51C5jJ9nfs+P0/C8VSrfpRzvWIUYxWpNMMTBA7rR7CySkOJwyw/w gcA8zmn5JV+cAQy2XxSQh0Rs5e7CfPhplA== X-Received: by 2002:a81:3856:: with SMTP id f83-v6mr11286260ywa.81.1536637976954; Mon, 10 Sep 2018 20:52:56 -0700 (PDT) Received: from mail-yw1-f54.google.com (mail-yw1-f54.google.com. [209.85.161.54]) by smtp.gmail.com with ESMTPSA id r84-v6sm8680031ywe.10.2018.09.10.20.52.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 20:52:55 -0700 (PDT) Received: by mail-yw1-f54.google.com with SMTP id x83-v6so8705557ywd.4 for ; Mon, 10 Sep 2018 20:52:55 -0700 (PDT) X-Received: by 2002:a0d:fdc4:: with SMTP id n187-v6mr11862280ywf.443.1536637974787; Mon, 10 Sep 2018 20:52:54 -0700 (PDT) MIME-Version: 1.0 References: <20180724140621.59624-1-tfiga@chromium.org> In-Reply-To: From: Tomasz Figa Date: Tue, 11 Sep 2018 12:52:43 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/2] Document memory-to-memory video codec interfaces To: Hans Verkuil Cc: Linux Media Mailing List , Linux Kernel Mailing List , Stanimir Varbanov , 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=?= , todor.tomov@linaro.org, nicolas@ndufresne.ca, Paul Kocialkowski , Laurent Pinchart , dave.stevenson@raspberrypi.org, Ezequiel Garcia Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 10, 2018 at 6:14 PM Hans Verkuil wrote: > > Hi Tomasz, > > On 07/24/2018 04:06 PM, Tomasz Figa wrote: > > This series attempts to add the documentation of what was discussed > > during Media Workshops at LinuxCon Europe 2012 in Barcelona and then > > later Embedded Linux Conference Europe 2014 in D=C3=BCsseldorf and then > > eventually written down by Pawel Osciak and tweaked a bit by Chrome OS > > video team (but mostly in a cosmetic way or making the document more > > precise), during the several years of Chrome OS using the APIs in > > production. > > > > Note that most, if not all, of the API is already implemented in > > existing mainline drivers, such as s5p-mfc or mtk-vcodec. Intention of > > this series is just to formalize what we already have. > > > > It is an initial conversion from Google Docs to RST, so formatting is > > likely to need some further polishing. It is also the first time for me > > to create such long RST documention. I could not find any other instanc= e > > of similar userspace sequence specifications among our Media documents, > > so I mostly followed what was there in the source. Feel free to suggest > > a better format. > > > > Much of credits should go to Pawel Osciak, for writing most of the > > original text of the initial RFC. > > I'm adding this here as a result of an irc discussion, since it applies > to both encoders and decoders: > > How to handle non-square pixel aspect ratios? > > Decoders would have to report it through VIDIOC_CROPCAP, so this needs > to be documented when the application should call this, but I don't > think we can provide this information today for encoders. Thanks for heads up. Will document that VIDIOC_CROPCAP needs to return it. Best regards, Tomasz