Hi,
We use H.264 HP decoder 01.01.04.00. In some cases it does not release all the frames.
You can find demo that reproduces the issue by the following URL:
Facts about the demo:
- It runs on 8 cores
- Decoder works on first 4 cores
- Input is read in cycle from 0x90000000 address. You should load stream.264 file (from archive) that contains demo H.264 elementary stream by this address. Do it before running application using Load Memory tool.
- You can see from logs that decoder does not release all acquired input buffers. That is why with time application runs out of memory:
Frames hold by decoder 42
Reading input decoder buffer from beginning
inputID 148
[C66xx_3] Decoder process error -1. Extended error 0x1095 - non-fatal error
[C66xx_0] outputID 129
[C66xx_2] Decoder process error -1. Extended error 0x1095 - non-fatal error
[C66xx_0] freeBufID 129
freeBufID 148
Frames hold by decoder 41
Reading input decoder buffer from beginning
inputID 149
Frames hold by decoder 42
Reading input decoder buffer from beginning
inputID 150
freeBufID 150
Frames hold by decoder 42
Reading input decoder buffer from beginning
inputID 151
Frames hold by decoder 43
Reading input decoder buffer from beginning
inputID 152
[C66xx_3] Decoder process error -1. Extended error 0x1095 - non-fatal error
[C66xx_0] outputID 133
[C66xx_2] Decoder process error -1. Extended error 0x1095 - non-fatal error
[C66xx_0] freeBufID 133
freeBufID 152
Frames hold by decoder 42
Reading input decoder buffer from beginning
inputID 153
Frames hold by decoder 43
Reading input decoder buffer from beginning
inputID 154
freeBufID 154
Frames hold by decoder 43
Reading input decoder buffer from beginning
inputID 155
Frames hold by decoder 44
Reading input decoder buffer from beginning
[t=0x00000003:1157c42f] ti.sdo.ipc.heaps.HeapMemMP: ERROR: line 744: E_memory: Out of memory: handle=0x8460c8, size=2289280
ti.sdo.ipc.heaps.HeapMemMP: line 744: E_memory: Out of memory: handle=0x8460c8, size=2289280
Failed to create frame
Failed to create frame
[C66xx_1] Error in decoder on another core
Full log is also in archive.
I use the following components:
- XDCtools 3.30.3.47
- EDMALLD 2.11.11
- FC 3.30.0.06
- IPC 3.22.2.11
- SYS/BIOS 6.40.2.27
- H.264 decoder 01.01.04.00
Please help to resolve the issue.
Regards,
Andrey Lisnevich