System for multi-byte reading
A control device, system and method for multi-pixel reading provides a processor receiving multi-pixel, uses memory units wherein each memory unit sequentially receiving a writing enable signal, and then receiving and storing multi-pixel. Simultaneously, the processor having multi-data bus receives multi-pixel of the each memory unit output. The clock of the enabling all the memory units is less than the delay of the processor reading, so that reducing the spare time of the image decoding system and reducing the reading time of the reading image.
Latest VIA TECHNOLOGIES, INC. Patents:
This application is a divisional of U.S. application Ser. No. 11/001,636 (Att. Docket VI8438P), filed on Dec. 2, 2004 and entitled CONTROLLER FOR OUTPUTTING MULTI-BYTE IMAGE DATA SIMULTANEOUSLY, which claims the benefit of U.S. Provisional Application No. 60/526,294, filed on Dec. 3, 2003 and entitled VIDEO DECODER, the entire contents of all which are hereby incorporated by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention generally relates to a control system for data reading, and more particularly to a control system for multi-byte reading.
2. Description of Related Art
JPEG, Joint Photographic Experts Groups, is basically a data processing method that normally includes a recovering (decoding) method. Referring to
Generally, it is an I/O (input and output) action that the processor reads the first buffer's data. It means that a delay happens between the time that the processor is informed and the time of the actual reading. For example: based on the clock unit, the delay is about 6 to 7 system clocks. However, the delay in the prior art causes the processor to idle. Next, the processor reads the data of the first buffer based on an 8-bit unit for JPEG. It only can process 8 bits of data for JPEG even the processor with 32 bits can process 32 bits of data. As a result, the processor cannot work efficiently.
According to the previous mentioned disadvantage of the multi-bit reading, a new and improved device, system and method is needed for multi-bit reading to solve the problems in the prior art such as: how to use the delay when the processor reads the data, how to provide the multi-bit data for reading and how to improve the efficiency of the processor.
SUMMARY OF THE INVENTIONAccording to the defects of the prior art, the well-known multi-bit reading, such as: the processing time is delayed and the system is idle, and the efficiency of the processor is questioned. The object of the invention provides a device, system and method for multi-bit reading, which improves the above-mentioned disadvantage.
The object of the invention provides a device, system and method for processor reading. For the processor reading and writing image data into registers is in the delay period of the processor reading clock.
The object of the invention also provides a device, system and method for improving the efficiency of the processor reading. By storing multi-byte image data, the processor reads the reading multi-byte data during a reading sequence. This is the way to fully utilize the data bus.
The object of the invention further provides a device, system and method for processing data of the different compressing format. The invention can utilize JPEG and MPEG 2 format data.
Accordingly, the objects of the invention provide a device, system and method for multi-byte reading. It provides a processor receiving multi-byte image data. By utilizing a portion of the memory units, after every memory unit sequentially receives the writing, the signals are enabled respectively, therefore, receiving and storing the multi-byte image data. When IDCT (Inverse Discrete Cosine Transform) unit informs the processor to read data, by the multi-byte bus of the processor, the processor simultaneously receives the output of these memory units. Herein, the clock that's enabling all the memory units has less delay for the processor reading.
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Some sample embodiments of the invention will now be described in greater detail. Nevertheless, it should be recognized that the present invention could be practiced in a wide range of procedures.
The present invention will be described in detail with reference to the accompanying drawings. It should be noted that the drawings are in greatly simplified form and in order to provide a clear illustration and understanding of the present invention.
Referring to
The control circuit 260 receives data from the first buffer 220 and the second buffer 230, and provides image data to the processor 250. The processor 250 does not directly read the data of the buffers that is connected to the IDCT unit 210. It means that the first buffer 220 or the second buffer 230 could transmit the image data through the multiplexer 240 to the control circuit 260 when the processor 250 reads is in the “idle” state. Then, the processor 250 reads the data directly from the control circuit 260, while actually processing the reading data. There, the processor 250 could read the data with a wide range for improving the efficiency of the processor. For example: the range of the data read can be increased from 1 byte to 2 bytes or to 4 bytes. It is noted that the time of transmitting the image data to the control circuit 260 must take less time than the clock reading of the processor 250.
The multiplexer 240 control the image data that is transmitting from the first buffer 220 or the second buffer 230 to the control circuit 260. The multiplexer 240 provides a data path for the data of first buffer 220 transmitting to the control circuit 260, when the stored data of the first buffer 220 is waiting for the processor 250 to read. At the same time, the IDCT unit 210 receives the processed image data and stores them in the second buffer 230. Similarly, when the data of the second buffer 230 is waiting for the processor 250 to read, the multiplexer 240 provides a data path for the data of the second buffer 230 transmitting to the control circuit 260. At this time, the IDCT unit 210 receives the processed image data and stores them in the first buffer 220.
Referring to
Next, the invention suits many kinds of compressed image data, such as: Motion Picture Experts Group 2, MPEG 2, and JPEG. Different compressed image data has different bit numbers (especially for writing enable signal), for example: MPEG 2 has 9 bits data and JPEG has 8 bits data. Referring to
According to the previous discussion, the received data of the processor is 32 bits and is equal to the bit numbers of the data bus. In the invention, the bit numbers of the output of the plurality of register is strongly close to the bit numbers of the data bus, so that the processor can read once for receiving the data that is equal to the bit numbers of the data bus. The processor can read multi-byte image data, efficiently utilizing the bit numbers of the data bus and have maximum performance of the data bus. One must explain that 32 bits do not limit the control circuit of the invention. And it is not limited by the 4-clock system delay. The only limitations are the following: the bit number of the data is no more than the bit number of the data bus of the processor, the processor can read the multi-byte data, and the total clock is not more than the reading delay of the processor. Any variation limited by the above limitations is included in the scope of the invention.
Because the control circuit of this invention applies to a decoding system with the dual buffer, the idle of reading image data and the writing in buffer of the IDCT unit do not depend on the acting of the processor. Next, the control circuit includes some registers. The register can receive data when clocks delay in the processor. This reduces the idle time. The total output bit of the register is close to the data bus, so as the processor can have the maximum performance of the data bus.
Other embodiments of the invention will appear to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples to be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
Claims
1. A controlling system for outputting multi-byte image data, comprising:
- an inverse discrete cosine transform (IDCT) unit for processing a plurality of image data;
- a plurality of buffers for receiving said plurality of image data processed by said inverse discrete cosine transform (IDCT) unit;
- a multiplexer connected to said plurality of buffers;
- a control circuit connected to said multiplexer for utilizing said multiplexer to move said image data from said buffers to said control circuit; and
- a processor, connected to said control circuit, for receiving said image data from said control circuit simultaneously.
2. The controlling system according to claim 1, further comprising a data bus for transmitting data from said control circuit to said processor, wherein the bit number of said data bus is not less than the total bit number of said buffers.
3. The controlling system according to claim 1, when said processor is being idle, said buffers transmit said plurality of image data through said multiplexer to said control circuit, and when said processor is reading, said processor reads a plurality of said image data from said control circuit directly.
4. The controlling system according to claim 1, wherein said multiplexer controls said image data transmitted between said buffers and said control circuit, and at the same time, only one said buffer transmits data to said control circuit and other said buffers receive said image data processed by said inverse discrete cosine transform (IDCT) unit.
5. The controlling system according to claim 1, when any said buffer is full of data, said control circuit moves data of said filled buffer to said control circuit for enabling said buffer to receive data from said inverse discrete cosine transform (IDCT) unit.
6. The controlling system according to claim 1, when said control circuit is full of data, said IDCT unit sends a signal to said processor for informing said processor to read said control circuit.
7. A controlling system for outputting multi-byte image data, comprising:
- an inverse discrete cosine transform (IDCT) unit for processing a plurality of image data;
- a plurality of buffers for receiving said plurality of image data processed by said inverse discrete cosine transform (IDCT) unit;
- a multiplexer connected to said plurality of buffers;
- a control circuit connected to said multiplexer for utilizing said multiplexer to move said image data from said buffers to said control circuit and including: a plurality of memory units, each said memory unit receiving and storing a plurality of bit image data, wherein said plurality of memory units simultaneously and correspondingly output said plurality of bit image data, and the sum of said plurality of said bit image data equal to a plurality of byte image data; and a plurality of control signal units for generating a plurality of writing enable signals, said plurality of writing enable signals being corresponding to said plurality of memory units, respectively, wherein said plurality of writing enable signals control said plurality of memory units to be stored in said plurality of bit image data in sequence; and
- a processor, connected to said control circuit, for receiving said image data from said control circuit simultaneously.
Type: Application
Filed: Dec 22, 2010
Publication Date: Apr 21, 2011
Applicant: VIA TECHNOLOGIES, INC. (Taipei)
Inventors: Roy WANG (Taipei), David WANG (Taipei)
Application Number: 12/976,012
International Classification: G06K 9/36 (20060101);