jp_liu, A non-fatal error such as a bit error, or a corrupted header, will make the demo reject the frame. Look in xdm.h for the XDM_ErrorBit for a list of extended errors. Regards, Niclas
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jp_liu Sent: Tuesday, March 06, 2007 5:14 AM To: davinci-linux-open-source Subject: why ti-h264-decoder reject frames? Hello, davinci-linux-open-source In demo code, function decodeVideoBuffer(), it will reject frames but return SUCCESS. status = VIDDEC_process(hDecode, &inBufDesc, &outBufDesc, &inArgs, &outArgs); if (status != VIDDEC_EOK) { if (status == VIDDEC_ERUNTIME || XDM_ISFATALERROR(outArgs.extendedError)) { return FAILURE; } else { stats->framesRejected++; return SUCCESS; } } what reason can cause ti-h264-decoder reject frames? jp_liu, [EMAIL PROTECTED] <mailto:<!--AID_FROMADDRESS_BEGIN-->[EMAIL PROTECTED]<!--AID_FROMADDRES S_END-->> 2007-03-06
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
