h264 hardware encoding on Pinephone?
#1
Hi

Is h264 hardware encoding available on the pinephone? I looked at the status of Cedrus driver and it seems to me that only hardware decoding is working not encoding.


Am I wrong?

Thanks
  Reply
#2
The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.
  Reply
#3
(02-13-2021, 05:13 PM)barray Wrote: The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.

Yes, it's what I noticed also, there was quite some work on this but things like h264 encoding or more features for the h264 decoding were not implemented.

Anyone is working on this? If all Pinephone owners would crowdfound these features it would be nice I think.
  Reply
#4
(02-14-2021, 02:25 PM)vongillus Wrote:
(02-13-2021, 05:13 PM)barray Wrote: The A64 CPU will for sure allow for H264/H265 encoding and decoding, so it's just kernel support...

I spent a while checking out Mali 400 kernel driver support, but I am not sure the Mali 400 even handles the encoding/decoding - this may actually be something done by some other part of the A64 - i.e. in the video engine: https://www.cnx-software.com/wp-content/...iagram.jpg

If the support matrix in project Cedrus is anything to go by, it seems only partial support is achieved: https://linux-sunxi.org/Cedrus#Supported_codec_matrix

It seems like the work has been left in a nice place to pick up from though.

Yes, it's what I noticed also, there was quite some work on this but things like h264 encoding or more features for the h264 decoding were not implemented.

Anyone is working on this? If all Pinephone owners would crowdfound these features it would be nice I think.

Not just PinePhone, but also PinkBook (not PineBook Pro) and PineTab use the A64 - which seems really only half implemented in terms of silicon support. If anything ever becomes of the PineCom, the expected processor to use would be the A64.

I really wonder what is involved in such an engineering effort and how it could be possible for people to pick up from where they left off? The boards for testing on seem pretty cheap anyway... https://pine64.com/product/pine-a64-1gb-...46c16e2e66

If I could find out exactly where the current code is and how to work on it, could make for an interesting project.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Are you using the Pinephone as your daily driver? jro 28 3,196 06-11-2021, 04:31 PM
Last Post: OhneZ
  UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant) megous 145 92,779 06-11-2021, 09:42 AM
Last Post: lordnahte2
  Buiding apps for pinephone katesfb 6 429 06-10-2021, 10:52 PM
Last Post: katesfb
  Pinephone 3/32GB , convergence, beta edition for sale -- Europe(Czech republice) pom3ranc 0 79 06-09-2021, 07:29 AM
Last Post: pom3ranc
  The Best Feature of the PinePhone is... Dog House Dave 8 342 06-08-2021, 06:22 PM
Last Post: ryo
Heart What native PinePhone application would you like to see in the near future? kern707 61 8,846 06-05-2021, 04:13 PM
Last Post: AwHereWeGoAgain
  List of Pinephone browsers Gamey 15 2,888 06-04-2021, 11:22 AM
Last Post: ryo
  PinePhone Game Thread PixelPaintbrush 15 6,758 06-02-2021, 05:07 AM
Last Post: biketool
  How should pinephone integrate with Desktop? gamerminstrel 9 708 06-01-2021, 09:24 AM
Last Post: TRS-80
  Does the Pinephone rely on components built with slave labor? MirceaKitsune 8 402 05-31-2021, 02:46 PM
Last Post: zetabeta

Forum Jump:


Users browsing this thread: 1 Guest(s)