Message ID | 20230717150611.42832-1-benjamin.gaignard@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1185863vqt; Mon, 17 Jul 2023 08:35:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlGzTZNaTUtvy2/IWhbCb65Q56ITYRFU/pJdAbdSDK0WfCiuLhzuWcGvJ6ovZQC2jW+4bv+8 X-Received: by 2002:ac2:54aa:0:b0:4f8:7734:8dd0 with SMTP id w10-20020ac254aa000000b004f877348dd0mr6912494lfk.2.1689608144393; Mon, 17 Jul 2023 08:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689608144; cv=none; d=google.com; s=arc-20160816; b=xdKplJAAZ1HUbwoL7uCgy1QVOpyzAqg3GF4oVdJdfw0Y10SAUwU9/PfvZ2DsDw8Q9U YbsWYo7z/Tjhru47mLqMAGAZEy5Q5noYZPnjDvfThzcqDO0Ynuyh2JgUugrSx8WyFK3J qXf9cQRaala7j0gW6Eh3penlJkRTQTnouLzX4fJ0Dd8irEt52Ka1F3UPoC34AlpZlusm 9DpIJkmLuedzNsn42Xwz/pICXB0B5yP6+EdG1bYOq+hbH2nLmNMBKmYeeZkllm/9yVyF YWrdITIZKCqovQkMANnDYq6xjGifOO/6W/8axuf9iIS1tVom5iYE5hq+kerwTEMxFsOJ ja+w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=sWKJPV8vbpnsTTTgArZG3gt8qUCjzyW66sUj6quzqbQ=; fh=VYKRL92nRuT59hnld2ZZK5qkg3JJ4RNohOUH4hAs//0=; b=X1DmFdkzV+OFn8Q3h+fc51IGEAyPZg2TZ9uS78Jf2CMZFTdN/8AhL/nOI7hRcd6iEM U1LowFelG9SPLLlEe4Xs2pgckAyrbOjhCafpRxCYDS3kAZv3Y8XNrTBXccIqiIA4sVDX +OADCiNCoOR8asmSoV72Lva6VzV49jLLglEIJFagILmvNioqc8OSr9haxgfmQZtWab3I RZi++jRCYM3zaZCCrEXOXjsuE9QoKqCi7Dkk6UxisR/hcHgdAAEHue6C/MpskAvpIHjI QL9+/vVNelv2zAlfvhpH9AiCeG5X814cchRKb0k2/JtX8LRwvRyKB/8uWOcGi/ZRILAG W72g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="HkCE/fpX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020aa7d5cb000000b0052176ba2183si4072700eds.40.2023.07.17.08.35.20; Mon, 17 Jul 2023 08:35:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="HkCE/fpX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230447AbjGQPGW (ORCPT <rfc822;daweilics@gmail.com> + 99 others); Mon, 17 Jul 2023 11:06:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjGQPGV (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 11:06:21 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 412FCE7F; Mon, 17 Jul 2023 08:06:20 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:4be:84ed:4a71:a2ea]) (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: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8AAE96602329; Mon, 17 Jul 2023 16:06:18 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689606378; bh=FRTZXCxmrhmbJigySAGoMfBq+46yLv4nhFi0T5kqD10=; h=From:To:Cc:Subject:Date:From; b=HkCE/fpXN6izquRUoL7dKUqu1EjdsbGb6dTk2T9oNGfO5AAimaMt1sjvo0rsXZivk CXIXOE9NrFuP5WO52RGZwfeJ17ETh2YPEr8d5nNAc6BJwFqrd1sQD6551bFWnkUIPQ bXHcnr81zCsh6YwrYUbrEisFgZc9fc0niAxNYOkKReHNUrOa6V4joqwpXSmS8Z44Qy CiRKl5XL4WfjxOzU4bgNsjvXvbhYm3hP1BG2Fd+osNRitMu6sr12RdWsb60tpqEYnc 2EF+h8ZaoXoiu2lh1ja7YJEIoyduKUExGP0DoQ+ep5XGm4jnxgFJAsrIgjj6GuxhmE e9kFtmK1NHAlg== From: Benjamin Gaignard <benjamin.gaignard@collabora.com> To: ezequiel@vanguardiasur.com.ar, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, nicolas.dufresne@collabora.com, kernel@collabora.com, Benjamin Gaignard <benjamin.gaignard@collabora.com> Subject: [PATCH] media: rkvdec: increase max supported height for H.264 Date: Mon, 17 Jul 2023 17:06:11 +0200 Message-Id: <20230717150611.42832-1-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771682549215060664 X-GMAIL-MSGID: 1771682549215060664 |
Series |
media: rkvdec: increase max supported height for H.264
|
|
Commit Message
Benjamin Gaignard
July 17, 2023, 3:06 p.m. UTC
After testing it is possible for the hardware to decode H264
bistream with a height up to 2560.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
drivers/staging/media/rkvdec/rkvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Le lundi 17 juillet 2023 à 17:06 +0200, Benjamin Gaignard a écrit : > After testing it is possible for the hardware to decode H264 > bistream with a height up to 2560. > > Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Thanks, this could possibly have a Fixes tag ? Fixes: cd33c830448ba ("media: rkvdec: Add the rkvdec driver") With or without the that though: Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> > --- > drivers/staging/media/rkvdec/rkvdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/media/rkvdec/rkvdec.c b/drivers/staging/media/rkvdec/rkvdec.c > index 134e2b9fa7d9..84a41792cb4b 100644 > --- a/drivers/staging/media/rkvdec/rkvdec.c > +++ b/drivers/staging/media/rkvdec/rkvdec.c > @@ -120,7 +120,7 @@ static const struct rkvdec_coded_fmt_desc rkvdec_coded_fmts[] = { > .max_width = 4096, > .step_width = 16, > .min_height = 48, > - .max_height = 2304, > + .max_height = 2560, > .step_height = 16, > }, > .ctrls = &rkvdec_h264_ctrls,
diff --git a/drivers/staging/media/rkvdec/rkvdec.c b/drivers/staging/media/rkvdec/rkvdec.c index 134e2b9fa7d9..84a41792cb4b 100644 --- a/drivers/staging/media/rkvdec/rkvdec.c +++ b/drivers/staging/media/rkvdec/rkvdec.c @@ -120,7 +120,7 @@ static const struct rkvdec_coded_fmt_desc rkvdec_coded_fmts[] = { .max_width = 4096, .step_width = 16, .min_height = 48, - .max_height = 2304, + .max_height = 2560, .step_height = 16, }, .ctrls = &rkvdec_h264_ctrls,