Skip to contentSkip to conversation

media: rkvdec: increase max supported height for H.264

PATCH In review Benjamin Gaignard 3 participants 3 messages Jul 17, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: rkvdec: increase max supported height for H.264

After testing it is possible for the hardware to decode H264 bistream with a height up to 2560.

---
 drivers/staging/media/rkvdec/rkvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/rkvdec/rkvdec.c +1 -1
index 134e2b9fa7d9..84a41792cb4b 100644
@@ -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,
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw

Le lundi 17 juillet 2023 à 17:06 +0200, Benjamin Gaignard a écrit :

Quoted 4 lines

After testing it is possible for the hardware to decode H264 bistream with a height up to 2560.

Thanks, this could possibly have a Fixes tag ?

Fixes cd33c830448ba ("media: rkvdec: Add the rkvdec driver")

With or without the that though:

Quoted 17 lines
---
 drivers/staging/media/rkvdec/rkvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/rkvdec/rkvdec.c +1 -1
index 134e2b9fa7d9..84a41792cb4b 100644
@@ -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,
#2 lore raw
In reply to Benjamin Gaignard
Quoted 2 lines

After testing it is possible for the hardware to decode H264 bistream with a height up to 2560.

Are imperative change descriptions still preferred?

See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.5-rc2#n94

Regards,
Markus

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip