nighty- has quit [Quit: Disappears in a puff of smoke]
<stdint>
Myy, which VPU
<stdint>
or you can just tell me the address you want to access
<stdint>
Myy, you can decode a single H264 frame as long as it is the I frame
<stdint>
But the SPS and PPS is still necessary
<stdint>
s/is/are/
return0e has quit [Remote host closed the connection]
<Myy>
Yeah, well, I'm just feeding registers prepared by RKMPP to the VPU. It seems that RKMPP already does all the preparation required. On my little test, I just change the file descriptors by preset DMA addresses and launch the decoding. The IRQ is triggered correctly however the output address looks untouched so I'm wondering what I'm missing.
<Myy>
I'm using the very first frame of an H264 movie as data. It doesn't seem to have any references beside itself. On the RKMPP side, all the "reference" registers are set to the output file descriptor.
<Myy>
There's only one register that bothers me, it's the DIR MV register, which purpose I don't understand.
<Myy>
I'm wondering if there's some timing/tempo to respect between setting up registers and launching a decode operation.
asciilifeform has joined #linux-rockchip
vstehle has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-rockchip
<stdint>
Myy, you may contact me on your time, I don't understand what you are doing
<stdint>
maybe after sleep, you would feel better
<Myy>
Alright
<Myy>
Technically, I'm just trying to decode a single static frame using the VPU, on mainline kernels. I used a 4.4 kernel with a modified version of RKMPP to dump the very first frame of an H264 movie, along with the registers sent to the VPU and the "QTable" which is the CABAC table with a few additional settings. I converted all these data (Encoded frame, Registers, Qtable) into C arrays. Then I created a driver for a 4.18 kernel
<Myy>
that allocate 3 DMA buffers for the encoded frame, the decoded output and the QTable, since the VPU needs the DMA addresses of these 3 elements to perform its work. I then used the dumped registers, changed the file descriptors references RKMPP used, to these DMA addresses accordingly. And then I'm executing a decoding pass. The thing is, the IRQ handler setup to the VPU is triggered but the DMA buffer allocated for the decoded
<Myy>
frame remains untouched.
<Myy>
I'll send you an email tonight (it's 4:30AM here) describing my current code and the issues I'm encountering.
<Myy>
If I could decode a single static frame correctly, I could then use this as a base to start porting the RKMPP service driver to 4.19 kernels.
anarsoul|2 has quit [Ping timeout: 260 seconds]
Myy has quit [Quit: Leaving]
asciilifeform has left #linux-rockchip [#linux-rockchip]
wzyy22222 has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-rockchip
vstehle has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-rockchip
aalm has quit [Quit: xyz 2.0.1]
_whitelogger has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
JohnDoe_71Rus has joined #linux-rockchip
hunderteins has joined #linux-rockchip
<hunderteins>
hello
vicencb has joined #linux-rockchip
hunderteins has quit [Quit: TinyIRC 1.1]
hunderteins has joined #linux-rockchip
afaerber has quit [Ping timeout: 265 seconds]
afaerber has joined #linux-rockchip
aalm has joined #linux-rockchip
s_frit has quit [Remote host closed the connection]