A data processing method and device

A data processing and data technology, applied in the field of image processing, can solve problems such as reading and writing catch-up, image data errors, etc.

Active Publication Date: 2018-12-07
HISENSE VISUAL TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a data processing method and device, which solves the problem that in the prior art, the number of frames of image data read by DMA is greater than the number of frames of image data written by DMA. image data error problem

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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0023] An embodiment of the present invention provides a data processing method. The data processing device in this embodiment may be a DMA controller or other processors capable of reading and writing data storage areas of a memory. Such as figure 1 As shown, the data processing method specifically includes the following steps:

[0024] 101. The data processing device acquires a frame of image data to be written into a memory.

[0025] Wherein, the above-me...

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

Provided are a data processing method and apparatus, which relate to the field of image processing. The method and apparatus solve the problem in the prior art of errors in transmitted image data due to a phenomenon of read-write chase since a frame number of image data read by DMA is greater than a frame number of image data written by the DMA. The method comprises: acquiring one frame of image data to be written into memory, wherein the image data is an Nth frame of input image data; according to the frame number N and the number of data storage areas M in the memory, determining an address corresponding to a first data storage area in which the image data to be written into the memory needs to be stored, and determining, according to a difference between the frame number N and a pre-set null frame number as well as the number of data storage areas M, an address corresponding to a second data storage area where the image data, which needs to be read, of the corresponding frame number is located under the current image output format; writing the image data to be written into the memory into the first data storage area; and reading the image data stored in the second data storage area.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a data processing method and device. Background technique [0002] A Direct Memory Access (DMA) controller is a transmission device that allows different hardware devices to directly read and write data without requiring a large number of CPU interrupts for processing. Since the DMA controller can copy data from one address space to another, the DMA controller can be used to realize the information exchange between the memory and the external device. Specifically, when the double data rate synchronous dynamic random access memory (Double Data Rate, referred to as DDR) is accessed through the DMA controller to transmit image data, since in the image processing process, a certain number of frames of cache memory is often set in the DDR space, and then write the image data from the external device into the DDR buffer space through the DMA controller, and read the corresponding frame...

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 Patents(China)
IPC IPC(8): G06F13/32
CPCG06F13/32
Inventor 周导陈世雷李洋
Owner HISENSE VISUAL TECH CO LTD
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