Received: by 10.223.164.202 with SMTP id h10csp2475261wrb; Thu, 16 Nov 2017 16:18:23 -0800 (PST) X-Google-Smtp-Source: AGs4zMY15Qm9fUVu/F/WFm0xFguyCZSaSUNbYN0OMSGhHClrvPf2043okpcITJkv7UEnV5s7D2KH X-Received: by 10.101.75.7 with SMTP id r7mr3354396pgq.133.1510877903642; Thu, 16 Nov 2017 16:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510877903; cv=none; d=google.com; s=arc-20160816; b=ash4N4OnaEpgiR0bzgejkcKLVxowoUKKYRVWxgPw2zy65iOrRFh83ajqdTigduS5pL nNvxbu6ltQElePptNaP7YCZY9X7rvdN/PYS2hamhrXcMTAzDVsMrv1t6ZtmppmidUzAM byOMJBX1TiJOCQVHkH59oG116njtlkXUFQCFk8ZoeHYhbFY8fHqYtxcoGuLjmPQtM8Wm QJ2KOKTNZwTxnl9HmaHTqRmW44Ml4Z34a/6HIzPFqnOM+JisgGsrHSHJvnNARKBrXb12 EsREq0MZ8K3SriB4BaKHGRiQWQsJFcAjWnkMy6jRAidhGrbfPfKBYqkqNAfUjkGCphx8 wJcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature :arc-authentication-results; bh=h28OUlj+o/wc2sdM4pLyjuqsKb4q4YtmXzK/Oatj+1I=; b=mFw8mkamKXFITKQkmEClFBlCkD8ArSImgIj0cHRVfhFzuYzdq1koa6t6ym/Bpos/WB lXye/Aartf9UvqWuCqnmFB8iaWg99CdBazLrIehrawVSgrvZ65ax4VbU2T+Hy+M9FmAA nMwhuiJm/qI4oNU4WSnxDEKamQKQVpsasF1K7ErwHsA5GGy/vdJH/tB7PCqqhYYoIBFj BLYW4w+gWMfrqGJKkFIZ8wkuZgN4xbnq/2u/lOWcahSKTl3wBZRV0/Z5+I4LNKQDx+Q+ YBc7niQ1qfvEKLGA1gA/r2tR/6jg09yUVxQdYg0saIQaO4G19uVSeUspmTsNMhxA2Bg7 QiUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=L3HnSz5T; 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 v22si1886902pfd.212.2017.11.16.16.18.10; Thu, 16 Nov 2017 16:18:23 -0800 (PST) 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=@ndufresne-ca.20150623.gappssmtp.com header.s=20150623 header.b=L3HnSz5T; 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 S934597AbdKPUAI (ORCPT + 92 others); Thu, 16 Nov 2017 15:00:08 -0500 Received: from mail-qt0-f178.google.com ([209.85.216.178]:42257 "EHLO mail-qt0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934367AbdKPUAA (ORCPT ); Thu, 16 Nov 2017 15:00:00 -0500 Received: by mail-qt0-f178.google.com with SMTP id 31so537997qtz.9 for ; Thu, 16 Nov 2017 12:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ndufresne-ca.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version; bh=h28OUlj+o/wc2sdM4pLyjuqsKb4q4YtmXzK/Oatj+1I=; b=L3HnSz5TVd0GnGzcRYepPc4FcHYV+/6GKnAUxLpABJFThJu/FFQbMifgRry0YPUj/K g9xzVJEFjP7FH0XhFBZRrnqYP2Nn9ANJyW8jI6y3XeYxskggewO0BKquN9galOoBfKCG Z4UBinQ9i83+6ZSvjuLWmbI0598hC2vo6pfCjDr/ZyVuC1ArqOkSOxJ2HPRAwiAW0vE7 sf1rdZcr6kfk0YjRi0Agm/f9f3c3JQ5hdGO8fHAifU1vQqPGtDaljQaZL6JVIJpLsLoY XSGBj9uDfs2N40sGr0TNU3wap+x03/jOK2hdcYoW4DepM1lQshIr5tqE8EIzWgruZ44k UaHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version; bh=h28OUlj+o/wc2sdM4pLyjuqsKb4q4YtmXzK/Oatj+1I=; b=mdhgCNEangJlh+tPYRU5CakZegaR66CwbOr6/zmlVV50N4A4fZjzw/Lpd2C4SA8DOz xWMal0MSbkmG28C+dYXrNszUMcKltjxwtTGJJI/l1SOSB8xZd++iCBWKk+DX9+Qt0zl/ 4V4vpm0JDFFKX7PLktDeG70/fSEK1sB6uzGpicjOPccufDNbomZdaSdY1NL9dvpsKuRg h4GZq2/R97gJs+GmtlbEDSHeTCD0dQ/U/K2kPy8KIFADijTq2P681vihNCB90Ybpg3sL tXXlQwtq/XWearMnNE2CxjW/sbAi7e3jHBr7Uk0mZGUfze6RR6VyQqoH0jc2dmWxTYDo V4+w== X-Gm-Message-State: AJaThX4kYFLAFlvPxShziafvKYrDTdo5WUGW/Lwo7PMyoP6M6RjcQkJz YiY9ZKk0dXTtkQ6GSFxHDviUgg== X-Received: by 10.55.148.133 with SMTP id w127mr4489028qkd.354.1510862399698; Thu, 16 Nov 2017 11:59:59 -0800 (PST) Received: from tpx230-nicolas (modemcable154.55-37-24.static.videotron.ca. [24.37.55.154]) by smtp.gmail.com with ESMTPSA id b65sm1454880qkb.45.2017.11.16.11.59.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Nov 2017 11:59:58 -0800 (PST) Message-ID: <1510862395.8053.39.camel@ndufresne.ca> Subject: Re: [linux-sunxi] Cedrus driver From: Nicolas Dufresne To: Maxime Ripard , Giulio Benetti Cc: Andreas Baierl , linux-sunxi@googlegroups.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, thomas@vitsch.nl, linux-media@vger.kernel.org Date: Thu, 16 Nov 2017 14:59:55 -0500 In-Reply-To: <20171116110204.poakahqjz4sj7pmu@flea> References: <1510059543-7064-1-git-send-email-giulio.benetti@micronovasrl.com> <1b12fa21-bfe6-9ba7-ae1d-8131ac6f4668@micronovasrl.com> <6fcdc0d9-d0f8-785a-bb00-b1b41c684e59@imkreisrum.de> <693e8786-af83-9d77-0fd4-50fa1f6a135f@micronovasrl.com> <20171116110204.poakahqjz4sj7pmu@flea> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pt46Lg9YAHMlu1JVn4N1" X-Mailer: Evolution 3.26.2 (3.26.2-1.fc27) Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-pt46Lg9YAHMlu1JVn4N1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le jeudi 16 novembre 2017 =C3=A0 12:02 +0100, Maxime Ripard a =C3=A9crit : > Assuming that the request API is in, we'd need to: > - Finish the MPEG4 support > - Work on more useful codecs (H264 comes to my mind) For which we will have to review the tables and make sure they match the spec (the easy part). But as an example, that branch uses a table that merge Mpeg4 VOP and VOP Short Header. We need to make sure it does not pause problems or split it up. On top of that, ST and Rockchip teams should give some help and sync with these tables on their side. We also need to consider decoder like Tegra 2. In H264, they don't need frame parsing, but just the PPS/SPS data (might just be parsed in the driver, like CODA ?). There is other mode of operation, specially in H264/HEVC low latency, where the decoder will be similar, but will accept and process slices right away, without waiting for the full frame. We also need some doc, to be able to tell the GStreamer and FFMPEG team how to detect and handle these decoder. I doubt the libv4l2 proposed approach will be used for these two projects since they already have their own parser and would like to not parse twice. As an example, we need to document that V4L2_PIX_FMT_MPEG2_FRAME implies using the Request API and specific CID. We should probably also ping the Chrome Devs, which probably have couple of pending branches around this. regards, Nicolas --=-pt46Lg9YAHMlu1JVn4N1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSScpfJiL+hb5vvd45xUwItrAaoHAUCWg3uOwAKCRBxUwItrAao HHECAJwOUnKhoJ9VFvV+vJrW0glC6f4t/wCfZP+7PkLnwxrO2BUgXXTJ3ZJdnCM= =UWFg -----END PGP SIGNATURE----- --=-pt46Lg9YAHMlu1JVn4N1-- From 1584239469140391338@xxx Thu Nov 16 16:08:12 +0000 2017 X-GM-THRID: 1584225895006680074 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread