CN107168660A - Image procossing caching system and method - Google Patents
Image procossing caching system and method Download PDFInfo
- Publication number
- CN107168660A CN107168660A CN201610128075.7A CN201610128075A CN107168660A CN 107168660 A CN107168660 A CN 107168660A CN 201610128075 A CN201610128075 A CN 201610128075A CN 107168660 A CN107168660 A CN 107168660A
- Authority
- CN
- China
- Prior art keywords
- module
- described image
- image
- fetching
- view data
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 238000003384 imaging method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 206010044565 Tremor Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/28—Indexing scheme for image data processing or generation, in general involving image processing hardware
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
- Image Input (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
The invention discloses a kind of image procossing caching system, including reading control module, with reading the image processing module that control module is connected, the output buffer module being connected with image processing module and the screen drive module being connected with output buffer module, the reading control module judges whether screen output end has view data prefetched command, if, the output buffer module is write after then being handled according to the order of described image data pre-fetching and by described image processing module view data, the output buffer module exports the view data after processing to the screen drive module according to the order of described image data pre-fetching.The invention also discloses a kind of image procossing caching method.The invention enables required buffer memory unit reduction, and can reduce fetch according to when sequential unsteady phenomena, in the case of data bandwidth needed for no increase, enhance caching capabilities.
Description
Technical field
The present invention relates to image processing field, more particularly to a kind of image procossing caching system and method.
Background technology
In image processing process, generally require to do overlap-add operation to multiple figure layers, during screen is output image to,
Need to ensure that the view data exported is continuous and complete, and original digital image data is read the sequential of graphics processing unit by memory space
It is probably indefinite, especially when there is multiple master controls to operate the situation of memory space, it is therefore desirable to pre- before output starts
A part of view data first is read into graphics processing unit to pre-process, carrys out the unstable situation of the sequential of floating access evidence.
In the prior art, the method for the pre-processing image data typically taken be by overlap-add operation in need layer data point
Do not read in advance in corresponding caching, the length of pre-read be probably two rows (during zoom operations), a line or hemistich, it is necessary to
Image procossing is carried out during output again, and when image resolution ratio more and more higher is needed, required data buffer storage will be at double
Increase, so as to cause chip cost to be significantly increased.
The content of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide a kind of image procossing caching system and method so that required
The buffer memory unit wanted is reduced, and can reduce fetch according to when sequential unsteady phenomena, the data bandwidth needed for no increase
In the case of, enhance caching capabilities.
The purpose of the present invention is achieved through the following technical solutions:A kind of image procossing caching system, it is characterised in that:Institute
Stating image procossing caching system includes reading control module, with reading image processing module and image procossing that control module is connected
The connected output buffer module of module and the screen drive module being connected with output buffer module, the reading control module judge screen
Whether curtain output end has view data prefetched command, if so, then according to the order of described image data pre-fetching and passing through described image
Processing module writes the output buffer module after handling view data, the output buffer module is according to described image number
The view data after processing is exported to the screen drive module according to prefetched command.
The reading control module includes being used to determine whether the order of described image data pre-fetching and according to described image data pre-fetching
The access submodule of row data is read in order.
Described image processing module includes being used to set the parameter setting submodule of figure layer parameter, for judging that described image data are pre-
Take whether whether there are the row data of overlap-add operation and reading in order be the judging submodule of last column and for according to the figure
As data pre-fetching order carries out the operational control submodule of image manipulation processing.
The figure layer parameter includes the image procossing maximum superposition number of plies, view data address and image procossing mode.
Described image processing mode includes overlap-add operation, zoom operations and brightness adjustment operation, and described image operation processing includes figure
As overlap-add operation processing and image scale operation processing.
A kind of image procossing caching method, comprises the following steps:
Figure layer parameter is set by the parameter setting submodule of image processing module;
Judge whether screen output end has view data prefetched command by reading control module, if it is, into next step;
If it is not, then continuing executing with this step;
Judge whether there is overlap-add operation in described image data pre-fetching order by the judging submodule of image processing module, if it is,
Then by it is described reading control module access submodule read superimposed layer in need row data, into next step;If not,
The row data for the display layer for needing to show then are read by the access submodule of the reading control module, into next step;
Carried out according to the order of described image data pre-fetching by the operational control submodule of described image processing module at image manipulation
Reason;
Output buffer module is write after being handled by described image processing module view data;
The view data after processing is exported to screen according to the order of described image data pre-fetching by the output buffer module and driven
Module;Judge whether the row data read are last column by the judging submodule of described image processing module simultaneously, if it is,
Then enter next step;And
Judge whether screen output end has tenth skill order by the reading control module, if it is, release.
The figure layer parameter includes the image procossing maximum superposition number of plies, view data address and image procossing mode.
Described image processing mode includes overlap-add operation, zoom operations and brightness adjustment operation, and described image operation processing includes figure
As overlap-add operation processing and image scale operation processing.
The beneficial effects of the invention are as follows:So that required buffer memory unit is reduced, and can reduce fetch according to when sequential shakiness
Determine situation, in the case of data bandwidth needed for no increase, enhance caching capabilities.
Brief description of the drawings
Fig. 1 is the system architecture diagram of image procossing caching system of the present invention;
Fig. 2 is the method flow diagram of image procossing caching method of the present invention.
Embodiment
Technical scheme is described in further detail below in conjunction with the accompanying drawings, but protection scope of the present invention is not limited to following institute
State.
As shown in figure 1, Fig. 1 is the system architecture diagram of image procossing caching system of the present invention, image procossing caching system of the present invention
Including reading control module, the image processing module being connected with reading control module, the output being connected with image processing module are cached
Module and the screen drive module being connected with output buffer module, read control module and judge whether screen output end has view data
Prefetched command, if so, being write after then being handled according to view data prefetched command by image processing module view data
View data after processing is exported to screen and drives mould by output buffer module, output buffer module according to view data prefetched command
Block.
Wherein, reading control module includes access submodule, for determining whether view data prefetched command and according to picture number
Row data are read according to prefetched command, image processing module includes parameter setting submodule, judging submodule and operational control submodule,
Parameter setting submodule is used to set figure layer parameter, including the view data maximum superposition number of plies, view data address and image procossing
Mode (including overlap-add operation, zoom operations, brightness adjustment operation etc.), judging submodule is used to judge view data prefetched command
In whether have whether overlap-add operation and the row data of reading are last column, operational control submodule is used for pre- according to view data
Order is taken to carry out the operation such as imaging importing, image scaling.
As shown in Fig. 2 Fig. 2 is the method flow diagram of image procossing caching method of the present invention, image procossing caching method of the present invention
Comprise the following steps:
Step one, action starts.
Step 2, figure layer parameter, including the maximum superimposed layer of image procossing are set by the parameter setting submodule of image processing module
Number, view data address and image procossing mode (including overlap-add operation, zoom operations, brightness adjustment operation etc.).
Step 3, judges whether screen output end has view data prefetched command by reading control module, that is, judges that screen is exported
End whether the requirement of display in need, if it is, into next step;If it is not, then continuing executing with this step.
Step 4, judges whether there is overlap-add operation in view data prefetched command, such as by the judging submodule of image processing module
Fruit be, then by read control module access submodule read superimposed layer in need row data, into next step;If
It is no, then the row data for the display layer for needing to show are read by reading the access submodule of control module, into next step.
Step 5, image manipulation processing is carried out according to view data prefetched command by the operational control submodule of image processing module,
Including the operations such as imaging importing operation, image scale operation processing.
Step 6, output buffer module is write after being handled by image processing module view data.
Step 7, the view data after processing is exported to screen drive by output buffer module according to view data prefetched command
Module;Judge whether the row data read are last column by the judging submodule of image processing module simultaneously, if it is,
Into next step;If it is not, then return to step four.
Step 8, judges whether screen output end has tenth skill order by reading control module, if it is, release;
If it is not, then return to step two.
Image procossing caching system of the present invention and method compared with prior art, with advantages below:1. no longer need each layer all
Complete a line of caching so that required buffer memory unit is reduced to nearly 1/n (n is the maximum superposition number of plies);2. it is slow in advance
The data deposited are regular length (1 row or 2 rows), it is to avoid in the prior art may be due to actual defeated caused by zoom operations
Go out the situation of data cached reduction, can reduce access according to when sequential unsteady phenomena;3. the data bandwidth needed for no increase
In the case of, enhance caching capabilities.
In summary, image procossing caching system of the present invention and method so that required buffer memory unit is reduced, and can be subtracted
Few access according to when sequential unsteady phenomena, in the case of data bandwidth needed for no increase, enhance caching capabilities.
Claims (8)
1. a kind of image procossing caching system, it is characterised in that:Described image processing caching system includes reading control module, with
The output buffer module and and output buffer module for read the connected image processing module of control module, being connected with image processing module
Connected screen drive module, the reading control module judges whether screen output end has view data prefetched command, if so,
The output is write after then being handled according to the order of described image data pre-fetching and by described image processing module view data
Cache module, the output buffer module exports the view data after processing to the screen according to the order of described image data pre-fetching
Curtain drive module.
2. image procossing caching system according to claim 1, it is characterised in that:The reading control module includes being used for
Determine whether the order of described image data pre-fetching and the access submodule of row data is read according to the order of described image data pre-fetching.
3. image procossing caching system according to claim 2, it is characterised in that:Described image processing module includes being used for
The parameter setting submodule of figure layer parameter is set, for judging whether there is overlap-add operation and reading in described image data pre-fetching order
The row data taken whether be last column judging submodule and for according to the order of described image data pre-fetching carry out image manipulation at
The operational control submodule of reason.
4. image procossing caching system according to claim 3, it is characterised in that:The figure layer parameter includes image procossing
The maximum superposition number of plies, view data address and image procossing mode.
5. image procossing caching system according to claim 4, it is characterised in that:Described image processing mode includes superposition
Operation, zoom operations and brightness adjustment operation, described image operation processing include imaging importing operation processing and image scale operation
Processing.
6. a kind of image procossing caching method, comprises the following steps:
Figure layer parameter is set by the parameter setting submodule of image processing module;
Judge whether screen output end has view data prefetched command by reading control module, if it is, into next step;
If it is not, then continuing executing with this step;
Judge whether there is overlap-add operation in described image data pre-fetching order by the judging submodule of image processing module, if it is,
Then by it is described reading control module access submodule read superimposed layer in need row data, into next step;If not,
The row data for the display layer for needing to show then are read by the access submodule of the reading control module, into next step;
Carried out according to the order of described image data pre-fetching by the operational control submodule of described image processing module at image manipulation
Reason;
Output buffer module is write after being handled by described image processing module view data;
The view data after processing is exported to screen according to the order of described image data pre-fetching by the output buffer module and driven
Module;Judge whether the row data read are last column by the judging submodule of described image processing module simultaneously, if it is,
Then enter next step;And
Judge whether screen output end has tenth skill order by the reading control module, if it is, release.
7. image procossing caching method according to claim 6, it is characterised in that:The figure layer parameter includes image procossing
The maximum superposition number of plies, view data address and image procossing mode.
8. image procossing caching method according to claim 7, it is characterised in that:Described image processing mode includes superposition
Operation, zoom operations and brightness adjustment operation, described image operation processing include imaging importing operation processing and image scale operation
Processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610128075.7A CN107168660B (en) | 2016-03-08 | 2016-03-08 | Image processing cache system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610128075.7A CN107168660B (en) | 2016-03-08 | 2016-03-08 | Image processing cache system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107168660A true CN107168660A (en) | 2017-09-15 |
CN107168660B CN107168660B (en) | 2024-05-10 |
Family
ID=59849826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610128075.7A Active CN107168660B (en) | 2016-03-08 | 2016-03-08 | Image processing cache system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168660B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009987A (en) * | 2017-12-01 | 2018-05-08 | 中国科学院长春光学精密机械与物理研究所 | A kind of image scaling device and Zoom method |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731374A (en) * | 2005-08-25 | 2006-02-08 | 北京中星微电子有限公司 | A cache prefetch module and method thereof |
CN1757018A (en) * | 2003-03-06 | 2006-04-05 | 皇家飞利浦电子股份有限公司 | Data processing system with prefetching means |
US7028096B1 (en) * | 1999-09-14 | 2006-04-11 | Streaming21, Inc. | Method and apparatus for caching for streaming data |
US20070168046A1 (en) * | 2003-08-04 | 2007-07-19 | Mitsubishi Denki Kabushiki Kaisha | Image information apparatus and module unit |
CN101022551A (en) * | 2007-03-15 | 2007-08-22 | 上海交通大学 | Motion compensating module pixel prefetching device in AVS video hardware decoder |
CN101140658A (en) * | 2007-10-11 | 2008-03-12 | 上海交通大学 | Data pre-fetching system in video processing |
CN101321240A (en) * | 2008-06-25 | 2008-12-10 | 华为技术有限公司 | Method and device for multi-drawing layer stacking |
CN101488333A (en) * | 2009-01-22 | 2009-07-22 | 中兴通讯股份有限公司 | Image display device and display outputting method thereof |
US20100045594A1 (en) * | 2008-08-20 | 2010-02-25 | The Regents Of The University Of California | Systems, methods, and devices for dynamic management of data streams updating displays |
CN103077129A (en) * | 2012-12-31 | 2013-05-01 | 上海算芯微电子有限公司 | Information processing method and device |
CN103875253A (en) * | 2012-08-21 | 2014-06-18 | 索尼公司 | Information processing device, information processing method, program and server device |
CN105049781A (en) * | 2014-12-27 | 2015-11-11 | 中航华东光电(上海)有限公司 | Image processing system based on Field Programmable Gate Array (FPGA) |
CN205451035U (en) * | 2016-03-08 | 2016-08-10 | 成都锐成芯微科技有限责任公司 | Image processing buffer memory system |
-
2016
- 2016-03-08 CN CN201610128075.7A patent/CN107168660B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7028096B1 (en) * | 1999-09-14 | 2006-04-11 | Streaming21, Inc. | Method and apparatus for caching for streaming data |
CN1757018A (en) * | 2003-03-06 | 2006-04-05 | 皇家飞利浦电子股份有限公司 | Data processing system with prefetching means |
US20060190688A1 (en) * | 2003-03-06 | 2006-08-24 | Koninklijke Philips Electronics N.V. | Data processing system with prefetching means |
US20070168046A1 (en) * | 2003-08-04 | 2007-07-19 | Mitsubishi Denki Kabushiki Kaisha | Image information apparatus and module unit |
CN1731374A (en) * | 2005-08-25 | 2006-02-08 | 北京中星微电子有限公司 | A cache prefetch module and method thereof |
CN101022551A (en) * | 2007-03-15 | 2007-08-22 | 上海交通大学 | Motion compensating module pixel prefetching device in AVS video hardware decoder |
CN101140658A (en) * | 2007-10-11 | 2008-03-12 | 上海交通大学 | Data pre-fetching system in video processing |
CN101321240A (en) * | 2008-06-25 | 2008-12-10 | 华为技术有限公司 | Method and device for multi-drawing layer stacking |
US20100045594A1 (en) * | 2008-08-20 | 2010-02-25 | The Regents Of The University Of California | Systems, methods, and devices for dynamic management of data streams updating displays |
CN101488333A (en) * | 2009-01-22 | 2009-07-22 | 中兴通讯股份有限公司 | Image display device and display outputting method thereof |
CN103875253A (en) * | 2012-08-21 | 2014-06-18 | 索尼公司 | Information processing device, information processing method, program and server device |
CN103077129A (en) * | 2012-12-31 | 2013-05-01 | 上海算芯微电子有限公司 | Information processing method and device |
CN105049781A (en) * | 2014-12-27 | 2015-11-11 | 中航华东光电(上海)有限公司 | Image processing system based on Field Programmable Gate Array (FPGA) |
CN205451035U (en) * | 2016-03-08 | 2016-08-10 | 成都锐成芯微科技有限责任公司 | Image processing buffer memory system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108009987A (en) * | 2017-12-01 | 2018-05-08 | 中国科学院长春光学精密机械与物理研究所 | A kind of image scaling device and Zoom method |
CN108009987B (en) * | 2017-12-01 | 2021-08-20 | 中国科学院长春光学精密机械与物理研究所 | Image zooming device and zooming method |
Also Published As
Publication number | Publication date |
---|---|
CN107168660B (en) | 2024-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9472018B2 (en) | Graphics processing systems | |
CN107025085B (en) | Data processing system, processing unit for the same, operation method, and storage medium | |
CN104981838B (en) | Optimizing image memory access | |
JP2001101396A (en) | Processor and method for correcting image distortion and medium with program performing image distortion correction processing stored therein | |
US20180054615A1 (en) | Analytics Assisted Encoding | |
CN205451035U (en) | Image processing buffer memory system | |
CN107168660A (en) | Image procossing caching system and method | |
KR20220090548A (en) | Compression Techniques for Pixel Write Data | |
US8732384B1 (en) | Method and apparatus for memory access | |
US9852092B2 (en) | System and method for memory access | |
US10448020B2 (en) | Intelligent MSI-X interrupts for video analytics and encoding | |
US20170301319A1 (en) | Data processing systems | |
US20130278775A1 (en) | Multiple Stream Processing for Video Analytics and Encoding | |
US20130329137A1 (en) | Video Encoding in Video Analytics | |
TW569096B (en) | The cache/prefetch frame of serial data system and its method of operation | |
US20090073163A1 (en) | Apparatus for and method of processing vertex | |
US20240160889A1 (en) | Neural network processing | |
US20130322551A1 (en) | Memory Look Ahead Engine for Video Analytics | |
WO2024118071A1 (en) | Reduced power consumption in machine learning models | |
JP2003016438A (en) | Image generating device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |