This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 JPEG Decoder Artifacts

Hi,

 We are running a fairly straightforward custom app based on dvsdk 3_10_00_19’s encode decode demo. Kernel is the Arago branch, 2.6.34. When we play back a motion Jpeg video, spurious black boxes (maybe 8x8 pixels) appear on the video. They seem to only last for a single frame at a time.

The same MJPEG played back on a PC looks fine.

If I change the DMA queue priorities in mach-davinci/dm365.c, I can “dial” the problem from better to worse, but never make it completely go away.

Since the artifacts look like macro blocks, rather than a DMA error (in that case I would expect lag, or whole lines of corrupted data instead of multi-pixel blocks), my guess is something is actually wrong with the JPEG decoder, but changing DMA priorities clearly has an impact.

 

Help?

 

Thanks!

Paul Stuart