Skip to content

Conversation

erwango
Copy link
Member

@erwango erwango commented Sep 30, 2025

Aim is to get #92884 and #95862 together and build them

Copy link

github-actions bot commented Sep 30, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
hal_stm32 zephyrproject-rtos/hal_stm32@dc7c254 (main) zephyrproject-rtos/hal_stm32#295 zephyrproject-rtos/hal_stm32#295/files

DNM label due to: 1 project with PR revision

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@github-actions github-actions bot added manifest manifest-hal_stm32 DNM (manifest) This PR should not be merged (controlled by action-manifest) labels Sep 30, 2025
@erwango erwango force-pushed the venc_full branch 4 times, most recently from 498c109 to 480069b Compare October 1, 2025 09:50
erwango and others added 21 commits October 1, 2025 12:07
Phy modes declarations where not correctly placed for use with N6 series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Compilers may not like that attributes are provides in actual and extern
definitions of symbols.
Removing them from extern definitions

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Rather than symbol coming from the HAL, use zephyr `__aligned()` macro.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Twister netif:eth was missing on stm32n6 based board and hence they
were not build against net samples.
Fix this.

Additionally, on dk, fix `pwm` to respect alphabetical order.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Add sizeimage field to video_format structure.
This is the maximum size in bytes required for buffer data.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Pull hal_stm32 vc8000nanoe library.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Addition of description for the STM32 Video encoder (VENC).

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
The STM32 video encoder (VENC) peripheral is a hardware
accelerator allowing to compress RGB/YUV frames into
H264 video bitstream chunks.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Add node describing the venc in stm32n6.dtsi

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Add the zephyr,videoenc chosen node documentation for hardware
video encoder support such as H264 or MJPEG video encoder.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Sync with video capture sample.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Allow to configure the number of allocated capture frames.
This allows to make tradeof between framerate versus memory usage.
2 buffers allows to capture while sending data (optimal framerate).
1 buffer allows to reduce memory usage but capture framerate is lower.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Add video compression support to lowerize network bandwidth.

To visualise camera content on host PC, use GStreamer command line:
$> gst-launch-1.0 tcpclientsrc host=<board ip address> port=5000 ! decodebin ! autovideosink sync=false

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Add configuration files for the stm32n6570_dk board.

This enables streaming over ethernet of the images captured by
MB1854 camera module compressed in 1920x1080 H264 video bitstream.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
root@stm32mp2:~# gst-launch-1.0 tcpclientsrc host=192.168.0.4 port=5000 ! queue ! decodebin ! queue ! fpsdisplaysink sync=false video-sink="waylandsink fullscreen=true"
Twister netif:eth was missing on stm32n6 based board and hence they
were not build against net samples.
Fix this.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Phy modes declarations where not correctly placed for use with N6 series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Add video compression support to lowerize network bandwidth.

To visualise camera content on host PC, use GStreamer command line:
$> gst-launch-1.0 tcpclientsrc host=<board ip address> port=5000 ! decodebin ! autovideosink sync=false

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Add YUV420 semi-planar support (NV12).
This is the video encoder prefered pixel format.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Required to build VIDEO_STM32_VENC.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Copy link

sonarqubecloud bot commented Oct 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DNM (manifest) This PR should not be merged (controlled by action-manifest) manifest manifest-hal_stm32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants