This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM816X : Unable to get full performance for 2HD encoding on DM8168

Hi,

We are trying to capture and encode 2 streams using MPEG-2 encoder on DM8168 as below:

The setup/board details are as below:
Processor version: TI8168-GP rev 2.1
SDK version: sdk_03_01_15

1st instance: 1080i29.97(capture) -> 1080i29.97(Passthrough/Copy) ->1080i29.97(mpeg-2 encoding)

2nd instance: 1080i29.97(capture) -> 720p59.94 (De-interlace/scaling) -> 720p59.94(mpeg-2 encoding)

We were using DEI-M for 2nd instance and DEI-H for 1st instance.

In the above configuration, the first instance goes non real-time and the output of the encoder is around 25 to 27 fps output. The frames are dropped in the capture component. This drop in frame rate results in jerky video motion when the encoded stream of 1st instance is decoded and played out.

The ARM load (under 50%), VPSS(70% to 80%) load and VICP(~60%) load are all under acceptable range.

We have observed the issue on the DM816x where DDR is clocked at 729MHz, HDVICP clocked at 600MHz, VPSS at 492MHz, ARM is 987 MHz

We calculated the DDR bandwidth required for the above configuration and it is around 3500MBps which is around ~60% of the available bandwidth.

But, however when we tested the above use case on another board with DDR clocked at 796 MHz, the above issue was not seen. The DDR usage on this board would be around 54%. We were wondering if this 6% DDR bandwidth difference can cause the above issue. Because on both the boards the DDR usage is under 60%. 

Please share your thoughts on the above issue and any suggestions on optimization will be helpful.

Thanks and regards,
Durgesh