Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2467825lqt; Mon, 22 Apr 2024 11:30:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXU6M+Si25QQJ5aZpRvAb2PgQaS/LJrB5HGltmaoftGMMOaoaAUUZME7R3YIB2eNFSsIYw9PGJZmgJVkuynAUEfNCYinSdqq5LxAncTtQ== X-Google-Smtp-Source: AGHT+IEr8o5xoubksBlG7RrQVn1R3TG3W76megNLmYaDa/lUrzSsG/nfrC62S8AQ6VM15+miSZlL X-Received: by 2002:a17:903:234e:b0:1e8:b6f6:644b with SMTP id c14-20020a170903234e00b001e8b6f6644bmr12596101plh.18.1713810617350; Mon, 22 Apr 2024 11:30:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713810617; cv=pass; d=google.com; s=arc-20160816; b=i7/3nu8Bfjiw1xKOSigRwhdb8fuI8bxabThzcO/xilOPsEODL1pR51Mf5Qan3CJ/Dl MxCl7iks4/ZYVxFa0njMFrco9PRt5R4iMLIltwMIZHfDZQ5nOF1Fi9Uq6jYs/FjhO7dQ w2ZjnAHj130A+adjbfR3dTzx8Bw+ooolbk+rE2TYnXvjzyrEnVVzLv+7H/GDwQqbLyJZ umE82v7IByQFF6kj7CCksvoCl7IWq8Xzktdw3WYZaQ/tRtOH1txrapvWhlP+G2VAHrlS CtfR9y9uyXjFqOUA9ZzbIVksUWqz6iMa5YRqdIPeP8QGm4L+2r3TQCVRGRyxoSQFFLv1 WlrA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:content-transfer-encoding:autocrypt:references :in-reply-to:cc:to:from:subject:message-id:dkim-signature; bh=/6JnKzawadTQfaaiivXdgSYYyanCvFFOHetdXBBM8Pc=; fh=xQERF+eaMof5KNiI50+Wwdwyv1W2i2yFzz/V0JCkiu4=; b=XRJEEa+aJHTpNuA8w0u0Ck3DbazWhAB6+/K56l8YUVfL5QCtdpzQoIkE8hQbKYDlp4 P/Kv4ZftydzXqz7G+AtJLheThg4ys73/ZbCtjYs7okprkJID8N4R5+R3UwhJwtS+rEY1 dHKUJbNzlsDzrShTpthH4geQjuXRwNeOHLpvki+NGSAu35aJr2/TfWtBi2KVqbqjY5W8 FnCimh0zwq8RCI2rxHepx7T37wWometVcxaSH+eIHfpeSHSxFIRxKYrWJK9nDv/MVvCx oOmgma24rmpYl48NwrlUzqOSZVpswqyEe8fNsyPsw+1kShdJhQqIc+PCkk4VTUJlACOI Ng6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Kv5qtAlW; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-153834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d5-20020a170902654500b001e41c8728f2si7902794pln.1.2024.04.22.11.30.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 11:30:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Kv5qtAlW; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-153834-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E2D5A2816C8 for ; Mon, 22 Apr 2024 18:30:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB28C155321; Mon, 22 Apr 2024 18:29:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Kv5qtAlW" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92E44154C0A; Mon, 22 Apr 2024 18:29:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713810581; cv=none; b=JGbt8fu8hzIFXaxyNjtKkZB/LCqmPlDKj9Q3Ai/fr3RZpsl7bC4FhLNOgiPq8iRmdRclnru557o3Yi/cS5TM43GyEGY0GJxAwbHp9mzohRS+rQTHpy5Ak+d6ou0iGnGtqExYxzDCOS6mc4WirAhcW/YW9jsuQ1i9PdLIMmPOfWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713810581; c=relaxed/simple; bh=iCcqBX7y44Xnzjt368+apKXyWLXQ8/7+lL4SAqqNZbE=; h=Message-ID:Subject:From:To:Cc:In-Reply-To:References:Content-Type: Date:MIME-Version; b=duMZC+ojbgkKwauL/NueGsc1YSJiqgsLeZpjaIEYdl6K3gGj6blok6vVPrC3dYpnhBp7t6/5jvgClROCdrMH2wmQ3FWlMXQ5AoPqu1HIyJYgSf9JM7Pym9EGQlhHVb49QKSxGlgwpvGLaf3IpIBIeFWF1zWVXkz/lcx+RxaB6Yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Kv5qtAlW; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1713810577; bh=iCcqBX7y44Xnzjt368+apKXyWLXQ8/7+lL4SAqqNZbE=; h=Subject:From:To:Cc:In-Reply-To:References:Date:From; b=Kv5qtAlWI5coUdHrvkWHuSobLN0hL7vr+voS8szFuZgMEQLtHz5Pvh7PmHMbaxyvt Xt6MDvLYv7vcbuJaKd7reOxk0WT6X+oK1y8CRK3G/Gg7NTxIU+AhgiSg4BFzCb5D2I XPb2nmsOhbKVX7n0tfRIjC1YyLQpybiFzbyAC7E6+ckEktv86BtJenTEVXdC+/HyUs yYK328Ekk8B6KBG3ag1YC7eb75fFTea6e/3SCsJQXgBpR7wVJM35/GbA4LwlaF9rV5 0tf+uu04JCMC2GiOPg/VU8vekfBD1moq2RP3Zg0pkraf9a/MSQR7SjG9mJw6n54D6H 78U3xJnKMDeuQ== Received: from nicolas-tpx395.localdomain (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 882803782134; Mon, 22 Apr 2024 18:29:35 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2,0/5] media: change the calculation method of sizeimage From: Nicolas Dufresne To: Yunfei Dong , =?ISO-8859-1?Q?N=EDcolas?= "F . R . A . Prado" , Hans Verkuil , AngeloGioacchino Del Regno , Benjamin Gaignard , Nathan Hebert , Sebastian Fricke Cc: Hsin-Yi Wang , Fritz Koenig , Daniel Vetter , Steve Cho , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com In-Reply-To: <20240409064431.16909-1-yunfei.dong@mediatek.com> References: <20240409064431.16909-1-yunfei.dong@mediatek.com> Autocrypt: addr=nicolas.dufresne@collabora.com; prefer-encrypt=mutual; keydata=mQGiBEUQN0MRBACQYceNSezSdMjx7sx6gwKkMghrrODgl3B0eXBTgNp6c431IfOOEsdvkoOh1kwoYcQgbg4MXw6beOltysX4e8fFWsiRkc2nvvRW9ir9kHDm49MkBLqaDjTqOkYKNMiurFW+gozpr/lUW15QqT6v68RYe0zRdtwGZqeLzX2LVuukGwCg4AISzswrrYHNV7vQLcbaUhPgIl0D+gILYT9TJgAEK4YHW+bFRcY+cgUFoLQqQayECMlctKoLOE69nIYOc/hDr9uih1wxrQ/yL0NJvQCohSPyoyLF9b2EuIGhQVp05XP7FzlTxhYvGO/DtO08ec85+bTfVBMV6eeY4MS3ZU+1z7ObD7Pf29YjyTehN2Dan6w1g2rBk5MoA/9nDocSlk4pbFpsYSFmVHsDiAOFje3+iY4ftVDKunKYWMhwRVBjAREOByBagmRau0cLEcElpf4hX5f978GoxSGIsiKoDAlXX+ICDOWC1/EXhEEmBR1gL0QJgiVviNyLfGJlZWnPjw6xhhmtHYWTDxBOP5peztyc2PqeKsLsLWzAr7RDTmljb2xhcyBEdWZyZXNuZSAoQi4gU2MuIEluZm9ybWF0aXF1ZSkgPG5pY29s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VmcmVzbmVAdXNoZXJicm9va2UuY2E+iGAEExECACAFAkUQN0MCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRBxUwItrAaoHPTnAJ0WGgJJVspoctAvEcI00mtp5WAFGgCgr+E7ItOqZEHAs+xabBgknYZIFPW5Ag0ERRA3UhAIAJ0rxl2HsVg/nSOAUt7U/T/W+RKzVAlD9orCB0pRVvyWNxSr8MHcHmWCxykLuB34ouM4GuDVRKfGnqLzJRBfjs7Ax9K2FI3Odund9xpviLCt1jFC0K XL04RebrFT7xjDfocDaSLFvgxMVs/Jr2/ckKPId1oKvgYgt/o+MzUabKyFB8wIvq4GMtj3LoBKLCie2nCaSt7uVUt6q2t5bNWrd3lO6/mWn7YMc5Hsn33H9pS0+9szw6m3dG08eMKNueDlt72QxiYl2rhjzkT4ltKEkFgYBdyrtIj1UO6eX+YXb4E1rCMJrdjBSgqDPK1sWHC7gliy+izr+XTHuFwlfy8gBpsAAwUIAJJNus64gri4HAL632eqVpza83EphX1IuHzLi1LlMnQ9Tm7XKag46NhmJbOByMG33LwBsBdLjjHQSVkYZFWUifq+NWSFC/kqlb72vW8rBAv64+i3QdfxK9FWbweiRsPpvuHjJQuecbPDJpubLaxKbu2aqLCN5LuHXvdQr6KiXwabT+OJ9AJAqHG7q4IEzg4RNUVn9AS6L8bxqMSocjqpWNBCY2efCVd/c6k4Acv6jXu+wDAZEbWXK+71uaUHExhigBYBpiHGrobe32YlTVE/XEIzKKywhm/Hkn5YKWzumLte6xiD9JhKabmD7uqIvLt2twUpz4BdPzj0dvGlSmvFcaaISQQYEQIACQUCRRA3UgIbDAAKCRBxUwItrAaoHJLyAKDeS3AFowM3f1Y3OFU6XRCTKK2ZhwCfT/7P9WDjkkmiq5AfeOiwVlpuHtM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Apr 2024 16:17:49 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Hi, sorry for the long delay. Le mardi 09 avril 2024 =C3=A0 14:44 +0800, Yunfei Dong a =C3=A9crit=C2=A0: > The bytesperline and sizeimage of each plan are different for 8bit > and 10bit bitstreams. Using v4l2 common interface to calculate them > independently. >=20 > --- > compare with v1: > - add patch 1/2/3/4 > - change the calculation method for sizeimage for patch 5 > --- > Yunfei Dong (5): > media: mediatek: vcodec: fix incorrect MT2T format information > media: mediatek: vcodec: fix incorrect MT2R format information As per recommandation of the "Submitting Patches": > On the other hand, if you make a single change to numerous files, group t= hose > changes into a single patch. Thus a single logical change is contained wi= thin > a single patch. In general, when two patches have an identical description its a sign they should be one patch. Would be nice to squash these two. > media: mediatek: vcodec: add MM21 format definition > media: mediatek: vcodec: add MT21 format definition Same. > media: mediatek: vcodec: fix incorrect sizeimage for 10bit bitstream >=20 > .../mediatek/vcodec/decoder/mtk_vcodec_dec.c | 28 ++++++------------- > drivers/media/v4l2-core/v4l2-common.c | 12 +++++--- > 2 files changed, 16 insertions(+), 24 deletions(-) >=20