Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2513183imm; Mon, 10 Sep 2018 02:15:46 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb/ckE1D8K0Kq2hJl4QZHMewHUusUl1FugZrfilLILPZrMyLZDheBJEAQb8LhZEA5Wvzjxn X-Received: by 2002:a17:902:aa49:: with SMTP id c9-v6mr20444202plr.195.1536570946472; Mon, 10 Sep 2018 02:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536570946; cv=none; d=google.com; s=arc-20160816; b=LqMu8QGNNKQzRdglXWYnfKlxhp7XDLOPBRxuCQN5MfO0Oxytk7q54bRbFX3JDG9BvG 0aDi8gDN0jUv+vFiPkWkYZ5ZckLoXJ9YcvGaeP48zw6ZxQpQAH3pgoZEkzR21/S/cihS o0/0FlEEntjBK4RINuUxxCo/yHz5e9uOKAGSleS9NwxscG8MroPkxhi9d/bB3gQok6Ny Y1QNhSoRY/6CCJAM7M8cux9DjGOXK/C0Iw3ywF6Q1j0+wNI0h8e/lOuvSdPFVBWEn+BM t/B6C8RYxnup3JCNo3PhBhB1ZOWs6LZtJynFDYGq4TiQxYG+v7DD7uuU0wNCaoJoZ+WS IW4Q== 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=q+2tTtGvw/yXSXMzpYoRxgrYs7+AJPLwXFkvY5RfAA8=; b=pzbZ5d7SW/NiaoAksrt2hnGhREkbUuA9dHFcGaohtu7/GYwmS6nRzCqyTDQCTsYq8G aRkurBxBVeKZT6ajbOM9XgarCXmefSwl5FzqZLmNHc5GZmQv93f0FOJuEBdwYBwQ8j+Q PxIbGgDIA7wzFlcURtNsABnRDk/hsm/PyV3fbAfslbJ2YLqZU7kYwkJxazoNUXiDttHk ijKSFYiHpwaeIpiGpXVWmqqeqoK5+1BG4vH27ThQCNTIBGgJ6V/DyFaPboBuQKZeITYy 5l3Yvio/X6quB5mGSbXC17QWP90RlWHRfTTyafySh9xLEtW2r7Za+rIlXtVTppY1eIEp p2qA== 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 a20-v6si16293093pgi.184.2018.09.10.02.15.30; Mon, 10 Sep 2018 02:15:46 -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 S1727996AbeIJOHL (ORCPT + 99 others); Mon, 10 Sep 2018 10:07:11 -0400 Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:48420 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbeIJOHL (ORCPT ); Mon, 10 Sep 2018 10:07:11 -0400 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud7.xs4all.net with ESMTPA id zIGdf1IMSw2L8zIGgfJUft; Mon, 10 Sep 2018 11:14:06 +0200 Subject: Re: [PATCH 0/2] Document memory-to-memory video codec interfaces To: Tomasz Figa , linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, 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 , ezequiel@collabora.com References: <20180724140621.59624-1-tfiga@chromium.org> From: Hans Verkuil Message-ID: Date: Mon, 10 Sep 2018 11:13:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180724140621.59624-1-tfiga@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfO7Po06B+pNkxnZnTT52T1RpE3JIQs+lVtVxvLV2psyw5PQHmTvSeQWGkyuGzCYhGObLhpbwNRM1h+S8T+RI1Se3Xy/lwv+ypiiDR+WsYiuhdsL3bCDl yXyWgle8NXfFauNPYY8WZXlsSHt4KSXz5evFrM5X/0wUC6IsGDj3JJBbCv2kcFrHL1xlQvp6RhDE7UvcU0AhxV84DmONLxWE6g4PLjDT8k0c+mbNQlX8nVWN iHEHJ7dQCn3S/iKFrUgP4DqCoMHXZ4cWsxFV98m8Kvaq+GHZ/pIHQArzA6xnv3DEENgb53uVRLoFvLSlGmY6f2GvWZblivsUDcFRRcE479ZzYHHAH+T1OewE rLuvxRcx79Va9lfXqlaa9IK86y5gIUH0BhKwOk7QizpiQ73CyqQr1OrdCgPL1mo29sePU5Tm50wrnUpeO2wfXwD1bA0+Jh9VgyUhs/4FGSRhqhILPOCSC7AO oybpn+dZuAvd8Kzpk3pkM4nGjGTCfcDAuDwMWmTqx8ZzVz7Uj5DUtv1kZ/Sf2LmDnBv8az4en6hhTjhHC2vi4HqvQIkBaJy5hAorhBu0Q/09yXFDwArejSMV gh/QOQLMyF9vuI+SJ2u7L81iqQHplCQn6h7f9NzjTHSxD/vQCVY0phHfH8yippUbQyjcpLo6E+g5DEoNU2i834Uapi2Pj4RTQ2B4ViYMFQEKnnUrko9eWfWa iANhEBZGzCnhG3xhzoy8h9VyxGg+N22LYePI8v5Pq3phgm9FWIV8MvNJksUmbhsQ57ETeipN3GjsTRFESJDD2ARuC6Yea/et0hXr1xAb2DBMxzRQwKuu3Euf YcGKpkMJ5AI+9NChPA31shLbUbjPAwpH9FzsnHvy Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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üsseldorf 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 instance > 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. Regards, Hans