Hi all,
I've been trying to get the eval JPEG encoder working which comes with the DVSDK_1_11_00_00_DM648 version of the DVSDK, without success. What's strange is that I've been able to get the sample application within codecs_1_10_evmDM648\packages-evaluation\ti\sdo\codecs\jpegenc working without problems. My application is able to create the JPEG instance and initialize the dynamic parameters. Everything is fine until the call to process() which fails with error 40960 (with 0 bytes generated). As far as I can tell, the code in my application is configuring the encoder the same way as the sample (including image size and format), so I've been trying to check out the differences between the applications. Here's what I know differ between the working sample and my application so far:
- The sample application is being run on the DM648 EVM board, while my application runs on a custom DM647 board. Is there a know problem running the JPEG encoder on a 647? Note that I have been able to get both the AVC and MPEG4 encoders working on the 647.
- The sample application is being configured to run only the JPEG encoder while my application is configuring the JPEG encoder along with either the AVC or MPEG4 encoder. Is there a resource conflict between the JPEG encoder and the AVC/MPEG4 encoders which would cause JPEG to fail?
- My application is using the XDC packages to include/link with other packages including the video port driver, AVC/MPEG4 encoders, EDMA, PCI, etc. From the other sample application in the DVDSK, I assumed this was the correct way to do things, but the JPEG sample application includes and links with external packages directly - actually the alg code in the sample seems to have been modified and linked directly with the application. Are there known conflicts between the JPEG encoder and other packages when included using the XDC packaging system?
Thanks,
Peter