Hi
We do jpeg encoding in dsp, we feed YUV from arm through dsplink and got the jpeg picture back as same as dsplink demo scale does. But we found IIMGENC1fxns->process() will block forever after encoding for a while. If we start dm6446 from dsp-boot mode, our jpeg encode demo works well. We think we doesn't do the right thing in arm-boot mode.
After that, we do two simple dsp demo:
- dsp-boot mode, it read one frame of YUV from file via CCS and encode it to jpeg in a while() loop // OK
- arm-boot mode, it stops in while(1) at the beginning of main(), read one yuv from file via CCS and encode it in loop // Block in IIMGENC1fxns->process() after some while
I have following questions:
- Our demo code is ported from the demo in sprc343, deos there any different usage of sprc343 between dsp-boot mode and arm-boot mode?
- Does dsplink effect jpeg encoding? because if we choose dsp-boot mode, our jpeg encode demo doesn't config/init/use any dsplink features
- does there any "simplest config/usage" of jpeg encoding? ex. no-cache, less dependence, less system resource requirement.......
Thanks!