Hi all,
We use DVRRDK_02.80.00.10 on DM8168 and test the decoder performance and memory usage.
We are trying to decode 1600x1200 video stream and find find its memory usage is bigger than 1920x1080 in H264 decoder lib.
Could anyone tell us why this video stream(1600x1200) consume so much memory ?
The memory is allocated by H264 codec lib.
If we input 1920x1080, the HDVICP will use
[m3video] 6873109: DECODE: Creating CH8 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:8933376
If we input 1600x1200, the HDVICP will use
[m3video] 621585: DECODE: Creating CH0 of 1600 x 1200 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:26939392
The above information is printed by DVRRDK_02.80.00.10 .
You can see the video size of 1600x1200 is smaller than 1920x1080, but the memory usage is bigger than 1920x1080.