hi all,
 
I developed my own codec and in the code I delete the codec using 
void ceapp_exit()
{
    // teardown the codecs and the engine 
    if (decHandle != NULL) {
        VIDDEC_delete(decHandle);
    }
    //close tracing thread
    TraceUtil_stop();   
    if (ceHandle != NULL) {
        Engine_close(ceHandle);
    }
}
And init the codec ever movie using 
int ceapp_init()
{
    // nonzero means failure
    int status = -1;    
    Cache_others=1;
 
    // reset, load, and start DSP Engine 
    if ((ceHandle = Engine_open(engineName, NULL, NULL)) == NULL) 
    {
        printf("CEapp-> ERROR: can't open engine %s\n", engineName);
        goto init_end;
    }
    else
        printf(">>CEapp-> Engine opened %s\n", engineName);
 
    // activate DSP trace collection thread 
    TraceUtil_start(engineName);
 
    // allocate and initialize video decoder on the engine 
    decHandle = VIDDEC_create(ceHandle, decoderName, NULL);
    if (decHandle == NULL) 
    {
        printf("CEapp-> ERROR: can't open codec %s\n", decoderName);
        goto init_end;
    }
    // success 
    status = 0;     
 
init_end:
 
    return status;
}
 
It works fine for a while but some times I get this error message when deleting 
"@0x13ce1127:[T:0x44257b60] OP - Processor_delete_d> Destroying DSP FAILED, 
status=0x80008008"
 
And the movie image is displayed corrupted 
Can any body tell me why it occurs?
-----------------------------
thanks in advance
 
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/photos.aspx
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to