CN104932994B - A kind of data processing method and device - Google Patents

A kind of data processing method and device Download PDF

Info

Publication number
CN104932994B
CN104932994B CN201510338064.7A CN201510338064A CN104932994B CN 104932994 B CN104932994 B CN 104932994B CN 201510338064 A CN201510338064 A CN 201510338064A CN 104932994 B CN104932994 B CN 104932994B
Authority
CN
China
Prior art keywords
storage area
data storage
remainder
image data
frame number
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.)
Active
Application number
CN201510338064.7A
Other languages
Chinese (zh)
Other versions
CN104932994A (en
Inventor
周导
陈世雷
李洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201510338064.7A priority Critical patent/CN104932994B/en
Priority to PCT/CN2015/088991 priority patent/WO2016201793A1/en
Publication of CN104932994A publication Critical patent/CN104932994A/en
Application granted granted Critical
Publication of CN104932994B publication Critical patent/CN104932994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/32Handling requests for interconnection or transfer for access to input/output bus using combination of interrupt and burst mode transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of data processing method and device, it is related to field of image processing, it solves in the prior art since the DMA frame number for reading image data is greater than the frame number for the image data that DMA write enters, to which read-write pursuit phenomenon occur, and then lead to the problem of the image data mistake of transmission.This method comprises: obtaining the frame image data to be written to memory, which is the image data of nth frame input;According to the data storage area number M in frame number N and memory, determine the corresponding address in the first data storage area that the image data to be written to memory needs to be stored in, and according to the difference and data storage area number M between frame number N and default null frame number, the corresponding address in the second data storage area locating for the image data for the corresponding frame number for needing to read under present image output format is determined;It is written into the image data of memory and is written in the first data storage area;Read the image data stored in the second data storage area.

Description

A kind of data processing method and device
Technical field
The present invention relates to field of image processing more particularly to a kind of data processing method and devices.
Background technique
Direct memory access (Direct Memory Access, abbreviation DMA) controller is a kind of transmitting device, Ke Yiyun Perhaps different hardware devices directly carries out reading and writing data, is handled without a large amount of interruptions of CPU.Since DMA is controlled Data can be copied to another address space from an address space by device, therefore, can be by the dma controller come real Information exchange between existing memory and external equipment.Specifically, when be accessed by dma controller Double Data Rate synchronous dynamic with When machine memory (Double Data Rate, abbreviation DDR) carries out the transmission of image data, due to during image processing, The spatial cache of certain frame number is often set in DDR, then, the picture number for being passed to external equipment by dma controller According in write-in DDR spatial cache, and required to read corresponding frame number from the spatial cache of DDR according to different image output format Image data (for example, current image output format be 3D when, it is corresponding to need to read two field pictures data to realize image 3D effect), to realize the transmission of image data.
But it since dma controller is to separate progress to the write operation of the spatial cache of DDR and read operation, operates respectively , therefore, dma controller is different to the speed of write-in with the reading of DDR, therefore, when the image data of dma controller processing When measuring excessive, since the frame number that dma controller reads image data is greater than the frame number for the image data that DMA write enters, to occur Read-write pursuit phenomenon, and then lead to the image data mistake of transmission.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method and device, solves in the prior art since DMA is read The frame number of image data is greater than the frame number for the image data that DMA write enters, so that read-write pursuit phenomenon occur, and then leads to transmission The problem of image data mistake.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of data processing method, comprising:
The frame image data to be written to memory is obtained, the image data to be written to memory is nth frame The image data of input, the memory include M data storage area, for storing image data according to preset order, each Data storage area is for storing a frame image data;
According to the frame number N and data storage area number M, the image data to be written to memory is determined The corresponding address in the first data storage area for needing to be stored in, and according between the frame number N and default null frame number difference and The data storage area number M, locating for the image data for determining the corresponding frame number for needing to read under present image output format The corresponding address in second data storage area, the default null frame number are the image data stored in second data storage area Input the difference between frame number and the frame number N;
Institute is written into the image data to be written to memory according to the corresponding address in first data storage area It states in the first data storage area;
The picture number stored in second data storage area is read according to the corresponding address in second data storage area According to.
Second aspect provides a kind of data processing equipment, comprising:
Module is obtained, for obtaining the frame image data to be written to memory, the figure to be written to memory As data be nth frame input image data, the memory includes M data storage area, for storing according to preset order Image data, each data storage area is for storing a frame image data;
Determining module, it is described to be written to depositing for determining according to the frame number N and data storage area number M The image data of reservoir needs the corresponding address in the first data storage area being stored in, and according to the frame number N and default null frame number Between difference and the data storage area number M, determine the corresponding frame number for needing to read under present image output format The corresponding address in second data storage area locating for image data, the default null frame number are to deposit in second data storage area Difference between the input frame number of the image data of storage and the frame number N;
Writing module, the corresponding address in first data storage area for being determined according to the determining module will be described Image data to be written to memory is written in first data storage area;
Institute is read in read module, the corresponding address in second data storage area for being determined according to the determining module State the image data stored in the second data storage area.
The data processing method and device that the embodiment of the present invention provides, obtain the frame picture number to be written to memory According to, which is the image data of nth frame input, which includes M data storage area, Each data storage area stores a frame image data and determines to be written then according to frame number N and data storage area number M Enter the corresponding address in the first data storage area for needing to be stored in the image data of memory, and according to frame number N and default sky Difference and data storage area number M between frame number, determine the corresponding frame number for needing to read under present image output format The locating corresponding address in the second data storage area of image data difference, finally, correspondingly according to first data storage area Location is written into the image data of memory and is written in the first data storage area, correspondingly according to second data storage area Read the image data stored in the second data storage area in location.In this way by carrying out subregion, and setting meter to memory in advance Number devices count the currently image data frame number that has inputted, then according to the image data frame number currently inputted that counts with And in subregion background storage data storage area number, determine currently input a frame image data need be written data storage The address of data storage area locating for the address in area and the subsequent two field pictures data difference for needing to read, to effectively control The speed difference between read-write has been made, ensure that the relationship between the frame number of the image data of write-in and the frame number of the image data of reading Meet the needs of present image output format, avoids read-write Rethinking Catching-Up Issues.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for data processing method that the embodiment of the present invention provides;
Fig. 2 is the memory configuration schematic diagram of the data storage area for the memory that the embodiment of the present invention provides;
Fig. 3 is the flow diagram of the write-in and reading for the image data that the embodiment of the present invention provides;
Fig. 4 is a kind of structural schematic diagram for data processing equipment that the embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of data processing method, and the data processing equipment in the present embodiment can be DMA Controller or the processor of other operations that data storage area of memory can be written and read.As shown in Figure 1, at the data Reason method specifically comprises the following steps:
101, data processing equipment obtains the frame image data to be written to memory.
Wherein, the above-mentioned image data to be written to memory is the image data of nth frame input, and memory includes M A data storage area, this M data storage area are used to store image data according to preset order, and each data storage area is for depositing Store up a frame image data.
Illustratively, according to the memory configuration schematic diagram of the data storage area of memory shown in Fig. 2.The memory When carrying out subregion according to 4 data storage areas, 4 data storage areas of FIN0, FIN1, FIN2, FIN3 memory respectively, often A frame image data is stored in a data storage area, and 4 frame image datas can be stored in the memory, every frame image data includes Y, Tri- components of U, V.Specifically, assuming that the initial address of the memory is BASEADDR, the size of every frame data is FSIZE, then As shown in Fig. 2, corresponding, the initial address of each data storage area is respectively as follows:
FIN0:BASEADDR;
FIN1:BASEADDR+FSIZE;
FIN2:BASEADDR+2*FSIZE;
FIN3:BASEADDR+3*FSIZE.
102, data processing equipment determines the image to be written to memory according to frame number N and data storage area number M Data need the corresponding address in the first data storage area that is stored in, and according between frame number N and default null frame number difference and Data storage area number M is determined second locating for the image data for the corresponding frame number for needing to read under present image output format The corresponding address in data storage area.
Wherein, the first above-mentioned data storage area and the second data storage area are the data storage area of the memory.It is above-mentioned Default null frame number be data processing equipment in order to avoid the image data that the data processing equipment is read is the figure being currently written into As data either before image of the older data so as to cause shown in that is written rebound phenomenon occurs and is arranged, it is above-mentioned Default null frame number and data storage area number between difference need be more than or equal to 1.
And above-mentioned image output format includes 3D rendering.For example, when above-mentioned image output format is 3D output format When, since the image data of two frames can do the 3D effects such as left-right format, top-down format, interlaced format, in order to make 3D Image effect, the data processing equipment need to read the image data of two frames.
Preferably, after the data processing equipment carries out subregion to memory in advance, the number of obtained data storage area When being 4, and present image output format be 3D output format when, corresponding default null frame number is preferably 1 or 2.
Illustratively, data processing equipment frame number N and data storage area number M in above-mentioned step 102, determines to be written Entering to the image data of memory needs the corresponding address in the first data storage area being stored in specifically include:
A1, data processing equipment determine the remainder Y1 between frame number N and data storage area number M.
Illustratively, after data processing equipment receives a frame image data from LVDS receiver, VIN interruption can be triggered, The data processing equipment counts the image data frame number inputted by frame counter when triggering VIN is interrupted every time at this time.Tool Body, which calculates remainder Y1 by formula one (Y1=N mod M), wherein Y1 ∈ 1,2 ... ..., M.
A2, data processing equipment are according to remainder Y1, from the first corresponding relationship, obtain the corresponding data storage area remainder Y1 Address, the first data that the corresponding data storage area remainder Y1 is needed to be stored in as the image data to be written to memory Memory block.
Wherein, the first above-mentioned corresponding relationship is the corresponding relationship of remainder and data storage area, and each remainder is one corresponding The address of data storage area.Illustratively, the first above-mentioned corresponding relationship can be between remainder and the address of data storage area First mapping table, the address of the corresponding data storage area of 1 each numerical value into M in first mapping table.
Illustratively, in above-mentioned step 102 data processing equipment according to the difference between frame number N and default null frame number with And data storage area number M, it determines locating for the image data for the corresponding frame number for needing to read under present image output format The corresponding address in two data storage areas specifically includes:
B1, data processing equipment determine that the number M's of difference and data storage area between frame number N and default null frame number is remaining Number Y2, and determine present image output format to the frame number of the image data in requisition for reading.
Illustratively, if the preset default null frame number of data processing equipment is X, pass through (R=(N-X) mod of formula two M remainder Y2) is calculated, wherein Y1 ∈ 1,2 ... ..., M.
B2, data processing equipment are according to remainder Y2 and the frame number for the image data for needing to read, from the second corresponding relationship In, the address of the corresponding data storage area remainder Y2 is obtained, is stored using the corresponding data storage area remainder Y2 as the second data Area.
Wherein, the image data stored in the second above-mentioned data storage area is the image data for needing to read, this second Corresponding relationship of the corresponding relationship between remainder and data storage area, frame number of each remainder to the image data in requisition for reading The address of data storage area.Illustratively, the second above-mentioned corresponding relationship can be between remainder and the address of data storage area Second mapping table, and different image output formats corresponds to the second different mapping tables, every kind of image output format The number of the address of the corresponding data storage area of remainder is corresponding with the image output format in corresponding second mapping table The frame number for the image data for needing to read is identical.Certainly, 1 each numerical value into M can also be only in second mapping table The address of a corresponding data storage area, in this way, when data processing equipment obtains the address of the corresponding data storage area remainder Y2 When, the address of the corresponding data storage area remainder Y2 can be obtained first, then according to present image output format in requisition for The frame number of the image data of reading is continued to obtain the data and be deposited on the basis of the address of the corresponding data storage area remainder Y2 The address of next data storage area of storage area, until the address number of acquisition meets present image output format in requisition for reading Image data frame number until.
103, data processing equipment is written into according to the corresponding address in the first data storage area to the picture number of memory According in the first data storage area of write-in.
104, data processing equipment reads in the second data storage area according to the corresponding address in the second data storage area and stores Image data.
Illustratively, if the frame number of the image data currently inputted is N, the number of the data storage area of memory is 4, Default null frame number is 2, and when the frame number of the corresponding image data for needing to read of present image output format is 2.Referring to Fig. 3 institute The write-in for the image data shown is with the flow diagram read it is found that when data processing equipment receives a frame from LVDS receiver After image data, VIN interruption can be triggered, counter starts counting, the frame number N for the image data that statistics has currently inputted.Then, The storage location of a currently received frame image data is determined by the remainder that the number of frame number N and data storage area is 4, and is corresponded to The storage location of two field pictures data that reads of needs by the difference and data storage area between frame number N and threshold value null frame number 2 Number be 4 remainder determine.If the remainder of N and 4 is 0, it is put into FIN3;If remainder is 1, it is put into FIN2;If remainder is 2, then it is put into FIN1;If remainder is 3, it is put into FIN0.(if N-2) with 4 remainder be 0, read FIN2 and FIN3;If remainder It is 1, then reads FIN2 and FIN1;If remainder is 2, FIN0 and FIN1 are read;If remainder is 3, FIN0 and FIN3 are read.If The storage location for determining a currently received frame image data is data storage area FIN3, the corresponding two frame figures for needing to read When being respectively data storage area FIN1 and FIN0 as the storage location of data, then the address of the corresponding FIN3 of write operation is written Into dma controller register, image data is controlled by dma controller and is transmitted over busses the specified address, the process As WDMA0.While WDMA0 work, vout, which is interrupted, to be called, in vout interruption, by the corresponding FIN1 of read operation It is written in dma controller with the address of FIN0, dma controller reads image data from FIN1 and FIN0 respectively, the process As RDMA0 and RDMA1.
The data processing method that the embodiment of the present invention provides obtains the frame image data to be written to memory, should Image data to be written to memory is the image data of nth frame input, which includes M data storage area, each Data storage area stores a frame image data, then according to frame number N and data storage area number M, determine it is to be written extremely The image data of memory needs the corresponding address in the first data storage area being stored in, and according to frame number N and default null frame number Between difference and data storage area number M, determine the image of corresponding frame number for needing to read under present image output format The locating corresponding address in the second data storage area of data difference, finally, will according to the corresponding address in first data storage area Image data to be written to memory is written in the first data storage area, is read according to the corresponding address in second data storage area Take the image data stored in the second data storage area.In this way by carrying out subregion, and setting counter to memory in advance Count the currently image data frame number that has inputted, then according to the image data frame number currently inputted that counts and point The number of data storage area in area's background storage determines the data storage area that currently one frame image data of input needs to be written The address of data storage area locating for address and the subsequent two field pictures data difference for needing to read, to be effectively controlled Speed difference between read-write ensure that the relationship between the frame number of the image data of write-in and the frame number of the image data of reading meets The demand of present image output format avoids read-write Rethinking Catching-Up Issues.
The embodiment of the present invention provides a kind of data processing equipment, the data processing equipment for realizing above-mentioned data at Reason method, which is applied to terminal device, for example, smart television, top box of digital machine, Web TV box, intelligence Energy mobile phone, tablet computer and personal digital assistant (English: Personal Digital Assistant, abbreviation PDA) etc..Such as Shown in Fig. 4, which includes: to obtain module 21, determining module 22, writing module 23 and read module 24, in which:
Obtain module 21, for obtaining the frame image data to be written to memory, the figure to be written to memory As data be nth frame input image data, which includes M data storage area, for according to preset order storage figure As data, each data storage area is for storing a frame image data.
Determining module 22, for determining the image to be written to memory according to frame number N and data storage area number M Data need the corresponding address in the first data storage area that is stored in, and according between frame number N and default null frame number difference and Data storage area number M is determined second locating for the image data for the corresponding frame number for needing to read under present image output format The corresponding address in data storage area.
Writing module 23, for according to determining module 22 determine the corresponding address in the first data storage area be written into The image data of memory is written in the first data storage area.
The second number is read in read module 24, the corresponding address in the second data storage area for being determined according to determining module 22 According to the image data stored in memory block.
Optionally, determining module 22 according to frame number N and data storage area number M, determine it is to be written to memory Image data needs to be specifically used for when the corresponding address in the first data storage area for being stored in:
Determine the remainder Y1 between frame number N and data storage area number M;According to remainder Y1, from the first corresponding relationship, obtain The address of the corresponding data storage area remainder Y1, using the corresponding data storage area remainder Y1 as the image to be written to memory The first data storage area that data needs are stored in, the corresponding relationship of first corresponding relationship between remainder and data storage area, often The address of the corresponding data storage area of a remainder.
Optionally, determining module 22 is according to the difference and data storage area number between frame number N and default null frame number M determines that the second data storage area locating for the image data for the corresponding frame number for needing to read under present image output format is corresponding Address when be specifically used for:
It determines the remainder Y2 of M between the difference and data storage area number between frame number N and default null frame number, and determines current Frame number of the image output format to the image data in requisition for reading.
According to remainder Y2 and the frame number for the image data for needing to read, from the second corresponding relationship, Y2 pairs of remainder is obtained The address for the data storage area answered, using the corresponding data storage area remainder Y2 as the second data storage area, which is deposited The image data stored in storage area is the image data for needing to read, and second corresponding relationship is between remainder and data storage area Corresponding relationship, address of each remainder to the frame number data storage area of the image data in requisition for reading.
Wherein, the default null frame number in the present embodiment and the difference between data storage area number are more than or equal to 1.
The data processing equipment that the embodiment of the present invention provides obtains the frame image data to be written to memory, should Image data to be written to memory is the image data of nth frame input, which includes M data storage area, each Data storage area stores a frame image data, then according to frame number N and data storage area number M, determine it is to be written extremely The image data of memory needs the corresponding address in the first data storage area being stored in, and according to frame number N and default null frame number Between difference and data storage area number M, determine the image of corresponding frame number for needing to read under present image output format The locating corresponding address in the second data storage area of data difference, finally, will according to the corresponding address in first data storage area Image data to be written to memory is written in the first data storage area, is read according to the corresponding address in second data storage area Take the image data stored in the second data storage area.In this way by carrying out subregion, and setting counter to memory in advance Count the currently image data frame number that has inputted, then according to the image data frame number currently inputted that counts and point The number of data storage area in area's background storage determines the data storage area that currently one frame image data of input needs to be written The address of data storage area locating for address and the subsequent two field pictures data difference for needing to read, to be effectively controlled Speed difference between read-write ensure that the relationship between the frame number of the image data of write-in and the frame number of the image data of reading meets The demand of present image output format avoids read-write Rethinking Catching-Up Issues.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of data processing method characterized by comprising
The frame image data to be written to memory is obtained, the image data to be written to memory is nth frame input Image data, the memory includes M data storage area, for according to preset order store image data, each data Memory block is for storing a frame image data;
The address for determining the corresponding data storage area remainder Y1 between frame number N and the data storage area number M, by the remainder The first data storage area that the corresponding data storage area Y1 needs to be stored in as the image data to be written to memory, and It determines the remainder Y2 of the difference and the data storage area number M between the frame number N and default null frame number, and determines current figure As output format is to the frame number of the image data in requisition for reading, according to the remainder Y2 and the picture number for needing to read According to frame number, obtain the address of the corresponding data storage area the remainder Y2, the corresponding data storage area the remainder Y2 made For the second data storage area, the image data stored in second data storage area is the image data for needing to read;It is described Default null frame number is the difference between the input frame number of the image data stored in second data storage area and the frame number N;
According to the corresponding address in first data storage area by the image data write-in to be written to memory described the In one data storage area;
The image data stored in second data storage area is read according to the corresponding address in second data storage area.
2. the method according to claim 1, wherein the determination frame number N and the data storage area The address of the corresponding data storage area remainder Y1 between number M specifically includes:
Determine the remainder Y1 between the frame number N and the data storage area number M;
According to the remainder Y1, from the first corresponding relationship, the address of the corresponding data storage area the remainder Y1 is obtained, it is described Corresponding relationship of first corresponding relationship between remainder and data storage area, the address of the corresponding data storage area of each remainder.
3. according to the remainder Y2 and described needing to read the method according to claim 1, wherein described The frame number of image data, the address for obtaining the corresponding data storage area the remainder Y2 specifically include:
According to the remainder Y2 and the frame number of the image data for needing to read, from the second corresponding relationship, described in acquisition The address of the corresponding data storage area remainder Y2, corresponding relationship of second corresponding relationship between remainder and data storage area, Each remainder corresponds to the address of the frame number data storage area of the image data for needing to read.
4. method according to claim 1 or 3, which is characterized in that the default null frame number and the data storage area Several differences are more than or equal to 1.
5. a kind of data processing equipment characterized by comprising
Module is obtained, for obtaining the frame image data to be written to memory, the picture number to be written to memory According to the image data for being nth frame input, the memory includes M data storage area, for storing image according to preset order Data, each data storage area is for storing a frame image data;
Determining module, for determining the ground of the corresponding data storage area the remainder Y1 between frame number N and the data storage area number M Location, first that the corresponding data storage area the remainder Y1 is needed to be stored in as the image data to be written to memory Data storage area, and determine the remainder of the difference and the data storage area number M between the frame number N and default null frame number Y2, and present image output format is determined to the frame number of the image data in requisition for reading, according to the remainder Y2 and described The frame number for the image data for needing to read obtains the address of the corresponding data storage area the remainder Y2, by Y2 pairs of the remainder As the second data storage area, the image data stored in second data storage area is to need to read for the data storage area answered Image data;The default null frame number be the input frame number of image data that is stored in second data storage area with it is described Difference between frame number N;
Writing module, the corresponding address in first data storage area for being determined according to the determining module will be described to be written Enter to the image data of memory and is written in first data storage area;
Read module, the corresponding address in second data storage area for being determined according to the determining module read described the The image data stored in two data storage areas.
6. device according to claim 5, which is characterized in that the determination frame number N and the data storage area The address of the corresponding data storage area remainder Y1 between number M:
Determine the remainder Y1 between the frame number N and the data storage area number M;
According to the remainder Y1, from the first corresponding relationship, the address of the corresponding data storage area the remainder Y1 is obtained, it is described Corresponding relationship of first corresponding relationship between remainder and data storage area, the address of the corresponding data storage area of each remainder.
7. device according to claim 5, which is characterized in that described according to the remainder Y2 and described to need to read The frame number of image data obtains the address of the corresponding data storage area the remainder Y2:
According to the remainder Y2 and the frame number of the image data for needing to read, from the second corresponding relationship, described in acquisition The address of the corresponding data storage area remainder Y2, corresponding relationship of second corresponding relationship between remainder and data storage area, Each remainder corresponds to the address of the frame number data storage area of the image data for needing to read.
8. device according to claim 6 or 7, which is characterized in that the default null frame number and the data storage area Several differences are more than or equal to 1.
CN201510338064.7A 2015-06-17 2015-06-17 A kind of data processing method and device Active CN104932994B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510338064.7A CN104932994B (en) 2015-06-17 2015-06-17 A kind of data processing method and device
PCT/CN2015/088991 WO2016201793A1 (en) 2015-06-17 2015-09-06 Data processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510338064.7A CN104932994B (en) 2015-06-17 2015-06-17 A kind of data processing method and device

Publications (2)

Publication Number Publication Date
CN104932994A CN104932994A (en) 2015-09-23
CN104932994B true CN104932994B (en) 2018-12-07

Family

ID=54120165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510338064.7A Active CN104932994B (en) 2015-06-17 2015-06-17 A kind of data processing method and device

Country Status (2)

Country Link
CN (1) CN104932994B (en)
WO (1) WO2016201793A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117423B (en) * 2017-06-23 2022-05-03 阿里巴巴集团控股有限公司 Table partition configuration method, device and system of database system
CN110399976B (en) * 2018-04-25 2022-04-05 华为技术有限公司 Computing device and computing method
CN112346681B (en) * 2019-08-09 2023-01-10 西安诺瓦星云科技股份有限公司 Image display control method, device and system and computer readable medium
CN113079336A (en) * 2020-01-03 2021-07-06 深圳市春盛海科技有限公司 High-speed image recording method and device
CN112001836A (en) * 2020-07-03 2020-11-27 北京博雅慧视智能技术研究院有限公司 Image processing device
CN111885410B (en) * 2020-07-30 2022-08-30 京东方科技集团股份有限公司 Image data processing device, method and display device
CN112115096A (en) * 2020-09-16 2020-12-22 天津津航计算技术研究所 Data transmission control method based on embedded microprocessor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464685A (en) * 2002-06-13 2003-12-31 优创科技(深圳)有限公司 Method for processing acoustic frequency flow playback in network terminal buffer
CN101303845A (en) * 2007-05-10 2008-11-12 智多微电子(上海)有限公司 Apparatus and method for controlling image data to write into and read from buffer unit
CN101446932A (en) * 2008-12-24 2009-06-03 北京中星微电子有限公司 Method and device for transmitting audio data
CN104102594A (en) * 2014-07-15 2014-10-15 上海龙晶科技有限公司 System and method for controlling caching, reading and writing of image data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003632A (en) * 2007-06-20 2009-01-08 Panasonic Corp Image processing system
CN101639817B (en) * 2009-03-13 2012-01-25 青岛海信信芯科技有限公司 Memory control method, memory controller and memory control system
CN101552916B (en) * 2009-05-05 2012-12-26 北京红旗胜利科技发展有限责任公司 DMA transfer method, device and DMA controller for YUV video data
CN103399720B (en) * 2013-07-16 2016-03-23 青岛海信信芯科技有限公司 A kind of data processing method and a kind of electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1464685A (en) * 2002-06-13 2003-12-31 优创科技(深圳)有限公司 Method for processing acoustic frequency flow playback in network terminal buffer
CN101303845A (en) * 2007-05-10 2008-11-12 智多微电子(上海)有限公司 Apparatus and method for controlling image data to write into and read from buffer unit
CN101446932A (en) * 2008-12-24 2009-06-03 北京中星微电子有限公司 Method and device for transmitting audio data
CN104102594A (en) * 2014-07-15 2014-10-15 上海龙晶科技有限公司 System and method for controlling caching, reading and writing of image data

Also Published As

Publication number Publication date
CN104932994A (en) 2015-09-23
WO2016201793A1 (en) 2016-12-22

Similar Documents

Publication Publication Date Title
CN104932994B (en) A kind of data processing method and device
CN102263880B (en) Image scaling method and apparatus thereof
CN102270444B (en) Device for controlling data stream and buffering frame of video processing chip
CN104599227B (en) DDR3 arbitration controllers and method for high-speed CCD data storage
CN102186065B (en) Monitoring camera with 360-degree field angle
CN103686314A (en) Demultiplex device and method adopting HD (high definition) video channel to transmit SD (standard definition) videos
US9128633B2 (en) Semiconductor memory device and method of operating the semiconductor memory device
CN104268113B (en) The lcd controller of DPI interfaces and the method for its adaptive bandwidth
CN102193865A (en) Storage system, storage method and terminal using same
EP3470971A1 (en) Method, apparatus, and system for accessing memory device
CN112783455B (en) Data transmission control method, device, medium and electronic equipment
CN103760525A (en) Completion type in-place matrix transposition method
CN206946471U (en) A kind of shared read-write SDRAM of multichannel circuit arrangement
CN103019645A (en) Arbitration control method of CCD signal processing circuit high speed data flow
CN106851183A (en) Multi-channel video processing system and method based on FPGA
CN104469241A (en) Device for achieving video frame rate change
CN107766021A (en) Image processing method, equipment, display system and storage medium
CN103488597A (en) First-in first-out buffer and data reading-writing method thereof
CN102750244B (en) Transmitting device and transmitting method of graded buffer direct memory access (DMA)
CN103399839A (en) Media peripheral interface, electronic device, and communication method
CN110377534A (en) Data processing method and device
CN107247673B (en) Memory allocation method and device
CN103108174A (en) Information transmission device
CN102890618B (en) A kind of Memory Extension equipment with partition management
CN116048893B (en) Method for testing optical fiber bus interface and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160726

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Qingdao Hisense Electric Co., Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Applicant before: Qingdao Hisense Xinxin Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Patentee before: HISENSE ELECTRIC Co.,Ltd.