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.

Decode + display problems

Hello !

running  run_mcfw_demo script  in DM8168  board , choose 5 (decode+ display), reads 6 channels 1080p video files, the problem is as follows:


1. The program is how to read 6 channels 1080p video files at the same time, decoding, and    display? A8, M3VIDEO and M3VPSS  core is how to exchange data? Can you give me an explanation of the process in more detail ?

2.2.  VdecVdis_bitsRdGetEmptyBitBufs (& emptyBufList, resId);
         VdecVdis_bitsRdReadData (& emptyBufList, resId);
         VdecVdis_bitsRdSendFullBitBufs (& emptyBufList);  what are these three functions do detailed ?

 

  • 1. Refer the decode-display use case guide for more details. There is a data flow diagram at the top of each use file (in this case multich_vdec_vdis.c) which shows the data flow amongst the links involved.

    2. VdecVdis_bitsXXX APIs are app level APIs used for video bitstream data exchange. VdecVdis_bitsRdGetEmptyBitBufs () tries to get empty bitstream buffers from IPCBitsOut(HOST) link. The data flow starts with IPCBitsOut(HOST) link giving out data to Video M3. Once empty buffers are received, app fills in data via VdecVdis_bitsRdReadData() and then uses VdecVdis_bitsRdSendFullBitBufs () to give back buffers with encoded data to IPCBitsOut(HOST) which sends out to Video Core.

    Check the Link API training material for more details.