Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3671621imj; Tue, 12 Feb 2019 02:43:57 -0800 (PST) X-Google-Smtp-Source: AHgI3IYOL3q9i5Kqevo4fawbn2ApYTFoAhv3rwh3ifD83saeQNbP/80MFY47SDxk3PZbfOKbdHrm X-Received: by 2002:a63:698a:: with SMTP id e132mr3072162pgc.136.1549968237281; Tue, 12 Feb 2019 02:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549968237; cv=none; d=google.com; s=arc-20160816; b=qnXUwPZFuvQ4szA/mOtZzxvVvEBsN2FiGcQZUsCNnWlLiun2xpGlZNNmDtJUtQq3kf o5OFcGsim2RqywMQqJvsCjZgdyZe5WuKo92qhES+0GEwlkc5JIZ1Bn+xJLHT7NQKhqRr Jwu28ReS14TJj/QWkiEIMAT+5KvF1ldXentUVd7dtNb8LXNiPgkELHe3rTa2rXxWUTdW fh6l1HhSQg+139bnp8pof/TbW+GrppmZ0n6n7PiZa0lnJyrW9jGfFGcpARR0tfiLoYkb VUgtcy8D2murBc3eS2atQOdWxzofbUtnhi4ZXO26uDgU4p4nxWtxJkgDhEvC2TKEBBgj FafA== 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=VvlNXaYvz2fDJ9OK4GMkXjdePmays14BtOpgwkDvFh4=; b=TgZj4Qb606YJRyZmomMxSsG5EpDL9+I4uyFN1u0wrS8D3fJGOcN/fFDpNbKleBb+bV SA4S3SQNboCHiOJJ8yn1B2Jjdd7Erh9ytreOMBZuYEjoBx3RTF26TLisua6fmWC6AaXC YJSBEtOu7aumTz6ZMBAv3UyVXXW/vDO893PKM4bXIQDiZMXSAHeQgOHcoAIjwPNyC3+Q cuK0K5Bqlm0lE3evxOxxV8KZqY15nESkULgOggDW2X3xNQh7KZDRgGGE0M+XQYl+mmRu CFsEiGEh+7gjf3wcJ9Xuz0dqzSKH3d/kFaO2v7xMzzBnM+W34jOpWYTwLOReNtCaH+Fc mdwg== 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 c9si2030813pll.439.2019.02.12.02.43.41; Tue, 12 Feb 2019 02:43: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 S1729065AbfBLKnT (ORCPT + 99 others); Tue, 12 Feb 2019 05:43:19 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:36013 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728184AbfBLKnT (ORCPT ); Tue, 12 Feb 2019 05:43:19 -0500 Received: from localhost (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: maxime.ripard@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 1BED6100006; Tue, 12 Feb 2019 10:43:14 +0000 (UTC) Date: Tue, 12 Feb 2019 11:43:14 +0100 From: Maxime Ripard To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: linux-sunxi@googlegroups.com, hans.verkuil@cisco.com, acourbot@chromium.org, sakari.ailus@linux.intel.com, Laurent Pinchart , tfiga@chromium.org, posciak@chromium.org, Paul Kocialkowski , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, nicolas.dufresne@collabora.com, jenskuske@gmail.com, jonas@kwiboo.se, ezequiel@collabora.com, Thomas Petazzoni Subject: Re: [linux-sunxi] [PATCH v3 2/2] media: cedrus: Add H264 decoding support Message-ID: <20190212104314.slytpbufwhf5ujv7@flea> References: <4c00e1ab1e70adb1d94db59c37393250ca3791c5.1549895062.git-series.maxime.ripard@bootlin.com> <12916702.RFRCeC2GgE@jernej-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5gdejtoqqa6qlisa" Content-Disposition: inline In-Reply-To: <12916702.RFRCeC2GgE@jernej-laptop> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --5gdejtoqqa6qlisa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Feb 11, 2019 at 08:21:31PM +0100, Jernej =C5=A0krabec wrote: > > + reg =3D 0; > > + /* > > + * FIXME: This bit tells the video engine to use the default > > + * quantization matrices. This will obviously need to be > > + * changed to support the profiles supporting custom > > + * quantization matrices. > > + */ > > + reg |=3D VE_H264_SHS_QP_SCALING_MATRIX_DEFAULT; >=20 > This flag should not be needed anymore. From what I see, you correctly se= t=20 > scaling matrix every time. The scaling matrix control is optional, so I guess we should protect that by a check on whether that control has been set or not. What do you think? Thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --5gdejtoqqa6qlisa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXGKjQgAKCRDj7w1vZxhR xbGrAQDuJ3RI8iJRp2xbjnQ//F/tGuWwtz7PdNfWKUaQvNBr0AD8DA9cnLZ4F7c3 hTdzfxkMmPlsb+v5HUPlK14j1NWIRgY= =LFLc -----END PGP SIGNATURE----- --5gdejtoqqa6qlisa--