Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3423256pxb; Mon, 9 Nov 2020 10:42:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPUR4TGxmO/FZDY/jzbRfdEiZBAdnhUnGw28hQLKvSovkUpUmp6lpYD9IrvFLuul7ZVMh0 X-Received: by 2002:a17:907:2712:: with SMTP id w18mr15389304ejk.130.1604947325795; Mon, 09 Nov 2020 10:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604947325; cv=none; d=google.com; s=arc-20160816; b=U9dOFTTfhR/3ipZLqZ3iuFbRt2+u5xugRjWIh0ea9wUoXvtjeGGSiUq7BL2TQZwIew XXcSokNCiVXp5JkjunrF+8tz9deWjCsThvA40FkKTjmjlR5I1MZeDa+7ARA7zpNbnacb dWwyE27MnJilftjS/RwOywbRWsafzcL5qasY7hTWVyo4X31UZh/7LcaMMdbjxvHb7mga Jcji0HzmC2XT9PwQKiOnRueC0+k+hkaVbjCrEbMypcIVfYSZl8khoE5MgabvOm8VQNA/ AybW7KwH4eAFsm/NrnWqn4V8ghzqqpzjSi4c1QsJEMw/NaT0MQr0t585piUTSNx8FIHP 7HdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TM1sxwXOxVt01DdAzwle/OrK1zT2FF/524aODjbX9rM=; b=hQ/byLKHD0C00Ulvr7HjnGkK6nrEIAh29LORFvI2/f69F4XiYTTsyDjARxx6MnMrZs mnTMCOVijOe8C/ICW/0/q0C9vCtfOolcXnikMieLH9WqMhI2JXk9h8SuAO+T/rmwpU13 CL0iuFqmAbp4wvWK/FjI+zxn9Iqmw/QIAD/fC7a8oijVRUF2u+NI9wG7+rTBQOqpShXg SIVXPoIYNi+McRr2c7Vi3phB8GNxUKz+7fdK3Wiy8KBfIXEzx83jglJuWiiVWd7OW4nI Zhnv6NKuMDjGWf6HZ1nFBH2BY6xr9JDJuXwy1DcFjGEOqPNeHpe5kMTadYafF1OswFpG eSpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si8896763edl.217.2020.11.09.10.41.43; Mon, 09 Nov 2020 10:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730289AbgKISiI (ORCPT + 99 others); Mon, 9 Nov 2020 13:38:08 -0500 Received: from 82-65-109-163.subs.proxad.net ([82.65.109.163]:40198 "EHLO luna.linkmauve.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729491AbgKISiF (ORCPT ); Mon, 9 Nov 2020 13:38:05 -0500 Received: by luna.linkmauve.fr (Postfix, from userid 1000) id EA159F41592; Mon, 9 Nov 2020 17:23:10 +0100 (CET) From: Emmanuel Gil Peyrot To: Ezequiel Garcia , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Emmanuel Gil Peyrot Subject: [RESEND PATCH 2/2] media: hantro: Use VP8 lengths defined in uapi Date: Mon, 9 Nov 2020 17:22:44 +0100 Message-Id: <20201109162244.16531-3-linkmauve@linkmauve.fr> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109162244.16531-1-linkmauve@linkmauve.fr> References: <20201109162244.16531-1-linkmauve@linkmauve.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Emmanuel Gil Peyrot --- drivers/staging/media/hantro/hantro_vp8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/hantro/hantro_vp8.c b/drivers/staging/media/hantro/hantro_vp8.c index 0e02d147b189..91ec9a05645b 100644 --- a/drivers/staging/media/hantro/hantro_vp8.c +++ b/drivers/staging/media/hantro/hantro_vp8.c @@ -23,11 +23,11 @@ struct vp8_prob_tbl_packed { u8 padding1; /* mv prob */ - u8 prob_mv_context[2][19]; + u8 prob_mv_context[2][V4L2_VP8_MV_PROB_CNT]; u8 padding2[2]; /* coeff probs */ - u8 prob_coeffs[4][8][3][11]; + u8 prob_coeffs[4][8][3][V4L2_VP8_COEFF_PROB_CNT]; u8 padding3[96]; }; -- 2.29.2