Skip to content

Commit 1e95daf

Browse files
hfruchet-stADESTM
authored andcommitted
media: verisilicon: g1: add 4K 420 JPEG decode support
Add support of 4K in NV12 to support 4K 420 JPEG decoding. Change-Id: Ic57443a74ad8c3a34c5a81d0b809fcd115fbf79d Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/526709 ACI: CIBUILD <MDG-smet-aci-builds@list.st.com> Domain-Review: Hugues FRUCHET <hugues.fruchet@st.com> Domain-Review: Philippe CORNU <philippe.cornu@foss.st.com> ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com> Tested-by: Hugues FRUCHET <hugues.fruchet@st.com> Reviewed-by: Hugues FRUCHET <hugues.fruchet@st.com>
1 parent 781c59f commit 1e95daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/platform/verisilicon/stm32mp25_vpu_hw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ static const struct hantro_fmt stm32mp25_vdec_fmts[] = {
2222
.codec_mode = HANTRO_MODE_NONE,
2323
.frmsize = {
2424
.min_width = FMT_MIN_WIDTH,
25-
.max_width = FMT_FHD_WIDTH,
25+
.max_width = FMT_4K_WIDTH,
2626
.step_width = MB_DIM,
2727
.min_height = FMT_MIN_HEIGHT,
28-
.max_height = FMT_FHD_HEIGHT,
28+
.max_height = FMT_4K_HEIGHT,
2929
.step_height = MB_DIM,
3030
},
3131
},

0 commit comments

Comments
 (0)