Optimized two-dimension DMA transmission method especially for access to image block

A transmission method and image block technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problems of reducing the transmission speed, not being within the boundary of the original image, and taking the number wrong.

Inactive Publication Date: 2008-06-11
无锡翔劲计算机科技有限公司
View PDF1 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the image access of the multimedia acceleration engine, because it is often necessary to fetch sub-image blocks for processing, or store the processed sub-image blocks in the memory, and some of these sub-image blocks are b

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
  • Optimized two-dimension DMA transmission method especially for access to image block
  • Optimized two-dimension DMA transmission method especially for access to image block
  • Optimized two-dimension DMA transmission method especially for access to image block

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The method of the present invention will be described in more detail below in conjunction with the accompanying drawings.

[0037] figure 1 It is a system block diagram of the method of the present invention. In the system, after the DMA is configured with register parameters, the control data is accessed through the middle FIFO.

[0038] When the data to be transmitted is byte-aligned, that is, when the lower two bits of the address are not 0, a 16-byte adaptive FIFO is used to process the data transmission. image 3 It is a schematic diagram of a 16-byte adaptive FIFO, figure 2 It is a typical case of four different byte alignments. The specific byte alignment processing methods are as follows:

[0039] First, assume that the lower two digits of the starting address of the fetching side are g, the lower two digits of the row width of the two-dimensional data to be fetched are g1, the other high digits are g2, the number of fetches is g3, and the lower digits of the...

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 discloses a two-dimensional DMA method special for data optimization of MAE access image block, which can obviously accelerate the transmission speed of the image block when processing byte alignment and automatically fill up the subimage block data beyond the image boundary. The method mainly comprises the following steps: (1) gaining the initial work address of the actual poke and access of poke edge and access edge according to the leading byte addresses of the poke edge and the access edge; (2) gaining poke times of the poke edge and access times of the access edge according to the leading byte addresses of poke edge and access edge and transmit data in each row; (3) initializing the row counting value and line counting value of the poke edge and access edge; (4) reading data of poke edge and writing in adaptive FIFO; (5) writing data in the adaptive FIFO; (6) continuing to transmit the data in next row if the adaptive FIFO is not full. The method can increase the transmission speed by four times and ensure the accuracy of data access.

Description

technical field [0001] The invention relates to a two-dimensional DMA transmission method optimized for accessing image blocks on a video communication hardware MAE (media accelerator engine). In particular, it relates to a transmission method when the MAE accesses sub-image block data with byte alignment at high speed and the sub-block data boundary of the image exceeds the image boundary. Background technique [0002] In traditional DMA transmission, DMA can process data in parallel with the main processor, reducing the load on the processor, and because it is direct memory access, the transmission speed is faster than the speed of CPU access to data, so it generally requires large-scale access When data is transferred, DMA is used for transmission. [0003] However, the traditional DMA data transmission speed cannot adapt to the high-bandwidth, high-transmission-rate image and video data transmission requirements gradually. Under ordinary two-dimensional DMA transmission...

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
IPC IPC(8): G06F13/28
Inventor 方应龙汤加跃
Owner 无锡翔劲计算机科技有限公司
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