Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

illegal instruction in jpeg sample program

Edward_E_Intel
Employee
564 Views

I got an illegal instruction error with the jpeg sample program when it called ippiBGRToYCbCr411LS_MCU_8u16s_C3P3R in the encoder_init_alloc_jpeg function from jpgenc.c. (This may be the first ipp call in the jpeg program.)

The error occurred on a PXA255 machine (Stargate 1) running a 2.4.19 kernel (with FP emulation) with a file system built from the Familiar 0.7.2 feed (hardware emulated FP support).

However, it runs perfectly on a PXA271 machine (Stargate 2) running a 2.6.13 kernel (with FP emulation) with a file system built from the Familiar 0.8.2 feed (hardware emulated FP support) and a second file system build from the Open Zaurus 3.5.3 feed (software FP support).

Im suspect the problem is with the library support in the 0.7.2 feed. But I am unclear about ipp's platform dependencies. So, before I spend several days building a new file system for the Stargate 1, I would like a sanity check. What is the likely problem?

  • The old Familiar feed (0.7.2)
  • PXA 255
  • 2.4.19 kernel
  • Something else

I am using ipp 5.0 and iwmmxt 3.3.

Thanks

ed c.

0 Kudos
3 Replies
Vladimir_Dudnik
Employee
564 Views

Hi,

please submit your issue report to premier.intel.com.

You also can try to download IPP for IXP (it also supports PXA255 processor) from http://www.intel.com/cd/software/products/asmo-na/eng/perflib/ipp/index.htm. I also recommend you to take a look on set of media samples which available for IPP for IXP.

Regards,
Vladimir

0 Kudos
Edward_E_Intel
Employee
564 Views

Thanks for your response. The answer to my question may be that the PXA255 is not supported by ipp version 5.0. However, it is supported with 4.1. (I got it the jpeg sample program to work by moving to 4.1.)

Last night I discovered the release notes in the root directory of the ipp release. (Dont ask why it took me so long.) The release notes say that 5.0 was developed under the following environment:

Processor Intel XScale processor with Intel Wireless MMX technology, such as the Intel PXA27x Processor Family.

The release notes for 4.1 say:

Processor Intel PXA250, PXA255, PXA262, and PXA263 Processors with Intel XScale technology.

I am assuming that not mentioning the PXA255 in release 5.0 is significant.

ed c.

BTW: I also found the PXA targeted ipp reference manual in the release root. It answers many of my other questions that I posted.

0 Kudos
Vladimir_Dudnik
Employee
564 Views

Yes and no.

IPP v5.0 for PXA does not support PXA255 processors as it now focused on PXA27x processors. But yu can download IPP for IXP42x processors which are compatible by instruction set with PXA255 processors, so you can use new API from IPP v5.0 and run on old PXA255.

Note, that almost all IPP for IA samples are compatible with IPP for IXP (see particular sample's readme for details). For example, you can build media and JPEG samples.

Regards,
Vladimir

0 Kudos
Reply