Ntemis has quit [Remote host closed the connection]
dsd_ has joined #linux-amlogic
Elpaulo_m has quit [Ping timeout: 256 seconds]
<Ely>
gaah the HEVC decoder is driving me crazy. There's so much going on in there.
sputnik_ has quit [Remote host closed the connection]
a5m has quit [Remote host closed the connection]
<The_Coolest>
We believe in you Ely! :)
dsd_ has quit [Ping timeout: 245 seconds]
brujah has quit [Ping timeout: 264 seconds]
brujah has joined #linux-amlogic
tingoose has joined #linux-amlogic
tingoose_ has joined #linux-amlogic
<lvrp16>
Ely: I use to work for a H.265/VP9 video encoding company. Even with someone walking you through the commented code, it's a nightmare. I can't imagine what you are going through.
pionen has joined #linux-amlogic
commavir_ has quit [Quit: leaving]
commavir has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<Ely>
lvrp16: Oh man, an encoder must be 5x worse!
<Ely>
But what's giving me the most trouble is not necessarily the HEVC stuff itself. It's complex but somewhat manageable. What's horrible is that they changed the input/output design between every SoC, starting with GXL there's a s/g iommu in there, they started rolling out multi-instance firmware at some point, and the code is just full of ifdefs to handle all this.
<Ely>
It's a mess really
<Ely>
and I haven't confirmed this yet, but they seem to implement frame compression as well, because 4k60 Main10 is a huge deal bandwidth wise..
<Ely>
Thanks for the kind words The_Coolest :)
<The_Coolest>
:]
ldevulder has quit [Ping timeout: 260 seconds]
Elpaulo has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
dsd_ has joined #linux-amlogic
ldevulder has joined #linux-amlogic
<lvrp16>
Ely: encoders are corner case hell and they had scalable video coding on top of it all. that encoder was impressive by all metrics but you would never want to design hardware around that IP. S905X should be using AFBC. is the multi-instance firmware for protected video path or something?
<Ely>
multi instance means they can do scheduling on the same vdec core to decode multiple streams at the same time (with context save/restore), probably for PiP or something
<Ely>
AFBC = arm frame buffer compression ?
<lvrp16>
Ely: do you know how many streams? the datasheet mentions afbc numerous times for the codec portion so I assumed it is AFBC. not sure though.
<Ely>
Probably unlimited but with a performance hit everytime, and the buffers having to be alloced X times of course
<Ely>
You have a datasheet, lucky you :D
<xdarklight>
Ely: get the S912 datasheet from Khadas if you don't have it yet: http://linux-meson.com/doku.php#development_resources - it's not perfect but I believe it's the most complete thing that exists publicly
<xdarklight>
it has various matches if I search for "AFBC"
<Ely>
Can't believe I missed there were S905X and S912 datasheets out there.. Although they don't bring much more information than the HK S905 one
<Ely>
I guess it's possible the output is in afbc format, although the h264 vdec doesn't do that
Elpaulo has quit [Read error: Connection reset by peer]