We're hiring!
*

Mainline Linux gains accelerated video decoding for Microchip's SAMA5D4

Emil Velikov avatar

Emil Velikov
May 11, 2021

Share this post:

Reading time:

Lately at Collabora, we have been working on the next generation of video codec devices. Stateless hardware accelerators provide more control over the codec pipeline resulting in improved power savings among other benefits.

One of these devices is the VeriSilicon's Hantro Codec. It is featured on a number of SoC from Rockchip to NXP's i.MX8 series. Recently one of our colleagues, Benjamin Gaignard, has been working on HEVC/H.265 support for the NXP's i.MX8 M

I'm pleased to share that the Hantro V4L2 kernel module has gained support for another SoC, the Microchip SAMA5D4. The device features a single decode unit supporting MPEG2, VP8 and H.264 streams, alongside the built-in post-processing unit.

The patches are to be included in linux v5.14 as per the pull request sent by Video4Linux2 maintainer Hans Verkuil.

As we look into the patches, alongside the SoC specific changes, only very minor improvements were required to the core Hantro V4L2 driver. The clean integration of the patch series illustrates how well the existing driver was designed. A design made in the open with input and contributions from different parties - the essence of open-source.

The series bring in another important aspect - supporting more SoCs allows us to stabilize, and cement really, the userpace API (uAPI) as we saw recently with Linux v5.11 and H.264.

The device itself passes the v4l2-compliance test suite as well as the vast majority of the official comformance samples through the fluster tool VP8 and H.264 GStreamer test suites.

Alongside this work, our colleagues have been investigating the remaining tests, working on performance improvements within GStreamer, adding VP9 decoding and many others.

Do you have a platform that includes hardware codecs? Do you need help with media hardware and Linux? Or with GStreamer? Contact us!

Comments (0)


Add a Comment






Allowed tags: <b><i><br>Add a new comment:


Search the newsroom

Latest Blog Posts

PipeWire workshop 2025: Updates on video transport, Rust efforts, TSN networking, and Bluetooth support

03/07/2025

As part of the activities Embedded Recipes in Nice, France, Collabora hosted a PipeWire workshop/hackfest, an opportunity for attendees…

Coccinelle for Rust progress report

25/06/2025

In collaboration with Inria, the French Institute for Research in Computer Science and Automation, Tathagata Roy shares the progress made…

Linux Media Summit 2025 recap

23/06/2025

Last month in Nice, active media developers came together for the annual Linux Media Summit to exchange insights and tackle ongoing challenges…

Constructor acquires, destructor releases

09/06/2025

In this final article based on Matt Godbolt's talk on making APIs easy to use and hard to misuse, I will discuss locking, an area where…

What if C++ had decades to learn?

21/05/2025

In this second article of a three-part series, I look at how Matt Godbolt uses modern C++ features to try to protect against misusing an…

Unleashing gst-python-ml: Python-powered ML analytics for GStreamer pipelines

12/05/2025

Powerful video analytics pipelines are easy to make when you're well-equipped. Combining GStreamer and Machine Learning frameworks are the…

Open Since 2005 logo

Our website only uses a strictly necessary session cookie provided by our CMS system. To find out more please follow this link.

Collabora Limited © 2005-2025. All rights reserved. Privacy Notice. Sitemap.