TI E2E Community
Digital Signal Processors (DSP)
DaVinci™ Video Processors
DM64x DaVinci Video Processor Forum
problem with VIDDEC2_process
I have a sequence with P P P ... I frames in which P frame occurs before SPS and IDR.
When I decode the first P frame by calling VIDDEC2_process(hVd->hDecode, &inBufDesc, &outBufDesc, &inArgs, &outArgs).
The VIDDEC2_process returns with outArgs.outBufsInUseFlag = 1.
I found the following from user guide:
outBufsInUseFlag - Flag to indicate that the outBufs provided with the process() call are in use. No outBufs are required to be supplied with the next process() call.
So my question is, what should I do in next process?
I have tried the following, all fails.
A. VIDDEC2_process(hVd->hDecode, &inBufDesc, NULL, &inArgs, &outArgs)
outBufDesc.numBufs = 0;
VIDDEC2_process(hVd->hDecode, &inBufDesc, &outBufDesc, &inArgs, &outArgs)
outBufDesc.bufs = NULL;
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.