Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1818784imu; Thu, 17 Jan 2019 03:52:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN75L1eT1EsziMw7h/+0HIbq1D6hgjMI3iFJ3sebrE938TMuyNkTgKh4maeNh6muEhRs4Pmk X-Received: by 2002:a65:60c2:: with SMTP id r2mr13360043pgv.393.1547725977449; Thu, 17 Jan 2019 03:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547725977; cv=none; d=google.com; s=arc-20160816; b=RMiTVGYGsVu8+ePm3Ua3eQAkXGl35tBgvp83XcEg7DorygDpefGS8QzJF6sUwuUDJe 3oX9aUhpfJsvtPWsfKQsKc8iM7wrVTGKiLghDu6TYP0f/ob5Wl5D6WmFf9YSFdE/jXFQ V1L5rPD4whqM0gr9hWNHSsRKhCONuiLNJgEevUCS4/COri0uuPhwTDba7Dj4J2hJpRkZ K66F6/OkGESyxhj3ZxHwVQbE8AENYBl1PTctzE/meZLnzJC2bclBUBx2h+9E91pQ5tB1 l97+Be68jGH7tD8ADvpqjCP5KccGLs/rBXzo5HTowtF5V2v8neiZshEWSROc7Zz1TiEY Twkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vvFoUbOAxhLx9BAwp+Fa05ezQ9ZyVMCLQQnPtvcfZx4=; b=qwBCFJwEj4vty//0QHWzk6qcNfiTclRCS/cPY2KHf6QMU1jDSW7hkzog7h6toz6kBn 5FPf898pbLIRLc98C6H4K+Lc+ilswBoT4iYBZy3iu5NxlFw0HyO5xhrIxvkhctAtbUBx yJhWkB7uabqwXGz4wzBmQQ4huYAWz7wKyEui9qaCxvNSPjfL40Ju7gDKKdRhiy98L22e 2/cbKs+zfRObXPWhPLVWGON1nYhXmE/FbwaO6EqudQaKZvoGBZ0Ki5ABAnCD0O/Vi5av X6Br1BrLeG8XY+AduP6EEZDScwgm0k1pBH/cQ0El2ozVwaGDBEwAbfcVoZCwXtBsPOx+ sOGw== 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 n3si1486980plk.328.2019.01.17.03.52.41; Thu, 17 Jan 2019 03:52:57 -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; 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 S1729031AbfAQL2N (ORCPT + 99 others); Thu, 17 Jan 2019 06:28:13 -0500 Received: from mail.bootlin.com ([62.4.15.54]:34886 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728877AbfAQL2L (ORCPT ); Thu, 17 Jan 2019 06:28:11 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id E9B52207B2; Thu, 17 Jan 2019 12:28:08 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (build.bootlin.com [163.172.53.213]) by mail.bootlin.com (Postfix) with ESMTPSA id C03E42074E; Thu, 17 Jan 2019 12:28:08 +0100 (CET) Date: Thu, 17 Jan 2019 12:21:50 +0100 From: Maxime Ripard To: ayaka Cc: hans.verkuil@cisco.com, acourbot@chromium.org, sakari.ailus@linux.intel.com, Laurent Pinchart , jenskuske@gmail.com, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, Paul Kocialkowski , Chen-Yu Tsai , posciak@chromium.org, Thomas Petazzoni , Guenter Roeck , nicolas.dufresne@collabora.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Subject: Re: [PATCH v2 1/2] media: uapi: Add H264 low-level decoder API compound controls. Message-ID: <20190117112150.qfzqjdmrqpcjqvnh@flea> References: <20181115145650.9827-1-maxime.ripard@bootlin.com> <20181115145650.9827-2-maxime.ripard@bootlin.com> <20190108095228.GA5161@misaki.sumomo.pri> <2149617a-6a36-4c0b-26c9-7fdfee9da9c9@soulik.info> <2e734dd6-d459-9990-61fe-27301df35ff7@soulik.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oqkbl2a7clijvahv" Content-Disposition: inline In-Reply-To: <2e734dd6-d459-9990-61fe-27301df35ff7@soulik.info> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oqkbl2a7clijvahv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Jan 10, 2019 at 09:33:01PM +0800, ayaka wrote: > I forget a important thing, for the rkvdec and rk hevc decoder, it would > requests cabac table, scaling list, picture parameter set and reference > picture storing in one or various of DMA buffers. I am not talking about = the > data been parsed, the decoder would requests a raw data. >=20 > For the pps and rps, it is possible to reuse the slice header, just let t= he > decoder know the offset from the bitstream bufer, I would suggest to add > three properties(with sps) for them. But I think we need a method to mark= a > OUTPUT side buffer for those aux data. I'm not sure this is something we actually want. The whole design decision was that we wouldn't have a bitstream parser in the kernel, and doing as you suggest goes against that design. And either if it is something that turns out to be useful, this is really out of scope for this series. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --oqkbl2a7clijvahv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXEBlTgAKCRDj7w1vZxhR xRcgAP0dWriJx8+o1omXhfWzZxnYLft+14hPq2CjUX6JxflfLQEAmPrSaLuuzNxR APurR6hH+cGQ0z90Wdyrw41F9LbmnAg= =fkam -----END PGP SIGNATURE----- --oqkbl2a7clijvahv--