Hi Steve,

What target - DM6446?
What version of Codec Engine?
What version of the AAC encoder?
What params are you passing to _create call?
What dynamicParams are you configuring in _control()?
What args are you passing to _process()?

Cheers,
~Roger

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Pantelic
Sent: 05 August 2008 06:48
Cc: [email protected]
Subject: Re: XDAIS process error codes

Stephen Berry wrote:
> I'm having some trouble determining the error code that I'm receiving
> from a process call to the "new" AAC encoder I'm trying to integrate.
>
>  >>From what I can tell - the encoder isn't even being called (but I'm
> not positive) and some wrapper is failing the call first.
>
> This is the function call:
>
>    error = AUDENC_process(encHandle, &inBuf, &outBuf,
>                    (IAUDENC_InArgs *)&inArgs, (IAUDENC_OutArgs *)&outArgs);
>
> And from reading the setup of the AAC codec I can see that it is
> inheriting the ti.sdo.ce.audio calls...
>
> So - when I get an error return (-1), I check the extended error codes:
>
>         printf("CEapp extended error code
> 0x%x\n",outArgs.s_iaudenc_out_args.extendedError);
>
> which give me 0x8000. This looks like a real nice number, but I have no
> clue what it means.
>
> Is there a document somewhere that tells me what the extendedError codes
> are?

there are some error codes set down in CE/cetools/packages/ti/xdais/dm/xdm.h, 
but in your case it is just the generic
FATAL error being flagged:

     XDM_FATALERROR = 15          /**< Bit 15 - Fatal error (stop the codec).
                                   *   If there is an error and this
                                   *   bit is not set, the error is a
                                   *   recoverable one.
                                   *
                                   *   @remarks  This error is set when the
                                   *             algorithm cannot
                                   *             recover from the
                                   *             current state.  It
                                   *             informs the system not
                                   *             to try the next frame
                                   *             and possibly delete
                                   *             the multimedia
                                   *             algorithm instance.  It
                                   *             implies the codec
                                   *             shall not work when
                                   *             reset.
                                   *
                                   *   @remarks  The user should delete the
                                   *             current instance of
                                   *             the codec.
                                   */


without knowing how and what you integrated it's difficult to give further help.

Regards,

Vladimir

_______________________________________________
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

Reply via email to