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

Mesa CI and the power of pre-merge testing

08/10/2024

Having multiple developers work on pre-merge testing distributes the process and ensures that every contribution is rigorously tested before…

A shifty tale about unit testing with Maxwell, NVK's backend compiler

15/08/2024

After rigorous debugging, a new unit testing framework was added to the backend compiler for NVK. This is a walkthrough of the steps taken…

A journey towards reliable testing in the Linux Kernel

01/08/2024

We're reflecting on the steps taken as we continually seek to improve Linux kernel integration. This will include more detail about the…

Building a Board Farm for Embedded World

27/06/2024

With each board running a mainline-first Linux software stack and tested in a CI loop with the LAVA test framework, the Farm showcased Collabora's…

Smart audio filters with WirePlumber 0.5

26/06/2024

WirePlumber 0.5 arrived recently with many new and essential features including the Smart Filter Policy, enabling audio filters to automatically…

The latest on cmtp-responder, a permissively-licensed MTP responder implementation

12/06/2024

Part 3 of the cmtp-responder series with a focus on USB gadgets explores several new elements including a unified build environment with…

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-2024. All rights reserved. Privacy Notice. Sitemap.