[FFmpeg-devel] HEVC decoder for Raspberry Pi

Michael Niedermayer michael at niedermayer.cc
Wed Nov 14 00:50:28 EET 2018


On Tue, Nov 13, 2018 at 03:52:18PM +0000, John Cox wrote:
> Hi
> I have been developing a hevc decoder for Raspberry Pi for some time
> now. As active development has now pretty much ceased and the code is
> believed stable it seems a good time to try presenting it to the group.
> You can find the current code on branch test/4.1.0/rpi_main in repo
> https://github.com/jc-kynesim/rpi-ffmpeg.git. It is based off tag n4.1
> so if you diff it against n4.1 you should get a patch.
> This code has been in use by the Raspberry Pi version of Kodi for over
> two years now.
> If you think it would be a good idea to add this to the main ffmpeg
> distribution then I am willing to put reasonable effort into beating it
> into an appropriate shape.
> If not then it contains a reasonable number of ARM asm functions and
> other code that you might like to take/adapt for the current decoder.
> You will find the config scripts I have been using and a few notes in
> the pi-util directory if you wish to try building it for yourself.
> Just in case it isn't obvious: this will only run on a Pi.  Slightly
> less obviously you need a Pi2 or better as the Pi0 & Pi1 don't have neon
> and are just too slow anyway.

others may have other oppinions, but i think optimized code in FFmpeg
for Pi would be a good idea.
How to integrate this best though i do not know. And i cant know as
i have just quickly scrolled over the changes not really looked in detail

But its certainly better to have hw optimizations in main git and
not have a seperate repository that needs to be maintained seperatly
for each platform ... and that the user has to find also ... and then
3rd party apps could have even more issues here  if they wanted to use
optimized libs ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181113/8de939f9/attachment.sig>

More information about the ffmpeg-devel mailing list