Skip to content

Conversation

hfruchet-st
Copy link

@hfruchet-st hfruchet-st commented Jul 8, 2025

This PR introduces the VC8000NanoE software stack needed on top of STM32N6 VENC hardware peripheral in order to enable H264 hardware video compression.
This code comes from STM32CubeN6 firmware code located here: https://github.com/STMicroelectronics/STM32CubeN6/tree/main/Middlewares/Third_Party/VideoEncoder/source
Some changes have been made to comply with Zephyr build system and Zephyr kernel defines.
The debug trace system has been adapted and some trace points fixed.
Debug traces are enabled by setting CONFIG_VC8000NANOE_LOG_LEVEL >= LOG_LEVEL_DEBUG.

Copy link
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a README filr documenting lib origin, how it is maintained, potential add on fixes. See https://github.com/zephyrproject-rtos/hal_stm32/blob/main/lib/stm32wba/README.rst as exemple

@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_vc8000nanoe branch from d1e83c0 to 27d14f8 Compare September 23, 2025 15:43
Copy link

@mathieuchopstm mathieuchopstm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, a few remarks:

@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_vc8000nanoe branch 2 times, most recently from 3b12261 to 56e6af5 Compare September 29, 2025 09:57
@hfruchet-st hfruchet-st marked this pull request as ready for review September 29, 2025 09:58
Copy link

@mathieuchopstm mathieuchopstm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor points, LGTM otherwise.

@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_vc8000nanoe branch from 56e6af5 to 49962ab Compare September 29, 2025 13:58
Add VC8000NanoE H264 video encoding stack needed by
STM32 VENC peripheral to generate H264 compressed bitstream.

Signed-off-by: Hugues Fruchet <[email protected]>
Avoid bool redefinition.

Signed-off-by: Hugues Fruchet <[email protected]>
Avoid min/max redefinition.

Signed-off-by: Hugues Fruchet <[email protected]>
Add debug trace support.

Signed-off-by: Hugues Fruchet <[email protected]>
Fix some debug trace points.

Signed-off-by: Hugues Fruchet <[email protected]>
Fix build warnings.

Signed-off-by: Hugues Fruchet <[email protected]>
Add hardware config helper.

Signed-off-by: Hugues Fruchet <[email protected]>
Add some registers needed by ewl.

Signed-off-by: Hugues Fruchet <[email protected]>
@hfruchet-st hfruchet-st force-pushed the iso_stm32n6_vc8000nanoe branch from 49962ab to 4e59fcc Compare September 29, 2025 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants