CN100517459C - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- CN100517459C CN100517459C CNB2005800113649A CN200580011364A CN100517459C CN 100517459 C CN100517459 C CN 100517459C CN B2005800113649 A CNB2005800113649 A CN B2005800113649A CN 200580011364 A CN200580011364 A CN 200580011364A CN 100517459 C CN100517459 C CN 100517459C
- Authority
- CN
- China
- Prior art keywords
- data
- bus
- image
- cpu
- compression
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Digital Computer Display Output (AREA)
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
技术领域 technical field
本发明涉及进行图像数据的压缩/解压的图像处理装置。The present invention relates to an image processing device that performs compression/decompression of image data.
背景技术 Background technique
近年来,像便携式电话这样的电子机器,在显示图像数据的基础上,搭载电子照相机功能而对摄影的图像数据既显示又存储。从而,这样的电子机器,需要进行大量的图像数据的复杂的处理,一般使用采用CPU的图像处理装置(例如,专利文献1和2)。图3表示现有的图像处理装置的一例。该图像处理装置101,采用经由总线桥(bus bridge)11而结合高速总线10和外围总线(peripheral bus)12的总线结构(bus architecture),各种功能电路与两个总线10、12连接。即,下述部件与高速总线10连接:CPU13,其进行在图像处理等中所需的运算和控制;ROM14,其存储CPU13的处理程序;RAM15,其被用作CPU13所进行的运算的工作区等。再有,下述部件与外围总线12连接:帧存储器16,其保存来自电子照相机2的图像解压数据以及对来自主机装置4的图像压缩数据进行解压后的图像解压数据,并将该数据显示在LCD等显示面板3中;压缩/解压电路17,其进行图像解压数据的压缩和图像压缩数据的解压;数据收发用FIFO(FirstIn First Out)存储器18,其与主机装置4之间进行图像压缩数据的收发;和通用定时器电路19等。另外,图像处理装置101包括:帧存储器用寄存器20,其被CPU13读/写帧存储器16的数据;压缩/解压电路用寄存器21,其被CPU13读/写压缩/解压电路17的数据;和数据收发用寄存器22,其被CPU13读/写数据收发用FIFO存储器18的数据。另外,在本申请中,图像压缩数据是指已被压缩过的图像数据,图像解压数据是指未被压缩过的图像数据。In recent years, in addition to displaying image data, electronic devices such as mobile phones are equipped with an electronic camera function to both display and store captured image data. Therefore, such an electronic device needs to perform complex processing of a large amount of image data, and an image processing device using a CPU is generally used (for example, Patent Documents 1 and 2). FIG. 3 shows an example of a conventional image processing device. The
来自电子照相机2的图像解压数据,保存在帧存储器16并显示在显示面板3,再有,经由帧存储器用寄存器20和外围总线12被读入到CPU13,通过压缩/解压电路17和RAM15等被压缩。该图像压缩数据,经由外围总线12和数据收发用寄存器22被写入到数据收发用FIFO存储器18,依次被发送到主机装置4。另一方面,数据收发用FIFO存储器18接收到来自主机装置4的图像压缩数据,该图像压缩数据经由数据收发用寄存器22和外围总线12,按顺序被读入到CPU13,通过压缩/解压电路17和RAM15等被解压。该图像解压数据,经由外围总线12和帧存储器用寄存器20保存到帧存储器16并显示在显示面板3。The image decompression data from the
专利文献1:特开2001-350461号公报;Patent Document 1: JP-A-2001-350461 Gazette;
专利文献2:特开2002-77709号公报。Patent Document 2: Japanese Unexamined Patent Publication No. 2002-77709.
发明内容 Contents of the invention
虽然通过上述那样进行图像处理,但是在实现所显示的图像的高品质化或者动态图像和静态图像的多种处理等基础上,越来越要求高速地进行图像处理。一般对图像处理的高速化而言,进行包括CPU的各种电路的高速化,但在考虑消耗功率或者成本等的情况下,与此同时使CPU高效地工作也很重要。Although image processing is performed as described above, there is an increasing demand for high-speed image processing in order to achieve higher quality of displayed images, various processing of moving images and still images, and the like. In general, to increase the speed of image processing, various circuits including a CPU are increased in speed, but it is also important to operate the CPU efficiently in consideration of power consumption and cost.
本发明是鉴于上述问题而提出的,其目的在于提供一种能够使CPU更有效地工作,以此可实现图像处理的高速化的图像处理装置。The present invention has been made in view of the above problems, and an object of the present invention is to provide an image processing device capable of speeding up image processing by operating a CPU more efficiently.
为了解决上述的课题,本发明的优选实施方式涉及的图像处理装置,在经由总线桥而结合高速总线和外围总线,将下述部件与高速总线和外围总线连接:CPU,其进行图像处理的运算和控制;数据收发用FIFO存储器,其与主机装置进行图像压缩数据的收发;帧存储器,其保存图像解压数据并将该数据显示在显示面板;和压缩/解压电路,其进行图像解压数据的压缩和图像压缩数据的解压的图像处理装置中,将上述CPU和帧存储器与高速总线连接,将上述数据收发用FIFO存储器与外围总线连接,将上述压缩/解压电路与高速总线连接,所述高速总线的处理能力相对较高,所述外围总线的处理能力相对低。In order to solve the above-mentioned problems, the image processing device according to the preferred embodiment of the present invention connects the high-speed bus and the peripheral bus via a bus bridge, and connects the following components to the high-speed bus and the peripheral bus: CPU, which performs image processing operations and control; FIFO memory for data transmission and reception, which transmits and receives image compressed data with the host device; frame memory, which stores image decompression data and displays the data on the display panel; and compression/decompression circuit, which compresses image decompression data In an image processing device for decompressing image compressed data, the above CPU and frame memory are connected to a high-speed bus, the above-mentioned FIFO memory for data transmission and reception is connected to a peripheral bus, and the above-mentioned compression/decompression circuit is connected to a high-speed bus, and the high-speed bus The processing capability of the peripheral bus is relatively high, and the processing capability of the peripheral bus is relatively low.
本发明的其他优选实施方式涉及的图像处理装置,在具有指令用CPU直接连接总线、数据用CPU直接连接总线和高速总线,将下述部件与这些总线连接:CPU,其进行图像处理的运算和控制;ROM,其存储CPU的处理程序;RAM,其被用作CPU进行的运算的工作区;数据收发用FIFO存储器,其与主机装置进行图像压缩数据的收发;帧存储器,其保存图像解压数据并将该数据显示在显示面板;和压缩/解压电路,其进行图像解压数据的压缩和图像压缩数据的解压的图像处理装置中,将上述CPU和ROM与指令用CPU直接连接总线连接,将上述CPU、RAM和帧存储器与数据用CPU直接连接总线连接,将上述CPU和数据收发用FIFO存储器与高速总线连接。An image processing device according to another preferred embodiment of the present invention has a CPU direct connection bus for instructions, a CPU direct connection bus for data, and a high-speed bus, and the following components are connected to these buses: a CPU that performs calculations for image processing and Control; ROM, which stores the processing program of the CPU; RAM, which is used as a work area for calculations performed by the CPU; FIFO memory for data transmission and reception, which performs transmission and reception of image compressed data with the host device; frame memory, which stores image decompression data And display this data on the display panel; and compression/decompression circuit, in the image processing device that it carries out the compression of the image decompression data and the decompression of the image compression data, the above-mentioned CPU and ROM are directly connected to the bus with the instruction CPU, and the above-mentioned The CPU, RAM, and frame memory are connected to the CPU direct connection bus for data, and the CPU and the FIFO memory for data transmission and reception are connected to the high-speed bus.
该图像处理装置,作为优选,将上述压缩/解压电路与数据用CPU直接连接总线连接。In this image processing device, it is preferable that the above-mentioned compression/decompression circuit is directly connected to a data CPU by a connection bus.
(发明效果)(invention effect)
根据本发明,由于图像处理装置将数据量多的帧存储器连接在处理能力相对高的总线,将数据量较少的数据收发用FIFO存储器连接在处理能力相对低的总线,能够使CPU高效地动作,以此能够实现整体图像处理的高速化。According to the present invention, since the image processing device connects the frame memory with a large amount of data to a bus with a relatively high processing capacity, and connects the FIFO memory for transmitting and receiving data with a small amount of data to a bus with a relatively low processing capacity, the CPU can be efficiently operated. In this way, the overall image processing speed can be realized.
附图说明 Description of drawings
图1是本发明的优选实施方式涉及的图像处理装置的框图。FIG. 1 is a block diagram of an image processing device according to a preferred embodiment of the present invention.
图2是本发明的其他优选实施方式涉及的图像处理装置的框图。FIG. 2 is a block diagram of an image processing device according to another preferred embodiment of the present invention.
图3是现有的图像处理装置的框图。FIG. 3 is a block diagram of a conventional image processing device.
符号的说明:1、5-图像处理装置;2-电子照相机;3-显示面板;4-主机装置;10-高速总线;12-外围总线;13、23-CPU;16-帧存储器;17-压缩/解压电路;18-数据收发用FIFO存储器;20-帧存储器用寄存器;21-压缩/解压电路用寄存器;22-数据收发用寄存器;24-指令用CPU直接连接总线;25-数据用CPU直接连接总线。Explanation of symbols: 1, 5-image processing device; 2-electronic camera; 3-display panel; 4-host device; 10-high-speed bus; 12-peripheral bus; 13, 23-CPU; 16-frame memory; 17- Compression/decompression circuit; 18-FIFO memory for data transmission and reception; 20-register for frame memory; 21-register for compression/decompression circuit; 22-register for data transmission and reception; 24-instruction CPU directly connected to the bus; 25-data CPU Connect directly to the bus.
具体实施方式 Detailed ways
下面,参照附图说明本发明的最佳实施方式。图1是本发明的优选实施方式涉及的图像处理装置的框图。该图像处理装置1,采用经由总线桥11而结合了在例如75MHz高频下工作的高速总线10和在例如25MHz的频率下动作的外围总线12的总线结构,将各种功能电路与两个总线10、12连接。即,将下述部件与高速总线10连接:CPU13,其进行图像处理等的必要的运算和控制;ROM14,其存储CPU13的处理程序;和RAM15,其被用作CPU13所进行的运算的工作区等,还连接:帧存储器16,其保存来自电子照相机2的图像解压数据以及对来自主机装置4的图像压缩数据进行解压后的图像解压数据,并且将该数据显示在LCD等显示面板3;和压缩/解压电路17,其进行图像解压数据的压缩和图像压缩数据的解压。再有,将下述部件与外围总线12连接:数据收发用FIFO存储器18,其与主机装置4之间进行图像压缩数据的收发;和通用定时器电路19等。再有,图像处理装置1包括:帧存储器用寄存器20,其被CPU13读/写帧存储器16的数据;压缩/解压电路用寄存器21,其被CPU13读/写压缩/解压电路17的数据;和数据收发用寄存器22,其被CPU13读/写数据收发用FIFO存储器18的数据。另外,压缩/解压电路17,具体而言,是使用于静态图像的压缩/解压的JPEG电路或者使用于动态图像的压缩/解压的MPEG电路等。再有,主机装置4,例如该图像处理装置1用于便携式电话这样的电子机器的情况下,是控制该机器的主体功能的处理器装置等。Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an image processing device according to a preferred embodiment of the present invention. This image processing device 1 adopts a bus structure in which a high-speed bus 10 operating at a high frequency of, for example, 75 MHz and a peripheral bus 12 operating at a frequency of, for example, 25 MHz are combined via a
来自电子照相机2的图像解压数据,被保存在帧存储器16中并在显示面板3进行显示,再有,经由帧存储器用寄存器20和高速总线10被读入到CPU13,由压缩/解压电路17和RAM15等被压缩。该图像压缩数据,经由外围总线12和数据收发用寄存器22被写入到数据收发用FIFO存储器18,并按顺序被发送到主机装置4。另一方面,数据收发用FIFO存储器18接收来自主机装置4的图像压缩数据,该图像压缩数据经由数据收发用寄存器22和外围总线12,按顺序被读入到CPU13,由压缩/解压电路17和RAM15等被解压。该图像解压数据,经由高速总线10和帧存储器用寄存器20被保存在帧存储器16而在显示面板3中进行显示。The image decompression data from the
在此,高速总线10在例如75MHz的高频下工作,图像解压数据从帧存储器16高速被读入到CPU13,并且,从CPU13被高速写入到帧存储器16。再有,由于帧存储器16连接在与被用作运算的工作区等的RAM15相同的总线,所以在一系列的运算中能够消除作为因总线切换而产生的无用时间的附加(overhead)时间。这样,在数据量较多的图像解压数据的传输中CPU有效地工作,有助于整体的图像处理的高速化。再有,由于CPU13和压缩/解压电路17之间的数据传输也经由高速总线10,所以整体的图像处理进一步高速化。另一方面,外围总线12在例如25MHz频率下工作,所以图像压缩数据的对数据收发用FIFO存储器18的写入或者对CPU13的读出是比较低速的。但是,该图像压缩数据是图像解压数据的例如1/10乃至1/100而数据量比较少,因此整体图像处理速度并不怎么下降。Here, the high-speed bus 10 operates at a high frequency of, for example, 75 MHz, and image decompression data is read from the
这样,该图像处理装置1,将数据量比较多的帧存储器16与处理能力相对较高的高速总线10连接,而将数据量比较少的数据收发用FIFO存储器18与处理能力相对低的外围总线12连接,所以能够使CPU13高效地工作,能够整体上实现图像处理的高速化。另外,将数据收发用FIFO存储器18与外围总线12连接,这是因为,如果与高速总线10连接的功能电路过多,则高速总线10的负载容量变大,对应于此可工作的频率下降的原因。In this way, the image processing device 1 connects the
再有,在该图像处理装置1中,将压缩/解压电路17与高速总线10连接,但是在使用CPU13的读/写较少的压缩/解压电路17的情况下,也可以将该压缩/解压电路17与外围总线12连接。Furthermore, in this image processing device 1, the compression/
接着,基于图2说明本发明的其他优选实施方式涉及的图像处理装置。该图像处理装置5采用了下述总线结构,该总线结构具有:直接连接CPU23和ROM14的指令(instruction)用CPU直接连接总线24;直接连接CPU23和RAM15的数据用CPU直接连接总线25;和上述的高速总线10。例如,ARM系统的处理系统的指令用TCM(Tightly Coupled Memory)总线,数据用的TCM总线、AMBA(Advanced Microcontroller Bus Architecture)总线分别相当于指令用CPU直接连接总线24、数据用CPU直接连接总线25、高速总线10。另外,根据需要可具有上述的外围总线12(未图示)。Next, an image processing device according to another preferred embodiment of the present invention will be described based on FIG. 2 . This image processing device 5 has adopted following bus structure, and this bus structure has: directly connect CPU23 and ROM14 instruction (instruction) directly connect bus 24 with CPU; high-speed bus 10. For example, the instructions of the processing system of the ARM system use the TCM (Tightly Coupled Memory) bus, the TCM bus and the AMBA (Advanced Microcontroller Bus Architecture) bus used for the data are respectively equivalent to the direct connection bus 24 for the CPU for the instruction, and the direct connection bus 25 for the CPU for the data. , High-speed bus 10. In addition, the aforementioned peripheral bus 12 (not shown) may be provided as needed.
在数据用CPU直接连接总线25,还连接上述的帧存储器16和压缩/解压电路17。再有,在高速总线10,连接上述的数据收发用FIFO存储器18和定时器电路19等。再有,图像处理装置5,与图像处理装置1同样,包括上述的帧存储器用寄存器20和压缩/解压电路用寄存器21和数据收发用寄存器22。The bus 25 is directly connected to the CPU for data, and the above-mentioned
指令用CPU直接连接总线24和数据用CPU直接连接总线25,在CPU23的基本动作时钟的例如1周期内进行读入或写入的动作。另一方面,高速总线10,在例如5~10周期内进行读入或者写入的动作。从而,图像处理装置5,与图像处理装置1相比,该图像解压数据从帧存储器16被更高速地读入到CPU23,并且从CPU23被更高速地写入到帧存储器16。The CPU for instructions is directly connected to the bus 24 and the CPU for data is directly connected to the bus 25 , and the reading or writing operation is performed within, for example, one cycle of the basic operation clock of the CPU 23 . On the other hand, the high-speed bus 10 performs reading or writing operations in, for example, 5 to 10 cycles. Therefore, the image processing device 5 reads the decompressed image data from the
这样,该图像处理装置5,将数据量多的帧存储器16连接在处理能力相对高的数据用CPU直接连接总线25,将数据量较少的数据收发用FIFO存储器18连接在处理能力相对低的高速总线10,所以能够实现整体图像处理的进一步的高速化。另外,数据收发用FIFO存储器18连接在高速总线10,这是因为,帧存储器16移至数据用CPU直接连接总线25,所以高速总线10的负载容量并不怎么变大的原因。In this way, in the image processing device 5, the
另外,在该图像处理装置5中,将压缩/解压电路17连接在数据用CPU直接连接总线25,但是在使用CPU23的读/写较少的压缩/解压电路17的情况下,也可以将该压缩/解压电路17与高速总线10连接。In addition, in this image processing device 5, the compression/
以上,对于本发明的实施方式涉及的图像处理装置进行了说明,但是本发明,并不限定于实施方式,在权利要求的范围内所记载的事项的范围内可进行各种各样的设计变更。例如,在使用图像处理装置1、5的电子机器中没有电子照相机2的情况下,也可省略将来自电子照相机2的图像解压数据保存在帧存储器16中的功能,再有,根据情况,也可以不包括通用定时器电路19,另外,当然也可以包括其他必要的功能电路。As mentioned above, the image processing device according to the embodiment of the present invention has been described, but the present invention is not limited to the embodiment, and various design changes can be made within the range of matters described in the claims. . For example, if the electronic equipment using the image processing devices 1 and 5 does not have the
Claims (1)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP122251/2004 | 2004-04-16 | ||
| JP2004122251 | 2004-04-16 | ||
| JP117354/2005 | 2005-04-14 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1942926A CN1942926A (en) | 2007-04-04 |
| CN100517459C true CN100517459C (en) | 2009-07-22 |
Family
ID=37959856
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005800113649A Expired - Fee Related CN100517459C (en) | 2004-04-16 | 2005-04-15 | Image processing device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN100517459C (en) |
| TW (1) | TW200603529A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8405668B2 (en) * | 2010-11-19 | 2013-03-26 | Apple Inc. | Streaming translation in display pipe |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61224063A (en) | 1985-03-29 | 1986-10-04 | Yokogawa Electric Corp | data transfer control device |
| JPH05257793A (en) | 1992-03-12 | 1993-10-08 | Hitachi Ltd | Computer system |
| JPH09231164A (en) | 1996-02-28 | 1997-09-05 | Nec Corp | Bus bridge and computer system equipped with the bus bridge |
| US5958025A (en) * | 1996-06-28 | 1999-09-28 | Nec Corporation | Direct memory access (DMA) via separate bus utilizing a buffer for connecting the bus to the memory during DMA mode and disconnecting it otherwise |
| CN1272751A (en) * | 1999-04-30 | 2000-11-08 | 天讯电子(上海)有限公司 | Information TV network machine |
| JP2001350461A (en) * | 2000-06-07 | 2001-12-21 | Canon Inc | Image processing method and apparatus |
| CN1394326A (en) * | 2000-10-26 | 2003-01-29 | 松下电器产业株式会社 | image display device |
| US6651114B1 (en) * | 1999-11-25 | 2003-11-18 | Canon Kabushiki Kaisha | DMA controller which optimizes transfer rate of data and method therefor |
-
2005
- 2005-04-15 CN CNB2005800113649A patent/CN100517459C/en not_active Expired - Fee Related
- 2005-04-15 TW TW094112144A patent/TW200603529A/en unknown
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61224063A (en) | 1985-03-29 | 1986-10-04 | Yokogawa Electric Corp | data transfer control device |
| JPH05257793A (en) | 1992-03-12 | 1993-10-08 | Hitachi Ltd | Computer system |
| JPH09231164A (en) | 1996-02-28 | 1997-09-05 | Nec Corp | Bus bridge and computer system equipped with the bus bridge |
| US5958025A (en) * | 1996-06-28 | 1999-09-28 | Nec Corporation | Direct memory access (DMA) via separate bus utilizing a buffer for connecting the bus to the memory during DMA mode and disconnecting it otherwise |
| CN1272751A (en) * | 1999-04-30 | 2000-11-08 | 天讯电子(上海)有限公司 | Information TV network machine |
| US6651114B1 (en) * | 1999-11-25 | 2003-11-18 | Canon Kabushiki Kaisha | DMA controller which optimizes transfer rate of data and method therefor |
| JP2001350461A (en) * | 2000-06-07 | 2001-12-21 | Canon Inc | Image processing method and apparatus |
| CN1394326A (en) * | 2000-10-26 | 2003-01-29 | 松下电器产业株式会社 | image display device |
Also Published As
| Publication number | Publication date |
|---|---|
| TW200603529A (en) | 2006-01-16 |
| CN1942926A (en) | 2007-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9179166B2 (en) | Multi-protocol deblock engine core system and method | |
| WO2014056378A1 (en) | Data processing system for transmitting compressed display data over display interface | |
| CN114090500B (en) | All-pass image processing SOC chip and image processing method | |
| US20070174522A1 (en) | Universal interface apparatus and method | |
| US20080225053A1 (en) | Image processing device, image processing method, and electronic instrument | |
| US20090153434A1 (en) | Display assistant system | |
| CN109196865A (en) | A kind of data processing method and terminal | |
| CN110895788A (en) | System for enhancing graphic processing capability and external device | |
| CN113835656A (en) | Display method, device and electronic device | |
| US20060133695A1 (en) | Display controller, electronic instrument, and image data supply method | |
| CN100517459C (en) | Image processing device | |
| US7075543B2 (en) | Graphics controller providing flexible access to a graphics display device by a host | |
| EP3816925B1 (en) | Cooperative access method, system, and architecture of external storage | |
| JP4773533B2 (en) | System and method enabling high-speed extraction of interleaved video data | |
| CN100551008C (en) | Apparatus and method for video processing | |
| JPWO2005101365A1 (en) | Image processing device | |
| US7750954B2 (en) | Camera control device | |
| CN201846416U (en) | Image sensor | |
| TWI488046B (en) | Mmethod and apparatus for reducing transmission bandwidth and power consumption in mobile industry processor interface (mipi) of smartphone/tablet computer | |
| US20050286762A1 (en) | Method and multimedia processor for processing a rotated image | |
| US20240040155A1 (en) | Image display system sending compressed data | |
| CN217587982U (en) | Electronic equipment based on ARM calculation module | |
| JP3501722B2 (en) | Image display device | |
| CN111932433A (en) | Device and method for efficiently processing and displaying JPEG (joint photographic experts group) picture | |
| JP4349740B2 (en) | Electronics |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090722 Termination date: 20130415 |