* [PATCH v12 1/6] firmware: meson: sm: video firmware loading via secure monitor
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
@ 2026-10-22 5:26 ` Zhentao Guo via B4 Relay
2026-10-22 5:27 ` [PATCH v12 2/6] firmware: meson: sm: Add video firmware loading SMC call Zhentao Guo via B4 Relay
` (5 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo via B4 Relay @ 2026-10-22 5:26 UTC (permalink / raw)
To: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Zhentao Guo
From: Zhentao Guo <zhentao.guo@amlogic.com>
Add SM_LOAD_VIDEO_FW to the secure monitor command enum
to allow decoder drivers to load firmware through the meson_sm
interface.
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
include/linux/firmware/meson/meson_sm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/firmware/meson/meson_sm.h b/include/linux/firmware/meson/meson_sm.h
index 3ebc2bd9a976..3b90b49d0552 100644
--- a/include/linux/firmware/meson/meson_sm.h
+++ b/include/linux/firmware/meson/meson_sm.h
@@ -15,6 +15,7 @@ enum {
SM_THERMAL_CALIB_READ,
SM_A1_PWRC_SET,
SM_A1_PWRC_GET,
+ SM_LOAD_VIDEO_FW,
};
struct meson_sm_firmware;
--
2.42.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH v12 2/6] firmware: meson: sm: Add video firmware loading SMC call
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
2026-10-22 5:26 ` [PATCH v12 1/6] firmware: meson: sm: video firmware loading via secure monitor Zhentao Guo via B4 Relay
@ 2026-10-22 5:27 ` Zhentao Guo via B4 Relay
2026-10-22 5:27 ` [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder Zhentao Guo via B4 Relay
` (4 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo via B4 Relay @ 2026-10-22 5:27 UTC (permalink / raw)
To: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Zhentao Guo
From: Zhentao Guo <zhentao.guo@amlogic.com>
Add SM_LOAD_VIDEO_FW at SMC ID 0xb200000f in the command
table to load video firmware.
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
drivers/firmware/meson/meson_sm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/firmware/meson/meson_sm.c b/drivers/firmware/meson/meson_sm.c
index ab9751a59b55..887caa5c625d 100644
--- a/drivers/firmware/meson/meson_sm.c
+++ b/drivers/firmware/meson/meson_sm.c
@@ -48,6 +48,7 @@ static const struct meson_sm_chip gxbb_chip = {
CMD(SM_THERMAL_CALIB_READ, 0x82000047),
CMD(SM_A1_PWRC_SET, 0x82000093),
CMD(SM_A1_PWRC_GET, 0x82000095),
+ CMD(SM_LOAD_VIDEO_FW, 0xb200000f),
{ /* sentinel */ },
},
};
--
2.42.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
2026-10-22 5:26 ` [PATCH v12 1/6] firmware: meson: sm: video firmware loading via secure monitor Zhentao Guo via B4 Relay
2026-10-22 5:27 ` [PATCH v12 2/6] firmware: meson: sm: Add video firmware loading SMC call Zhentao Guo via B4 Relay
@ 2026-10-22 5:27 ` Zhentao Guo via B4 Relay
2026-10-30 11:27 ` Krzysztof Kozlowski
2026-10-22 5:27 ` [PATCH v12 5/6] arm64: dts: amlogic: Add video decoder driver support for S4 SOCs Zhentao Guo via B4 Relay
` (3 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Zhentao Guo via B4 Relay @ 2026-10-22 5:27 UTC (permalink / raw)
To: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Zhentao Guo, Krzysztof Kozlowski
From: Zhentao Guo <zhentao.guo@amlogic.com>
Add bindings for Amlogic hardware decoder accelerator.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
.../devicetree/bindings/media/amlogic,s4-vdec.yaml | 114 +++++++++++++++++++++
1 file changed, 114 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/amlogic,s4-vdec.yaml b/Documentation/devicetree/bindings/media/amlogic,s4-vdec.yaml
new file mode 100644
index 000000000000..75b9ba3cb08d
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/amlogic,s4-vdec.yaml
@@ -0,0 +1,114 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright (C) 2025 Amlogic, Inc. All rights reserved
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/amlogic,s4-vdec.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Amlogic Video Decode Accelerator
+
+maintainers:
+ - Zhentao Guo <zhentao.guo@amlogic.com>
+
+description:
+ The Video Decoder Accelerator present on Amlogic SOCs.
+ It supports stateless h264 decoding.
+
+properties:
+ compatible:
+ const: amlogic,s4-vdec
+
+ reg:
+ maxItems: 2
+
+ reg-names:
+ items:
+ - const: dos
+ - const: dmc
+
+ interrupts:
+ maxItems: 2
+
+ interrupt-names:
+ items:
+ - const: hvdec
+ - const: vdec
+
+ clocks:
+ items:
+ - description: Clock for dos core
+ - description: Clock for vdec core
+ - description: Clock for hvdec core
+
+ clock-names:
+ items:
+ - const: dos
+ - const: vdec
+ - const: hvdec
+
+ power-domains:
+ maxItems: 2
+
+ power-domain-names:
+ items:
+ - const: vdec
+ - const: hvdec
+
+ resets:
+ maxItems: 1
+
+ amlogic,canvas:
+ description: Canvas maintains an index-to-physical-address
+ mapping table that allows the 16-bit AMRISC decoder core
+ to access 32-bit or 64-bit physical address.
+ $ref: /schemas/types.yaml#/definitions/phandle
+
+ amlogic,secure-monitor:
+ description: Used to decrypt and load the signed decoder
+ firmware through ARM SMC (Secure Monitor Call).
+ $ref: /schemas/types.yaml#/definitions/phandle
+
+required:
+ - compatible
+ - reg
+ - reg-names
+ - interrupts
+ - clocks
+ - clock-names
+ - power-domains
+ - power-domain-names
+ - resets
+ - amlogic,canvas
+ - amlogic,secure-monitor
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/amlogic,s4-pll-clkc.h>
+ #include <dt-bindings/clock/amlogic,s4-peripherals-clkc.h>
+ #include <dt-bindings/power/meson-s4-power.h>
+ #include <dt-bindings/reset/amlogic,meson-s4-reset.h>
+ video-codec@fe320000 {
+ compatible = "amlogic,s4-vdec";
+ reg = <0xfe320000 0x10000>,
+ <0xfe036000 0x20>;
+ reg-names = "dos",
+ "dmc";
+ interrupts = <GIC_SPI 91 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc_periphs CLKID_DOS>,
+ <&clkc_periphs CLKID_VDEC_SEL>,
+ <&clkc_periphs CLKID_HEVCF_SEL>;
+ clock-names = "dos",
+ "vdec",
+ "hvdec";
+ power-domains = <&pwrc PWRC_S4_DOS_VDEC_ID>,
+ <&pwrc PWRC_S4_DOS_HEVC_ID>;
+ power-domain-names = "vdec",
+ "hvdec";
+ resets = <&reset RESET_DOS>;
+ amlogic,canvas = <&canvas>;
+ amlogic,secure-monitor = <&sm>;
+ };
--
2.42.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder
2026-10-22 5:27 ` [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder Zhentao Guo via B4 Relay
@ 2026-10-30 11:27 ` Krzysztof Kozlowski
2026-10-30 11:57 ` Zhentao Guo
0 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-30 11:27 UTC (permalink / raw)
To: zhentao.guo, Nicolas Dufresne, Neil Armstrong, Kevin Hilman,
Jerome Brunet, Martin Blumenstingl, Mauro Carvalho Chehab,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Krzysztof Kozlowski
On 22/10/2026 07:27, Zhentao Guo via B4 Relay wrote:
> From: Zhentao Guo <zhentao.guo@amlogic.com>
>
> Add bindings for Amlogic hardware decoder accelerator.
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
> ---
> .../devicetree/bindings/media/amlogic,s4-vdec.yaml | 114 +++++++++++++++++++++
> 1 file changed, 114 insertions(+)
I do not understand why, but people have comments here which they do not
express by reviewing/commenting, but sending some follow up patches.
This needs fixes then.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder
2026-10-30 11:27 ` Krzysztof Kozlowski
@ 2026-10-30 11:57 ` Zhentao Guo
0 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo @ 2026-10-30 11:57 UTC (permalink / raw)
To: Krzysztof Kozlowski, Nicolas Dufresne, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Krzysztof Kozlowski
Hi Krzysztof,
> On 22/10/2026 07:27, Zhentao Guo via B4 Relay wrote:
>> From: Zhentao Guo <zhentao.guo@amlogic.com>
>>
>> Add bindings for Amlogic hardware decoder accelerator.
>>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
>> Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
>> ---
>> .../devicetree/bindings/media/amlogic,s4-vdec.yaml | 114 +++++++++++++++++++++
>> 1 file changed, 114 insertions(+)
> I do not understand why, but people have comments here which they do not
> express by reviewing/commenting, but sending some follow up patches.
>
> This needs fixes then.
You mean the patchset from Christian? Indeed, Christian did not give me
review comments before posting his modification patches, nor did he add
the other codec formats based on my latest patchset. I have already
reminded him of this.
>
> Best regards,
> Krzysztof
BRs
Zhentao
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH v12 5/6] arm64: dts: amlogic: Add video decoder driver support for S4 SOCs
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
` (2 preceding siblings ...)
2026-10-22 5:27 ` [PATCH v12 3/6] media: dt-bindings: Add Amlogic V4L2 video decoder Zhentao Guo via B4 Relay
@ 2026-10-22 5:27 ` Zhentao Guo via B4 Relay
2026-10-22 5:27 ` [PATCH v12 6/6] arm64: defconfig: Enable CONFIG_VIDEO_AMLOGIC_VDEC Zhentao Guo via B4 Relay
` (2 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo via B4 Relay @ 2026-10-22 5:27 UTC (permalink / raw)
To: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Zhentao Guo
From: Zhentao Guo <zhentao.guo@amlogic.com>
Add vdec node to enable Amlogic V4L2 stateless video decoder
support. Since the video fw needs to be loaded via TEE helpers,
enable the optee node in this patch.
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 33 +++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
index 2a6fbd530836..7a1dcb3951c8 100644
--- a/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-s4.dtsi
@@ -80,6 +80,11 @@ pwrc: power-controller {
#power-domain-cells = <1>;
};
};
+
+ optee {
+ compatible = "linaro,optee-tz";
+ method = "smc";
+ };
};
saradc: adc@fe026000 {
@@ -907,5 +912,33 @@ emmc: mmc@fe08c000 {
assigned-clocks = <&clkc_periphs CLKID_SD_EMMC_C>;
assigned-clock-rates = <24000000>;
};
+
+ canvas: video-lut@fe036048 {
+ compatible = "amlogic,canvas";
+ reg = <0x0 0xfe036048 0x0 0x14>;
+ };
+
+ video-codec@fe320000 {
+ compatible = "amlogic,s4-vdec";
+ reg = <0x0 0xfe320000 0x0 0x10000>,
+ <0x0 0xfe036000 0x0 0x20>;
+ reg-names = "dos",
+ "dmc";
+ interrupts = <GIC_SPI 91 IRQ_TYPE_EDGE_RISING>,
+ <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc_periphs CLKID_DOS>,
+ <&clkc_periphs CLKID_VDEC_SEL>,
+ <&clkc_periphs CLKID_HEVCF_SEL>;
+ clock-names = "dos",
+ "vdec",
+ "hvdec";
+ power-domains = <&pwrc PWRC_S4_DOS_VDEC_ID>,
+ <&pwrc PWRC_S4_DOS_HEVC_ID>;
+ power-domain-names = "vdec",
+ "hvdec";
+ resets = <&reset RESET_DOS>;
+ amlogic,canvas = <&canvas>;
+ amlogic,secure-monitor = <&sm>;
+ };
};
};
--
2.42.0
^ permalink raw reply related [flat|nested] 12+ messages in thread* [PATCH v12 6/6] arm64: defconfig: Enable CONFIG_VIDEO_AMLOGIC_VDEC
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
` (3 preceding siblings ...)
2026-10-22 5:27 ` [PATCH v12 5/6] arm64: dts: amlogic: Add video decoder driver support for S4 SOCs Zhentao Guo via B4 Relay
@ 2026-10-22 5:27 ` Zhentao Guo via B4 Relay
[not found] ` <20261022-b4-s4-vdec-upstream-v12-4-616240978792@amlogic.com>
2026-10-30 14:24 ` [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Wojciech Biegański
6 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo via B4 Relay @ 2026-10-22 5:27 UTC (permalink / raw)
To: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, Zhentao Guo
From: Zhentao Guo <zhentao.guo@amlogic.com>
Enable the Amlogic V4L2 stateless video decoder driver as a module
in the arm64 defconfig to support stateless video decoder on Amlogic
SoCs. The driver is used by Amlogic S4 platform, such as S805X2
board.
Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7b4985b29b21..f00c8a418a46 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -929,6 +929,7 @@ CONFIG_USB_VIDEO_CLASS=m
CONFIG_V4L_PLATFORM_DRIVERS=y
CONFIG_SDR_PLATFORM_DRIVERS=y
CONFIG_V4L_MEM2MEM_DRIVERS=y
+CONFIG_VIDEO_AMLOGIC_VDEC=m
CONFIG_VIDEO_AMPHION_VPU=m
CONFIG_VIDEO_CADENCE_CSI2RX=m
CONFIG_VIDEO_WAVE_VPU=m
--
2.42.0
^ permalink raw reply related [flat|nested] 12+ messages in thread[parent not found: <20261022-b4-s4-vdec-upstream-v12-4-616240978792@amlogic.com>]
* Re: [PATCH v12 4/6] decoder: Add V4L2 stateless H.264 decoder driver
[not found] ` <20261022-b4-s4-vdec-upstream-v12-4-616240978792@amlogic.com>
@ 2026-10-30 11:30 ` Krzysztof Kozlowski
2026-10-30 11:51 ` Zhentao Guo
0 siblings, 1 reply; 12+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-30 11:30 UTC (permalink / raw)
To: zhentao.guo, Nicolas Dufresne, Neil Armstrong, Kevin Hilman,
Jerome Brunet, Martin Blumenstingl, Mauro Carvalho Chehab,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree
On 22/10/2026 07:27, Zhentao Guo via B4 Relay wrote:
> From: Zhentao Guo <zhentao.guo@amlogic.com>
>
> Add initial support for V4L2 stateless video decoder
> driver on Amlogic S4(S805X2) platform. In phase 1,
> it supports 8bit H.264 bitstreams decoding. Currently
> only progressive streams are supported.
Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
You already received this comment, no?
>
> Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
Anyway, several issues were reported here in separate threading.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH v12 4/6] decoder: Add V4L2 stateless H.264 decoder driver
2026-10-30 11:30 ` [PATCH v12 4/6] decoder: Add V4L2 stateless H.264 decoder driver Krzysztof Kozlowski
@ 2026-10-30 11:51 ` Zhentao Guo
0 siblings, 0 replies; 12+ messages in thread
From: Zhentao Guo @ 2026-10-30 11:51 UTC (permalink / raw)
To: Krzysztof Kozlowski, Nicolas Dufresne, Neil Armstrong,
Kevin Hilman, Jerome Brunet, Martin Blumenstingl,
Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree
Hi Krzysztof,
> On 22/10/2026 07:27, Zhentao Guo via B4 Relay wrote:
>> From: Zhentao Guo <zhentao.guo@amlogic.com>
>>
>> Add initial support for V4L2 stateless video decoder
>> driver on Amlogic S4(S805X2) platform. In phase 1,
>> it supports 8bit H.264 bitstreams decoding. Currently
>> only progressive streams are supported.
> Please wrap commit message according to Linux coding style / submission
> process (neither too early nor over the limit):
> https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
>
> You already received this comment, no?
Thanks for pointing out again, I'll check carefully here as well as in
other places.
>> Signed-off-by: Zhentao Guo <zhentao.guo@amlogic.com>
> Anyway, several issues were reported here in separate threading.
>
> Best regards,
> Krzysztof
Best regards,
Zhentao
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4
2026-10-22 5:26 [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Zhentao Guo via B4 Relay
` (5 preceding siblings ...)
[not found] ` <20261022-b4-s4-vdec-upstream-v12-4-616240978792@amlogic.com>
@ 2026-10-30 14:24 ` Wojciech Biegański
2026-10-30 15:10 ` Nicolas Dufresne
6 siblings, 1 reply; 12+ messages in thread
From: Wojciech Biegański @ 2026-10-30 14:24 UTC (permalink / raw)
To: Zhentao Guo
Cc: Nicolas Dufresne, Neil Armstrong, Kevin Hilman, Jerome Brunet,
Martin Blumenstingl, Mauro Carvalho Chehab, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel,
linux-amlogic, linux-kernel, linux-media, devicetree,
Krzysztof Kozlowski
Hi,
I tested v12 series on AQ222 board with v7.2-rc1. Firmware version:
'v0.4.ff.I0c83495.75444b3' build 'Thu Apr 16 18:18:55 2026'.
RAW NV12 frames at the decoder output were visually OK across typical
resolutions and H.264 profiles (main, high, baseline) with and without
B-frames in the stream, also with I-frames only streams. I used Gstreamer's
(ver. 1.26) 'v4l2slh264dec' element on Trixie with both mmap and DMA-bufs
buffering (on the capture queue only). Input bitstreams where
FFmpeg-generated (testsrc2 + libx264) or publicly available test videos.
Decoder (and the output) remained stable with simulated (non key) frame
drop at max resolution (1920x1088, noise generated by FFmpeg's bitstream
filter).
The performance at max resolution, tested with 'filesrc ! parsebin !
v4l2slh264dec ! fakevideosink' pipeline was ~85 fps (fixed number of
outputted frames divided by the total execution time).
Tested-by: Wojciech Biegański <wbieganski@baylibre.com>
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4
2026-10-30 14:24 ` [PATCH v12 0/6] Add Amlogic stateless H.264 video decoder for S4 Wojciech Biegański
@ 2026-10-30 15:10 ` Nicolas Dufresne
0 siblings, 0 replies; 12+ messages in thread
From: Nicolas Dufresne @ 2026-10-30 15:10 UTC (permalink / raw)
To: wbieganski
Cc: zhentao.guo, neil.armstrong, khilman, jbrunet,
martin.blumenstingl, mchehab, robh, krzk+dt, conor+dt,
linux-arm-kernel, linux-amlogic, linux-kernel, linux-media,
devicetree, krzysztof.kozlowski
Hi,
---- Le ven., 30 oct. 2026 10:24:06 -0400 wbieganski@baylibre.com a écrit ----
> Hi,
> I tested v12 series on AQ222 board with v7.2-rc1. Firmware version:
> 'v0.4.ff.I0c83495.75444b3' build 'Thu Apr 16 18:18:55 2026'.
That reminded me, is that firmware in linux-firmware?
Nicolas
>
> RAW NV12 frames at the decoder output were visually OK across typical
> resolutions and H.264 profiles (main, high, baseline) with and without
> B-frames in the stream, also with I-frames only streams. I used Gstreamer's
> (ver. 1.26) 'v4l2slh264dec' element on Trixie with both mmap and DMA-bufs
> buffering (on the capture queue only). Input bitstreams where
> FFmpeg-generated (testsrc2 + libx264) or publicly available test videos.
>
> Decoder (and the output) remained stable with simulated (non key) frame
> drop at max resolution (1920x1088, noise generated by FFmpeg's bitstream
> filter).
>
> The performance at max resolution, tested with 'filesrc ! parsebin !
> v4l2slh264dec ! fakevideosink' pipeline was ~85 fps (fixed number of
> outputted frames divided by the total execution time).
>
> Tested-by: Wojciech Biegański
>
^ permalink raw reply [flat|nested] 12+ messages in thread