Hello, VIDDEC_OutArgs.displayBufs.bufs[0] is supposed to be used by the codec to give you a buffer back for display. Due to B-frames, this may not be the same as the buffer you pass in to process (outBufs). This means that outBufs should be considered an input parameter to the codec (here's a buffer to fill).
A video decoder should always return the buffers for display using VIDDEC_OutArgs.displayBufs to allow the same application code to work for codecs which use B-frames (when display order is different from decode order). Regards, Niclas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of steven.zhang Sent: Tuesday, April 08, 2008 5:55 AM To: davinci Subject: outArgs.displayBufs.bufs[0] return NULL in TI decode demo, VIDDEC_process(hDecode, &inBufDesc, &outBufDesc, &inArgs, &outArgs); what is outArgs.displayBufs.bufs[0] used for? I try to use codec provide by other company, it always return NULL. However, ti codec does not. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
