CN100345436C - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- Publication number
- CN100345436C CN100345436C CNB2005101094721A CN200510109472A CN100345436C CN 100345436 C CN100345436 C CN 100345436C CN B2005101094721 A CNB2005101094721 A CN B2005101094721A CN 200510109472 A CN200510109472 A CN 200510109472A CN 100345436 C CN100345436 C CN 100345436C
- Authority
- CN
- China
- Prior art keywords
- image data
- data
- buffer area
- decompressed image
- adjusted size
- 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
- 230000006837 decompression Effects 0.000 claims description 26
- 125000004122 cyclic group Chemical group 0.000 claims description 4
- 238000007906 compression Methods 0.000 description 13
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006835 compression Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 230000008676 import Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000005039 memory span Effects 0.000 description 1
Images
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Storing Facsimile Image Data (AREA)
- Editing Of Facsimile Originals (AREA)
- Studio Devices (AREA)
Abstract
An image processing apparatus subjects, to image processing for reproduction, input compressed image data or compressed image data read from a recording medium, and the apparatus includes an expansion processing unit which subjects the compressed image data to expansion processing to obtain expanded image data. A storage unit stores the expanded image data. A resize unit reads, block by block, the expanded image data stored in the storage unit and then subjects the expanded image data to resize processing to obtain image data for display. A control unit controls execution of the resize processing by the resize unit in accordance with the number of expanded image data stored in the storage unit.
Description
Technical field
The present invention relates to image processing apparatus, particularly can reproduce the image processing apparatus of demonstration compressing image data.
Background technology
In digital camera, generally speaking, it is different being compressed the angle of visual field of image of record and the angle of visual field of the image that can show in display parts such as TFT LCD.Therefore, in order to reproduce the image that is compressed record, need the decompression of image and the adjusted size that the angle of visual field of the image after the decompression is adjusted to the angle of visual field that shows usefulness is handled.Figure 10 shows the structure of such image processing apparatus.The image processing apparatus of Figure 10 has connected on bus 101 and has carried out image processing part 102, Media Interface Connector (I/F) 104, memory (SDRAM) 106 and the Video I/F 107 that jpeg decompression contracts and adjusted size is handled.
That is, when in the such image processing apparatus of Figure 10, carrying out the reconstruction of image, from storage card 105, read the view data that is compressed record by medium I/F104 and also temporarily store among the SDRAM 106.Afterwards, image processing part 102 is read compressing image data and is carried out jpeg decompression and contract from SDRAM 106.Then, this decompressed image data is stored among the SDRAM 106 once more.Afterwards, be stored in decompressed image data among the SDRAM 106 and read once more by image processing part 102 and carry out adjusted size and handle, store into afterwards among the SDRAM 106.Then, the decompressed image data that is stored in after adjusted size among the SDRAM 106 is handled is displayed on the display parts such as not making illustrated TFT LCD by Video I/F 107.
In addition, as with can handle so a plurality of image processing to above-mentioned decompression and adjusted size and carry out the motion of the image processing apparatus of pipeline processes, for example in patent documentation 1, by JEPG handles the image processing part of (JPEG compression and jpeg decompression contract) etc. and the memory of the low capacity that carries out being connected in series between the adjusted size handling part of size of images adjustment processing carrying out, can carry out pipeline processes to these two processing.That is, in patent documentation 1, the view data of having handled is temporarily stored in the memory, read the view data of being stored with predetermined block unit and amplify and dwindle processing.
The technology of patent documentation 1 is described with reference to Figure 11.In the image processing apparatus of Figure 11, on bus 101, be connected with JPEG handling part 102, adjusted size handling part 103, SDRAM 106, Video I/F 107, and be connected with storage card 105 by medium I/F 104.Here, JPEG handling part 102 is made of input DMA 102a, the JPEG compression/de-compression 102b of portion, buffer storage 102c, output DMA 102d, and adjusted size portion 103 is made of input DMA 103a, the 103b of adjusted size portion, output DMA 103c.
In such structure, in reproducing storage card 105, under the situation of the image of storage, at first from storage card 105, read compressing image data by medium I/F 104, the compressing image data of reading is temporarily stored among the SDRAM 106.Then, read the compressing image data that is stored among the SDRAM 106 by the input DMA 102a in the JPEG handling part 102.The compressing image data of reading is imported among the JPEG compression/de-compression 102b of portion and decompresses.The decompressed image data that is obtained by the JPEG compression/de-compression 102b of portion decompression is output to bus 101 by buffer storage 102c and output DMA 102d, and is stored among the SDRAM 106.
Afterwards, read the decompressed image data that is stored among the SDRAM106 by the input DMA 103a in the adjusted size handling part 103.The decompressed image data of reading is imported among the 103b of adjusted size portion, to be adjusted to the appropriate display size.Decompressed image data after the adjusted size is output to bus 101 by output DMA 103c, and is stored among the SDRAM 106.
Afterwards, read the decompressed image data that is stored among the SDRAM 106, on not shown display parts such as TFT LCD, carry out image and show by VideoI/F 107.
In such processing, as shown in Figure 12, the decompressed image data of 1 frame is stored among the SDRAM 106 successively by block-by-block.
[patent documentation 1] TOHKEMY 2000-311241 communique
In the structure of above-mentioned patent documentation 1, the data of 1 frame of decompressed image data temporarily must be stored among the SDRAM 106.For example under the situation of the image that reproduces the 5M pixel, if the data of YCbCr 4:2:2, then need to have the SDRAM of the capacity about the 10M byte.Like this, when the reconstruction of image, need guarantee to be used for temporarily storing the very large storage area of decompressed image data.Yet the angle of visual field when showing on TFT LCD etc. in the reality is about VGA (640 * 480 pixel), and the capacity about the 600K byte is just enough in this case.
Summary of the invention
The present invention is exactly In view of the foregoing and proposes, and its purpose is to provide a kind of image processing apparatus that can be made of the circuit of more saving memory.
In order to reach above-mentioned purpose, the image processing apparatus of first execution mode of the present invention is implemented the image processing that is used to reproduce to compressing image data input or that read from recording medium, it is characterized in that, have: decompression portion, it implements decompression to above-mentioned compressing image data, to obtain decompressed image data; Storage part, it has the buffer area of the predetermined storage area line number that is used to write above-mentioned decompressed image data; The adjusted size handling part, it is that unit reads the above-mentioned decompressed image data that is written in the above-mentioned storage part and implements adjusted size and handle with the piece, thereby obtains display image data; Control part, its buffer memory vacant capacity according to above-mentioned buffer area is controlled writing of above-mentioned decompressed image data from above-mentioned decompression portion to above-mentioned storage part, and according to above-mentioned adjusted size handled effective valid data amount control reading of above-mentioned decompressed image data from above-mentioned storage part to above-mentioned adjusted size portion in the decompressed image data that is stored in the above-mentioned buffer area, wherein, described control part is controlled under the situation of described buffer area vacant capacity less than the 1st predetermined amount of data, to stop writing to the described decompressed image data of described storage part from described decompression portion, and under the situation of described valid data amount, control, to stop from described storage part reading to the described decompressed image data of described adjusted size handling part less than the 2nd predetermined amount of data.
According to the 1st mode because control to according to the data volume of buffer area buffer area decompressed image data write and from the reading of the decompressed image data of buffer area, so can use storage part efficiently.
According to the present invention, can provide the image processing apparatus that can constitute by the circuit of more saving memory.
Description of drawings
Fig. 1 is the block diagram of structure of the image processing apparatus of expression an embodiment of the invention.
Fig. 2 is that jpeg decompression contracts and handles and the sequential chart of adjusted size processing.
Fig. 3 is the figure that schematically shows the storage area of SDRAM.
Fig. 4 is the figure of the detailed structure of expression memory controller.
Fig. 5 is output DMA 2d, memory controller 9, the input DMA 3a when sequence illustrates the reconstruction of image by the time and increase/sequential chart of the state separately of down counter.
Fig. 6 is the figure of the flow process of the data processing when sequence illustrates the reconstruction of image by the time.
Fig. 7 is the schematically illustrated figure that carries out the cyclic addressing of decompressing image when writing and reading with the decompressed image data of buffer area.
Fig. 8 is the figure that is used to illustrate storage area line number, storage area width, vertical starting position, processing line number.
Fig. 9 is the figure of an example of the circuit structure of presentation address generating unit.
Figure 10 represents the block diagram of the structure of the 1st example of the image processing apparatus of example in the past.
Figure 11 represents the block diagram of the structure of the 2nd example of the image processing apparatus of example in the past.
Figure 12 is the schematic diagram when storing data in the image processing apparatus of the 2nd routine in the past example.
Embodiment
Below, with reference to accompanying drawing embodiments of the present invention are described.
Fig. 1 is the block diagram of structure of the image processing apparatus of expression an embodiment of the invention.
In the image processing apparatus of Fig. 1, on bus 1, be connected with: as the JPEG handling part 2 of decompression portion, as the adjusted size handling part adjusted size handling part 3, medium I/F4, as storage part memory (SDRAM) 6, Video I/F 7, CPU 8, as the memory controller 9 of control part.Here, on medium I/F 4, be connected with recording medium (storage card).In addition, on Video I/F 7, be connected with display parts such as not making illustrated TFT LCD.
In addition, in Fig. 1, JPEG handling part 2 is made of input DMA 2a, the JPEG compression/de-compression 2b of portion, buffer storage 2c, output DMA 2d.And adjusted size handling part 3 is made of input DMA 3a, the 3b of adjusted size portion, output DMA 3c.
In addition, in Fig. 1, the output DMA 2d of JEPG handling part 2 and the input DMA 3a of adjusted size handling part 3 all are connected with memory controller 9.
In addition, be provided with register 8a in the inside of CPU 8, memory controller 9 can be read the register set point that is stored among the register 8a by bus 1.Here, the register set point that is stored among the register 8a is the vacant line number of needs, needs number of data lines and storage area line number.The back describes these register set points in detail.
In the structure of Fig. 1, can be as shown in Figure 2 to the jpeg decompression in the JPEG handling part 2 contract and adjusted size handling part 3 in adjusted size handle and carry out pipeline processes.Below, the action of the image processing apparatus with structure shown in Figure 1 is described.
At first, when reading compressing image data by medium I/F 4 from storage card 5, the compressing image data of reading is temporarily stored among the SDRAM 6.Then, read the compressing image data that is stored among the SDRAM 6 by JPEG handling part 2.The compressing image data of reading is imported among the JPEG compression/de-compression 2b of portion by input DMA 2a and decompresses.
In the present embodiment, the decompressed image data that is obtained by the JPEG compression/de-compression 2b of portion decompression is output to bus 1 by buffer storage 2c and output DMA 2d successively, and is stored among the SDRAM 6.And, when the transmission of the decompressed image data of preset lines number finishes, transmit end signals to memory controller 9 output output DMA 2d from output DMA 2d.Here, for example under the situation that the jpeg image data as the YC 422 of compressing image data are decompressed, can decompress by 1 decompression view data to 8 lines.In the present embodiment, the decompressed image data of these 8 lines of every transmission just transmits end signal to memory controller 9 output output DMA 2d.
Afterwards, begin to read the needed decompressed image data of adjusted size by input DMA 3a from SDRAM 6, the decompressed image data of reading is imported among the 3b of adjusted size portion.When the transmission from input DMA 3a to the required decompressed image data of the adjusted size of the 3b of adjusted size portion finishes, transmit end signal to memory controller 9 output input DMA 3a from input DMA 3a.Afterwards, the decompressed image data of input is adjusted to the appropriate display size in the 3b of adjusted size portion, generates the adjusted size view data as display image data.
Fig. 3 is the figure of the storage area of schematically illustrated SDRAM 6.As shown in Figure 3, in the present embodiment, compressing image data, decompressed image data, adjusted size view data are stored in respectively in the different storage area of SDRAM 6.That is, compressing image data is stored in the compressing image data storage area 21 successively.In addition, decompressed image data is stored into decompressing image with in the buffer area 22 by the mode with FIFO (first in first out).And the adjusted size view data is stored in the adjusted size image data storage zone 23 of SDRAM 6 successively.Here, these storage areas are merely able to the data of storing predetermined line number (storage area line number) respectively, and these view data are storage circularly in storage area separately.Such address control example is as being undertaken by the address generating unit 20,30 of the input DMA 3a of the output DMA 2d of JPEG handling part 2 and adjusted size handling part 3.
In addition, what in the present embodiment, the output DMA 2d by JPEG handling part 2 carried out reads decompressed image data from SDRAM 6 and is controlled by memory controller 9 to what SDRAM 6 write that decompressed image data and the input DMA 3a by adjusted size handling part 3 carry out.Promptly, do not have under the situation of vacant capacity at the decompressing image of SDRAM 6 with buffer area 22, memory controller 9 writes decompressed image data to wait for by output DMA 2d to SDRAM 6 to the output DMA of JPEG handling part 2 2d output output DMA 2d waiting signal.In addition, do not handle the effectively decompressed image data (valid data amount) of amount if having in buffer area 22 storage to carry out adjusted size for the 3b of adjusted size portion of adjusted size handling part 3 at the decompressing image of SDRAM6, then memory controller 9 is read decompressed image data to wait for by input DMA 3a to the input DMA of adjusted size handling part 3 3a output input DMA 3a waiting signal from SDRAM 6.
Fig. 4 is the figure of expression as the detailed structure of the memory controller 9 of the major part of present embodiment.
The memory controller 9 of Fig. 4 is made of counter 9a, comparator 9b and 9c.
And, respectively to increasing/the add operation value input terminal of down counter and the register set point of subtraction value input terminal input register 8a.Add operation value input terminal input register set point " UPVAL " to counter 9a.This UPVAL is the set point of the add operation value of expression counter 9a, is set at and the corresponding value of register set point " the vacant line number of needs ".Here, need vacant line number to be meant and use the vacant line number of buffer area 22 sides with decompressing image required in the buffer area 22 in order to be written to decompressing image by the decompressed image data that decompression obtains.For example, under the jpeg image data conditions that is YC422, per 8 lines obtain decompressed image data, and per 8 lines are just from output DMA 2d output decompressed image data.Therefore, will need in the present embodiment vacant line number (=UPVAL) be made as 8.And, need the value of vacant line number to change according to the specification of output DMA 2d etc.
In addition, to the subtraction value input terminal input register set point " DNVAL " of counter 9a.This DNVAL is the set point of the subtraction value of expression counter 9a, corresponding value that input and register set point " need number of data lines ".Here, need number of data lines to be meant and handle required number of data lines in order to carry out adjusted size.In the present embodiment, for example the adjusted size of adjusted size handling part 3 is handled required number of data lines (=DNVAL) be made as 10.And, need the value of number of data lines to change according to the specification of input DMA 3a etc.
And, in Fig. 4, increase/efferent of down counter is connected with subtracter, in subtracter, deduct with the storage area line number of buffer area 22 and increase/output of down counter by decompressing image, subtraction result is outputed to the input part of comparator 9b.That is the decompressing image of this subtraction value representation SDRAM 6 buffer area vacant capacity of buffer area 22.In addition, another input part input to comparator 9b needs vacant line number.
And, increase/efferent of down counter also is connected with the input part of comparator 9c.This value representation is current to be written in decompressing image with in the buffer area 22 adjusted size being handled the number of data lines (valid data amount) of effective decompressed image data.In addition, another input part input to comparator 9c needs number of data lines.
Explanation has the action of the memory controller 9 of the such structure of Fig. 4 with reference to Fig. 5.Fig. 5 is output DMA 2d, memory controller 9, the input DMA3a when sequence illustrates the reconstruction of image by the time and increase/sequential chart of the state separately of down counter.And in the example of Fig. 5, the decompressing image of for example establishing SDRAM 6 is 20 with the storage area line number of buffer area.
When the reconstruction of image, read compressing image data, when the transmission of the decompressed image data of 8 lines that are through with among the output DMA2d at JPEG handling part 2, transmit end signal to counter 9a output output DMA 2d from output DMA 2d.After receiving this signal, in the increasing of counter 9a/down counter, make count value increase UPVAL=8.Increase like this ,/count value of down counter becomes " 8 ".Like this, to comparator 9b input-buffer district vacant capacity 20-8=" 12 ", to comparator 9c input count value " 8 ".
Afterwards, in comparator 9b and comparator 9c, respectively the output valve from counter 9a is compared.In comparator 9b, buffer area vacant capacity " 12 " and the vacant line numbers of needs " 8 " are compared.The current buffer area vacant capacity>vacant line number of needs, be useful on the sufficient vacant capacity that writes decompressed image data at decompressing image in buffer area 22, so output DMA 2d waiting signal does not continue to write the decompressed image data from output DMA 2d.
In addition, in comparator 9c to valid data amount " 8 " with need number of data lines " 10 " to compare.Current valid data amount<need number of data lines does not write adjusted size at decompressing image in buffer area 22 and handles required decompressed image data, so continue to import the output of DMA 3a waiting signal.
Afterwards, when the transmission of the decompressed image data of 8 lines that in the output DMA of JPEG handling part 2 2d, are through with once more, transmit end signal to counter 9a output output DMA 2d from output DMA 2d.After receiving this signal, increase the count value of the increasing of counter 9a/down counter, increase/count value of down counter becomes " 16 ".The value of buffer area vacant capacity becomes " 4 " like this, and the value of valid data amount becomes " 16 ".
Afterwards, in comparator 9b, buffer area vacant capacity " 4 " and the vacant line numbers of needs " 8 " are compared.The current buffer area vacant capacity<vacant line number of needs, do not exist at decompressing image and to be used to write the vacant fully of decompressed image data with buffer area 22, so output output DMA2d waiting signal waits the decompressed image data from output DMA 2d to be written.
In addition, in comparator 9c, to valid data amount " 16 " with need number of data lines " 10 " to compare.Current valid data amount>need number of data lines, the adjusted size that stores adjusted size handling part 3 at decompressing image in buffer area 22 is handled required sufficient decompressed image data, so remove the output of input DMA 3a waiting signal, read out from the decompressed image data of importing DMA 3a.
When the decompressed image data of being read to the 3b of adjusted size portion transmission by input DMA 3a finishes, export input DMA 3a transmission end signal to counter 9a from input DMA 3a.After receiving this signal, increase counter and make count value reduce DNVAL=10.Increase like this ,/count value of down counter becomes " 6 ".The value of buffer area vacant capacity becomes " 14 " thus, and the value of valid data amount becomes " 6 ".
Afterwards, in comparator 9b, buffer area vacant capacity " 14 " and the vacant line numbers of needs " 8 " are compared.The current buffer area vacant capacity>vacant line number of needs, exist at decompressing image and to be used to write the vacant fully of decompressed image data with buffer area 22, so remove the output of output DMA 2d waiting signal, begin to write decompressed image data once more from output DMA 2d.
In addition, in comparator 9c, to valid data amount " 6 " with need number of data lines " 10 " to compare.Current valid data amount<need number of data lines, handle required sufficient decompressed image data in the adjusted size that decompressing image does not have in buffer area 22 sizes of memory to adjust handling part 3, so output input DMA 3a waiting signal is waited for the decompressed image data that reads out from importing DMA 3a.
Same later on, on one side to buffer area vacant capacity and the output control that needs vacant line number, valid data amount and need number of data lines to compare to export DMA 2d waiting signal and input DMA 3a waiting signal on one side.
Sequential chart when Fig. 6 represents the reconstruction of image of present embodiment.As shown in Figure 6, in the present embodiment, when reading of compressing image data finished, almost begin jpeg decompression simultaneously and contract and handle and the adjusted size processing.And, when the compressing image data to predetermined amount of data (1) decompresses, and be written to decompressing image with in the buffer area 22 time, remove the wait of adjusted size handling part 3, carries out every adjusted size processing.Like this, when decompressing image can obtain vacant capacity in buffer area 22, remove the wait of JPEG handling part 2, write jpeg decompression and contract and handle resulting decompressed image data.
Fig. 7 schematically illustratedly writes with buffer area 22 and the figure of cyclic addressing when reading decompressed image data decompressing image.In the present embodiment, as shown in Figure 7, the decompressed image data of predetermined block line number vertically is written into or reads.Here, after having exceeded storage area line number, write or when reading decompressed image data, begin to write once more or read the part that this exceeds with the first address of buffer area 22 from decompressing image.
Below, an example of the structure of the address generating unit that is used to carry out such addressing is described.
In the following description, the decompressing image of SDRAM 6 is called " storage area line number " with the number of buses of the vertical direction of buffer area 22, the address width of horizontal direction is called " storage area width ", the initial number that writes or read of vertical direction is called " vertical starting position ", the line number of the decompressed image data that writes or read for 1 time is called " handling the line number " (with reference to Fig. 8).
Fig. 9 is the figure that an example of the address generating unit 30 that is used to carry out cyclic addressing is shown.Here, the address generating unit 20 of the output DMA 2d inside of Fig. 1 also has the structure same with Fig. 9.
In the generating unit of the address of Fig. 9, an input part of the efferent of horizontal counter 31 and adder 38 is connected.And the efferent of vertical counter 32 is connected with adder 33.The maximum of vertical counter 32 is to handle the line number, when counting processing line number is carried out 0 at every turn and resets.These counters are counted when the reading of the decompressed image data of at every turn importing DMA 3a.
In addition, import vertical starting position to another input part of adder 33.And, the efferent of adder 33 and subtracter 34+input part, an input part of selector 35, an input part of comparator 36 be connected.To the territory, an input part input storage of subtracter 34 line number.In addition, another input part of the efferent of subtracter 34 and selector 35 is connected.And, to another territory, input part input storage line number of comparator 36.
In addition, an input part of the efferent of selector 35 and multiplier 37 is connected.Another input part input storage field width degree to multiplier 37.And the efferent of multiplier 37 is connected with another input part of adder 38.
In such circuit, when carrying out the counting of vertical counter 32, on the count value of vertical counter 32, add vertical starting position.
The line number of this add operation value is imported in the comparator 36 and storage area line number compares, and selects any one input of selector 35 according to the comparative result of this comparator 36.
If the line number of add operation value does not surpass storage area line number in comparator 36, then in selector 35, select the line number of above-mentioned add operation value.Like this, calculate as vertical address * storage area width+horizontal address final address.
On the other hand, if the line number of add operation value has surpassed storage area line number in comparator 36, then in selector 35, select to deduct the value that obtains behind the storage area line number from the line number of above-mentioned add operation value.Like this, read the part that exceeds from decompressing image once more with the first address of buffer area 22.
As described above, according to present embodiment,, do not need the decompressed image data of 1 frame is stored among the SDRAM, so can realize more saving the circuit structure of memory because when the reconstruction of image.
In addition, by in memory area, using the addressing of circulation, can realize more saving the circuit structure of memory.
Though more than according to execution mode the present invention has been described, the present invention is not limited to above-mentioned execution mode, certainly carries out various distortion and application in the scope of main idea of the present invention.
And, comprised the invention in various stages in the above-described embodiment, can utilize the appropriate combination of disclosed a plurality of constitutive requirements to extract various inventions.For example, even the several constitutive requirements of deletion from the whole constitutive requirements shown in the execution mode, also can solve in the problem described in " summary of the invention " a section, obtaining under the situation of " invention effect " one section described effect, deleting structure after these constitutive requirements and also can be used as invention and extract.
Claims (6)
1. image processing apparatus, this image processing apparatus is implemented the image processing that is used to reproduce to compressing image data input or that read from recording medium, and this image processing apparatus is characterised in that to have:
Decompression portion, it implements decompression to described compressing image data, obtains decompressed image data;
Storage part, it has the buffer area of the predetermined storage area line number that is used to write described decompressed image data;
The adjusted size handling part, it is that unit reads the described decompressed image data that is written in the described storage part and implements adjusted size and handle with the piece, thereby obtains display image data;
Control part, its buffer memory vacant capacity according to described buffer area is controlled writing of described decompressed image data from described decompression portion to described storage part, and control reading of described decompressed image data from described storage part to described adjusted size portion according to the valid data amount that is write in the decompressed image data that is stored in the described buffer area, wherein, described control part is controlled under the situation of described buffer area vacant capacity less than the 1st predetermined amount of data, to stop writing to the described decompressed image data of described storage part from described decompression portion, and under the situation of described valid data amount, control, to stop from described storage part reading to the described decompressed image data of described adjusted size handling part less than the 2nd predetermined amount of data.
2. image processing apparatus according to claim 1, it is characterized in that, described control part reduces described buffer area vacant capacity when having exported the decompressed image data of described the 1st predetermined amount of data from described decompression portion, increase described valid data amount, and when having imported the decompressed image data of described the 2nd predetermined amount of data, the adjusted size handling part increasing described buffer area vacant capacity from described storage part, reduce described valid data amount, decide described buffer area vacant capacity and described valid data amount thus.
3. image processing apparatus according to claim 1 and 2 is characterized in that,
Described the 1st predetermined amount of data is the amount of the decompressed image data that writes for 1 time to described storage part from described decompression portion,
The adjusted size that described the 2nd predetermined amount of data is described adjusted size handling part is handled the amount of required decompressed image data.
4. image processing apparatus according to claim 1 and 2 is characterized in that, writes described decompressed image data and cyclic addressing is carried out in the addressing when described buffer area is read described decompressed image data to described buffer area.
5. image processing apparatus according to claim 4 is characterized in that,
Described decompression portion and described adjusted size handling part comprise the address generating unit that is used to carry out described addressing,
Described address generating unit according to the storage area line number of described buffer area, described the 1st predetermined amount of data or described the 2nd predetermined amount of data, predetermined storage area line number, in described buffer area, begin the line number that writes or read, carry out described addressing.
6. image processing apparatus according to claim 1 is characterized in that, described at least the 1st predetermined amount of data, described the 2nd predetermined amount of data and described predetermined storage area line number are the values that is set in advance in the register.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004306106 | 2004-10-20 | ||
JP2004306106A JP2006121343A (en) | 2004-10-20 | 2004-10-20 | Image processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1764229A CN1764229A (en) | 2006-04-26 |
CN100345436C true CN100345436C (en) | 2007-10-24 |
Family
ID=36538824
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101094721A Expired - Fee Related CN100345436C (en) | 2004-10-20 | 2005-10-20 | Image processing apparatus |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP2006121343A (en) |
CN (1) | CN100345436C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100534187C (en) * | 2007-04-13 | 2009-08-26 | 威盛电子股份有限公司 | Output buffer method of pixel data for joint photographic experts group image |
JP5603202B2 (en) * | 2010-11-01 | 2014-10-08 | 株式会社メガチップス | Image processing apparatus and method of operating image processing apparatus |
CN103139558B (en) * | 2011-11-30 | 2016-08-03 | 联芯科技有限公司 | The DC/AC coefficient prediction method of Video Decoder and Video Decoder |
CN103970781A (en) * | 2013-01-30 | 2014-08-06 | 深圳市同洲电子股份有限公司 | Embedded browser picture decoding device and method |
CN109656848A (en) * | 2018-11-29 | 2019-04-19 | 天津大学 | Picture up-sampling and DMA collaborative work implementation method based on FPGA |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000312327A (en) * | 1999-04-28 | 2000-11-07 | Olympus Optical Co Ltd | Image processor |
JP2000311241A (en) * | 1999-04-28 | 2000-11-07 | Olympus Optical Co Ltd | Image processor |
-
2004
- 2004-10-20 JP JP2004306106A patent/JP2006121343A/en active Pending
-
2005
- 2005-10-20 CN CNB2005101094721A patent/CN100345436C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000312327A (en) * | 1999-04-28 | 2000-11-07 | Olympus Optical Co Ltd | Image processor |
JP2000311241A (en) * | 1999-04-28 | 2000-11-07 | Olympus Optical Co Ltd | Image processor |
Also Published As
Publication number | Publication date |
---|---|
CN1764229A (en) | 2006-04-26 |
JP2006121343A (en) | 2006-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100345436C (en) | Image processing apparatus | |
WO2022095797A1 (en) | Image compression method and apparatus, and intelligent terminal and computer-readable storage medium | |
JP4728393B2 (en) | Method and apparatus for processing image data stored in a frame buffer | |
US8269786B2 (en) | Method for reading and writing image data in memory | |
US10304213B2 (en) | Near lossless compression scheme and system for processing high dynamic range (HDR) images | |
KR101576560B1 (en) | Image processing apparatus for reading compressed data from memory via data bus and image processing method thereof | |
KR102194615B1 (en) | Tile-based compression and decompression for graphic applications | |
CN1479995A (en) | TV. Receiver | |
EP1338151A2 (en) | On the fly data transfer between rgb and ycrcb color spaces for dct interface | |
US20060236000A1 (en) | Method and system of split-streaming direct memory access | |
CN1734498A (en) | Image processing apparatus | |
CN1822669A (en) | Image processing method and image processing apparatus | |
CN1218256C (en) | Equipment and method for selecting inactive display image | |
US20110235936A1 (en) | Routable image pipeline device | |
JP2004509528A (en) | Data transfer between RGB color space and YCrCb color space for DCT interface | |
KR101068829B1 (en) | Imaging device and method for processing image rotation | |
EP1657915A1 (en) | Sized optimized pixel line to pixel block conversion algorithm | |
CN1902659A (en) | Method and apparatus for image processing in a handheld device | |
US9001237B2 (en) | Method for processing image data | |
JP2009171311A (en) | Imaging apparatus | |
US20100254618A1 (en) | Method for Accessing Image Data and Related Apparatus | |
JP4713957B2 (en) | Image processing device | |
US20090094392A1 (en) | System and Method for Data Operations in Memory | |
JP4293503B2 (en) | Image processing device | |
CN2854972Y (en) | Image integrated circuit and its image processor |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071024 |
|
CF01 | Termination of patent right due to non-payment of annual fee |