| According to the complexity of the heterogeneous embedded systems, the paper mainly discusses the Actor-Oriented design methodology of the embedded system. PtolemyⅡ, which is based on Actor-Oriented design methodology and can be a variety of computational models for seamless integration, is proposed.In the paper, JPEG image processing system is used as the system example. The paper analysis the basic structure of the static image processing,and study the basic principle of the JPEG compression algorithm and JPEG decompression algorithm.Because of PtolemyⅡ doesn’t provide ator library of JPEG image processing system, the paper give the algorithm design process and algorithm design of the JPEG image processing system. The paper uses Ptolemyll to design the various actors of modules, that includes Dct actor, Quan actor, Entropy coding actor, Entropy decoding actor, Iquan actor, Idct actor and so on. Then, these actors are added into the PtolemyⅡ platform successfully,and the function of each actor of JPEG image processing of each module of the system are released. Finally, based on the actors hierarchy assembly, actors of JPEG coding system and JPEG decoding system have been realized, and reuse of actor can become a reality.Finally, the simulation results will be verified. The test result indicates that heterogeneous JPEG image processing system based on PtolemyⅡ can achieve the desired effect, and it improve that the reuse of the actors can become a reality. The paper also proves that the PtolemyⅡ can be a good way for the design of the heterogeneous embedded systems. |