ARM-based multicore platforms printer JPEG decoding engine design and implementation of high-speed

Author
ChenZhen
Advisor
YangXianYi
School
University of Electronic Science and Technology
Major
Information and Communication Engineering
Classification
TP334.8 Printing devices
Degree
Master's thesis
Year
2009
Downloads
106
Citations
0

Request the full text

Abstract

The majority of PCL printer drivers will convert the files that are being printed (including graphics and texts) into jpeg files, then send the jpeg files to the printer. This is because it will reduce the data that needs to be transferred to the printer and also greatly simplifies the development of the printer driver. Inside the printer, the JPEG files will be decoded into BMP files for further processing. The work of decoding JPEG files takes above half of the CPU time on a printer which works in such a way, so JPEG decoding engine is one of the cores of the printer device, and improving the JPEG decoding speed is important for the performance enhancement of the printer.And JPEG decoding is a CPU-bound job, to improve the speed there is two ways: one is getting a more effective algorithm, the other is using more powerful CPU to do the calculation. In the embeded environment with single CPU, JPEG decoding speed already nearly achieves the limit and it is difficult to have the promotion space. But recently the appearance of the embeded multi-core system provides the possibility for promoting the performance.This pager is based upon the Linux platform with ARM11 MPCore (4 core) processor, it designs and realizes a high-speed JPEG decoding engine for the PCL XL printer control language. The primary coverage is as follows:Analyzes and decodes the PCL XL files, then picks up JPEG files from them. Parallelizes the decoding of the JPEG file on embedded multi-core platform, and do optimizations on memory reading etc according to the characteristics of the very system.Designs and implements the multi-thread job dispatching algorithm based on multi-core system.Analyzes and summarizes the performance improvement compared to the single core system.Additionally, this paper briefly introduces ARM(SIMD) instruction sets and some concepts of insert-assembly and hardware.

Table of contents

Abstract 4-5 ABSTRACT 5-9 largely symbolic 9-11 Chapter Introduction 11-13 <br / > 1.1 Background 11-12 1.2 domestic development 12 1.3 thesis organization 12-13 Chapter 2 Technical background 13-25 2.1 printer Description 13-17 2.1.1 page description language 13-14 2.1.2 PostScript and PCL 14-16 2.1.3 JPEG decoding 16-17 2.2 development environment and hardware platforms 17-21 2.2.1 development Board : P811MPCore 17-19 2.2.2 chip : ARM11 MPCore 19 2.2.3 operating system 19-20 2.2.4 development tools and environments 20-21 2.3 ARM SIDM instructions Introduction 21-24 2.4 Summary 24-25 Chapter overall system design 25-33 3.1 client design 25-28 3.2 server -side design 28-29 3.3 internal structure 29-32 3.3.1 REQ_FILE structure 30 3.3.2 RESULT_INFO structure 30-31 3.3.3 RESULT_FILE structure 31 3.3.4 THREADS_ST_INFO structure 31-32 3.4 Summary 32-33 Chapter PCL XL file decoding 33-42 4.1 PCL common commands 33-37 4.2 PCL XL JPEG Compression Method (eJPEGCompression) 37-38 4.3 PCL XL parsing process analysis 38-42 Chapter JPEG parallel decoding algorithm 42-55 5.1 standard JPEG codec algorithm analysis 42-48 5.1.1 JPEG algorithm coding type 42 5.1 .2 operating mode 42-43 5.1.3 several basic coding methods and principles introduced 43-45 5.1.3.1 discrete cosine transform (DCT) and inverse discrete cosine transform (IDCT) 43 5.1.3.2 Huffman coding 43-44 5.1.3.3 Length Coding 44-45 5.1.4 JPEG compression principle 45-47 5.1.5 JPEG decoding algorithm principle 47-48 5.1.5.1 entropy decoder 47 5.1. 5.2 inverse quantization 47 5.1.5.3 IDCT transform 47-48 5.1.5.4 color space conversion 48 5.1.5.5 JPEG codec unit 48 5.2 parallelization algorithms 48-50 5.3 optimization 50-52 5.3.1 cache strategy 50 - 51 5.3.2 optimize memory access 51-52 5.4 SIMD 52-54 5.5 Summary 54-55 first chapters symmetric multi-processor multi- thread scheduling 55-75 6.1 SMP history 55-57 6.1.1 Amdahl law 55-56 <br / > 6.1.2 tightly coupled multiprocessing architecture 56-57 6.2 SMP Linux kernel 57-59 6.2.1 user space threads 58-59 < br /> 6.2.2 SMP kernel variable protection 59 6.3 Posix threads operating 59-66 6.3.1 thread creation and termination 59-60 < br /> 6.3.2 thread private data 60-62 6.3.3 thread synchronization 62-66 6.4 system thread scheduling and synchronization is achieved 66 -74 6.4.1 main thread start receiving suites word and generate thread 67-69 6.4.2 sub- thread receives PCL XL files , decoded and the resulting JPEG join the queue .. 69-71 6.4.3 parallel decoding module task queue 71-74 6.5 Chapter Summary 74-75 Chapter VII of the data analysis and conclusions 75-80 7.1 performance Measurement and parallel degree 75-78 7.1.1 data File 75 7.1.2 result data 75-77 7.1.3 analysis 77-78 7.2 Prospects 78-80 Thanks 80-81 <br / > References 81-83 attack Shuo research results achieved during the 83-84

Related dissertations

  1. Research and Implementation of Image Processing Techniques Based on Multi-core Processors
    ZhouQian ·Hefei University of Technology ·2012 ·Master's thesis
  2. The Research of Household Remote Monitoring Based on Embedded Web Server
  3. Remote Monitor System for Oil Wells Working Condition Based on GPRS
  4. Engine Room Monitoring System Based on the Embedded Web Server
  5. Research and Design of Intelligent Video Surveillance System Based on ARM
  6. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  7. The Design of Embedded Network Video Surveillance System Based on ARM9
  8. Data Acquisition System of Cavern Based on Embedded Web Server
  9. Research and Design of Remote Monitoring System Based on ARM
    LinFeiLong ·Hunan University ·2014 ·Master's thesis
  10. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  11. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  12. The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
  13. Study on ARM-based Embedded Monitoring and Measuring System of Refrigerated Vehicle for Fresh-keeping of Fruit and Vegetable
  14. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  15. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. Industrial Field Data Acquisition System Design Based on CAN Bus
  18. The Automatic Measurement System for Plumb-line
  19. Research on Distributed Industrial Signal Modularized Data Acquisition System Based on ARM
    CuiXiaoNan ·Hebei University of Technology ·2013 ·Master's thesis
  20. The Design of Four-channels High Speed Data Acquisition System Based on ARM