1. Decoding the data (by calling vdec2 (h262) family functions) &
2. Display (which actually puts the data on display device display_put())
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.
Hi Alok,
These seem to be error stream scenarios. Right? So perhaps appropriate error handling is what will resolve this. Please go over the codec documentation for error codes.
Can you please capture the stream where this scnario is repeatbale in your application? Random errors are way to too difficult to judge or root cause. So this steam based approach will help with consistent failure seen.
PS: I will point this thread to our MM codecs folks as well to justify the codec behavior.
Best Regards
Feroz
Hi Feroz,
As discussed, Currently it appears that the DVSDK does not address the problems mentioned and so we have to resort to some work around. One of the ways suggested to get around this problem was to track the buffers and maintain their "age", before deciding if they can be reclaimed by the buffer table. We are using MPEG2 and H.264 codecs (being executed on the DSP) in our application. Could you tell us what is the maximum lookahead value for each of the codecs? We will need this information from the codec team to test the suggested workaround.
Hi Alok,
Regarding age, firstly are you able to confirm on the theory that buffers are getting stuck?
Kindly post this question in the Mulitmedia codecs forum as this is Linux forum so the trigger will not go to that team.
Best Regards
Feroz
Hi Feroz,
Yes we have seen the buffers getting stuck as explained in the post above. We have now posted this query in the Multimedia codecs forum:
http://e2e.ti.com/support/embedded/multimedia_software_codecs/f/356/t/159134.aspx