Mat, thanks for posting the follow-up, I'm sure others will appreciate it. For the archives, the article Mat's referring to is here: http://wiki.davincidsp.com/index.php?title=Codec_Combos_Evaluation
I've updated the section with a little commentary to help explain the effect of the patch. Chris ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mat Laibowitz Sent: Monday, October 13, 2008 8:08 PM To: davinci-linux-open-source@linux.davincidsp.com Subject: Re: codec engine failed to create algorithm Well, I figured out the problem about five minutes after sending this email. I guess it is always helpful to formulate a question from the problem. The issue is on the wiki: The JPEG Encode v1.10 (sprc441) must be patched as follows because of a defect in the codec package. In the file dm6446_jpegenc_combo_1_10\packages-evaluation\ti\sdo\codecs\jpegenc\ce\JPEGENC.xdc disable the line referencing idma3Fxns with the string "DMJPGE_TIGEM_IDMA3". Not sure exactly what this means, but if the defect has to do with DMA, then it is understandable why it did not work and could not setup the codec's memory. I removed this line and it works fine. Thanks, -mat On Mon, Oct 13, 2008 at 10:19 PM, Mat Laibowitz <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Hi again. I have been able to get several apps running using codecs with codec engines. I am now trying to get the jpeg encoder evaluation codec from TI for the DM6446 working and having some problems. It compiles and runs, but exits with JPEG Encoder algorithm creation failed which is a result of this call: encHandle = IMGENC_create( pJpegencState->ce, "jpegenc", &encParams ); if(encHandle == Null) { printf("JPEG Encoder algorithm creation failed\n"); exit(1); } The CE debug trace is below. Does anyone know quickly why this could be happening? It seems like it cannot communicate with the codec being served. The rest of my codec engine based apps seem to run correctly. This could also be something in the way I am compiling this codec. Thanks, -mat @3,069,067us: [+0 T:0x4001c940 S:0xbedb4ad4] ti.sdo.ce.image.IMGENC - IMGENC_create> Enter (engine=0x2e880, name='jpegenc', params=0xbedb4bfc) @3,069,272us: [+0 T:0x4001c940 S:0xbedb4aa4] CV - VISA_create(0x2e880, 'jpegenc', 0xbedb4bfc, 0x828, 'ti.sdo.ce.image.IIMGENC') @3,069,444us: [+0 T:0x4001c940 S:0xbedb49d4] CV - VISA_create2(0x2e880, 'jpegenc', 0xbedb4bfc, 0x18, 0x828, 'ti.sdo.ce.image.IIMGENC') @3,069,647us: [+0 T:0x4001c940 S:0xbedb497c] CE - Engine_createNode(0x2e880, 'jpegenc', 828, 0xbedb4bfc, 0x18, 0xbedb4ad0) @3,069,870us: [+0 T:0x4001c940 S:0xbedb4954] OC - Comm_create> Enter(queueName='gppfromnode', queue=0x2eb50, attrs=0x0) @3,070,367us: [+0 T:0x4001c940 S:0xbedb4954] OC - Comm_create> return (0x2eb70) @3,070,586us: [+0 T:0x4001c940 S:0xbedb495c] OC - Comm_put> Enter(queue=0x0, msg=0x4148bc80) @3,070,802us: [+0 T:0x4001c940 S:0xbedb495c] OC - Comm_put> return (0) @3,070,968us: [+0 T:0x4001c940 S:0xbedb4954] OC - Comm_get> Enter(queue=0x10000, msg=0xbedb49d4, timeout=-1) @3,072,372us: [+0 T:0x4001c940 S:0xbedb4954] OC - Comm_get> return (0) @3,072,588us: [+0 T:0x4001c940 S:0xbedb4964] OC - Comm_delete> Enter (comm=0x2eb70) @3,073,187us: [+0 T:0x4001c940 S:0xbedb4974] OC - Comm_delete> return @3,073,398us: [+6 T:0x4001c940 S:0xbedb497c] CE - Engine_createNode> Remote node creation FAILED (0x80008008).
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source