Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)

A technology of structural image and optimization method, which is applied in image memory management, electrical digital data processing, processor architecture/configuration, etc., can solve the problems of image processing algorithms such as complex operation, large amount of data, long calculation time, etc., and achieve significant social and military benefits, speeding up operations, and improving utilization

Inactive Publication Date: 2011-10-19
BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
View PDF2 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The image processing algorithm has the characteristics of complex calculation, large amount of data, and high correlation of data processing. The complex operation means that the algorithm includes a large amount of data access operations. The large amount of image data makes it impossible to store all images in the internal cache of the DSP. Data processing High correlation leads to data migration and data processing must be carried out sequentially, these characteristics make the image processing algorithm on the DSP platform have shortcomings such as long calculation time and low real-time performance
At present, the introduction of relevant topics in the public literature mainly focuses on single professional directions such as digital image processing algorithms, DSP program optimization methods, and embedded system design schemes. There are few introductions to embedded real-time image processing algorithm optimization methods, and the optimization methods are different. , there is no discussion on the optimization algorithm design of double-buffered ping-pong parallel structure image processing based on DMA on the DSP platform

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)
  • Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)
  • Double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access)

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0028] Direct memory access (Direct Memory Access, DMA) is an important data access method of C6000DSP. The multi-channel DMA controller is an on-chip integrated peripheral independent of the CPU core (see figure 1 ), it can complete the data movement in the DSP storage space without the participation of the CPU core unit, and work in parallel with the CPU core.

[0029] The transfer operation of DMA is realized by setting up the control register. A typical QDMA operation sequence should be:

[0030] QDMA_SRC = SRC_ADDRESS;

[0031] QDMA_DST = DST_ADDRESS;

[0032] QDMA_CNT=DATA_LEN;

[0033] QDMA_S OPT = OPT_COMMAND;

[0034] Among them, QDMA_SRC, QDMA_DST, QDMA_CNT, and QDMA_S_OPT are all physical registers of QDMA, and set the source address, target address, data length and channel selection parameters respectively.

[0035]In order to use DMA more conveniently, DSP's CSL (Chip Support Library) provides DAT series API functions based on DMA / EDMA. Among them, DAT_fill,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a double-buffer ping-bang parallel-structure image processing optimization method based on DMA (direct memory access). The method comprises the following steps: a DSP (digital signal processor) is externally connected with an SDRAM (synchronous dynamic random access memory), images to be processed are stored in the SDRAM, dividing the image data in the SDRAM into 2N image bands, opening up odd-even buffer areas for storing odd-even image band data in the DSP, then utilizing fast data transmission capability of the DSP and a parallel working mode of a DMA controller and a CPU (central processing unit) to realize optimization processing for the images stored in the SDRAM. In the double-buffer ping-bang parallel-structure image processing optimization method, the utilization ratio of the CPU and the DMA controller is effectively improved, the operation speed of image processing algorithm is accelerated, the performance of the DSP in the aspect of real-time image processing is improved, and the method can be widely applied in the fields of real-time image processing, such as scene matching, image fusion and target tracking and the like, and also can be used for the field of military.

Description

technical field [0001] The invention relates to an image processing optimization method, in particular to a DMA-based double-buffering ping-pong parallel structure image processing optimization method, which belongs to the field of embedded image processing algorithm optimization. Background technique [0002] With the development of digital processing methods, digital image processing technology has been more and more applied in scientific research, industrial production or management departments. Image processing techniques such as scene matching, image fusion, and target tracking are widely used in the aerospace field. Real-time image processing has the characteristics of large amount of data and high correlation of data processing, and the real-time application environment determines that the real-time system must have powerful computing capabilities. The development platform based on DSP can provide it with high-speed data processing capability, and its programmability...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T1/20G06T1/60G06F13/28
Inventor 杨威靳晓园张诚李彦马颖劲刘建兵
Owner BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products