CN102457725A - Temporary storage device and method for image coding data - Google Patents

Temporary storage device and method for image coding data Download PDF

Info

Publication number
CN102457725A
CN102457725A CN2010105223597A CN201010522359A CN102457725A CN 102457725 A CN102457725 A CN 102457725A CN 2010105223597 A CN2010105223597 A CN 2010105223597A CN 201010522359 A CN201010522359 A CN 201010522359A CN 102457725 A CN102457725 A CN 102457725A
Authority
CN
China
Prior art keywords
data
macro zone
storage part
zone block
capable 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.)
Pending
Application number
CN2010105223597A
Other languages
Chinese (zh)
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.)
Alpha Imaging Technology Corp
Original Assignee
Alpha Imaging Technology Corp
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 Alpha Imaging Technology Corp filed Critical Alpha Imaging Technology Corp
Priority to CN2010105223597A priority Critical patent/CN102457725A/en
Publication of CN102457725A publication Critical patent/CN102457725A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a temporary storage device and method for image coding data. The temporary storage device for image coding data is used for high resolution image coding and comprises an image sensing unit, a storage unit and a coding unit. The image sensing unit generates multiple continuous frame data formed by several macroblock row data. The storage unit comprises a first storage part and a second storage part, wherein the capacity of the first storage part and the second storage part is the integral multiple of the size of the macro-block row data, and the storage unit receives the macro-block row data from the image sensing unit and respectively writes the macro-block row data into one of the first storage part and the second storage part. The storage unit continues to receive the macro-block row data from the image sensing unit and writes the macro-block row data into the other one of the first storage part and the second storage part while the coding unit reads the written-in macro-block row data from one of the first storage part and the second storage part of the storage unit. The temporary storage device achieves the effect of saving storage space through the design of the first storage part and the second storage part.

Description

Image coding data apparatus for temporary storage and image coding data temporary storage method thereof
Technical field
The invention relates to a kind of image coding data apparatus for temporary storage and image coding data temporary storage method thereof; Particularly, the invention relates to and a kind ofly use two capacity with the size of macro zone block capable (macroblock row) image coding data apparatus for temporary storage and image coding data temporary storage method thereof as the buffer of unit.
Background technology
Along with popularizing of digital imaging devices such as digital camera, web camera, people are also harsh day by day to the requirement of its resolution, and the result of Market competition also makes price become Related product to possess competitiveness whether key factor.Except optical inductor of pure hardware etc. the photoelectric cell, the image coding that simul relation software and hardware also is the core technology of digital imaging device.
Because people's demand harsh day by day to resolution, the correlation technique of high-res image coding also receives people's attention.Fig. 1 is the sketch map of existing image coding system.As shown in Figure 1; In general image coding system; Converting into the light signal that senses with frame (frame) by the inductor 1 of front end is the signal of telecommunication of unit; Each frame (being called present frame) is written into buffer 2 and reads for encoder 3, wherein buffer 2 can be Dynamic Random Access Memory (Dynamic Random AccessMemory, DRAM) or the memory storage of other types.Encoder 3 will be encoded to the digital image data of specific format (for example H.264) from the frame that buffer 2 reads.Inductor and encoder respectively are the operation that the buffer (be called table tennis buffer) of a frame sign writes and reads to two alternately.
Yet along with the raising day by day of resolution, the size of each frame reaches the size of several megabit tuples (Megabyte) at least easily.Therefore, in aforementioned image coding system, just one group of sizable buffer must be set correspondingly.This moment one side need expend more buffers with and hardware resource such as relevant addressing circuit, also expend on the other hand more buffer is write and reads etc. operate the required time.
Summary of the invention
One object of the present invention is to provide a kind of image coding data apparatus for temporary storage and image coding data temporary storage method thereof.Compared to prior art, expend less buffer with and hardware resource such as relevant addressing circuit, and and then save buffer write and read to wait and operate the required time.
Image coding data apparatus for temporary storage of the present invention is used for the high-res image coding, wherein comprises image sensing unit, memory cell and coding unit.Image sensing unit produces continuous a plurality of frame data of being made up of the capable data of several macro zone blocks.Memory cell comprises first storage part and second storage part; The capacity of first storage part and second storage part is the integral multiple of the size of the capable data of macro zone block, memory cell self imaging sensing cell receive the capable data of macro zone block and write first storage part respectively and second storage part one of them.When coding unit when first storage part of memory cell and one of them person of second storage part read the capable data of macro zone block that writes, memory cell continues the self imaging sensing cell and receives the capable data of macro zone block and also write first storage part and second storage part another person wherein.The capacity that image coding data apparatus for temporary storage of the present invention utilizes first storage part and second storage part is that the design of unit reaches the effect of saving memory space with the size of the capable data of macro zone block.
Image coding data temporary storage method of the present invention is used for the high-res image coding; Wherein comprise the following step: the self imaging sensing cell receives the capable data of macro zone block, and wherein image sensing unit produces continuous a plurality of frame data of being made up of the capable data of several macro zone blocks.With the capable data of macro zone block write first storage part and second storage part one of them, wherein the capacity of first storage part and second storage part equals the size of the capable data of macro zone block.One of them reads the capable data of the macro zone block that writes from first storage part and second storage part to make coding unit.When coding unit read the capable data of macro zone block, the self imaging sensing cell received the new capable data of macro zone block and writes first storage part and wherein another of second storage part, the step of the capable data of macro zone block that repeats that then coding unit is read and newly write.It is that first storage part of unit and the mode of second storage part reach the effect of saving memory space with the size of the capable data of macro zone block that image coding data temporary storage method of the present invention utilizes access capability.
Description of drawings
Fig. 1 is the sketch map of existing image coding system;
Fig. 2 A is the sketch map of image coding data apparatus for temporary storage of the present invention;
Fig. 2 B is the sketch map of an embodiment of the memory cell of image coding data apparatus for temporary storage shown in read-write Fig. 2 A;
Fig. 2 C is the sketch map of another embodiment of the memory cell of image coding data apparatus for temporary storage shown in read-write Fig. 2 A; And
Fig. 3 is the flow chart of an embodiment of image coding data temporary storage method of the present invention.
The main element symbol description
10 image sensing units
20 memory cell
21 first storage parts
22 second storage parts
30 coding units
100 frame data
The capable data of 101 macro zone blocks
Embodiment
The present invention provides a kind of image coding data apparatus for temporary storage and image coding data temporary storage method thereof.In preferred embodiment, image coding data apparatus for temporary storage of the present invention and image coding data temporary storage method thereof are used in the high-res image coding; Yet can be used in other embodiments, the image coding of non-high-res.
Fig. 2 A is the sketch map of image coding data apparatus for temporary storage of the present invention.In the present embodiment, this image coding data apparatus for temporary storage is used for the high-res image coding, and realizes with the form of image coding integrated circuit; Yet in other embodiments, this image coding data apparatus for temporary storage can be used for the image coding of non-high-res, and can be embodied as the electronic circuit of other types.Shown in Fig. 2 A, this image coding data apparatus for temporary storage comprises image sensing unit 10, memory cell 20 and coding unit 30.Image sensing unit 10 sensing images, and produce continuous a plurality of frame data 100 according to this.Each frame data 100 is made up of the capable data 101 of several macro zone blocks, and macro zone block is capable can be sizes such as 16 pixel columns (pixel row) or 32 pixel columns.In the present embodiment, memory cell 20 comprises first storage part 21 and second storage part 22; Yet in other embodiments, memory cell 20 can comprise the storage part more than three or three.But memory cell 20 self imaging sensing cells 10 receive the capable data 101 of macro zone blocks, and write respectively first storage part 21 and second storage part 22 one of them.In the present embodiment, (for example row 0, row 2, row 4 for the capable data 101 of the macro zone block of even-numbered ...) writing first storage part 21, (for example row 1, row 3, row 5 for the capable data 101 of the macro zone block of odd-numbered ...) write second storage part 22.Shown in Fig. 2 B, when the capable data 101 of macro zone block of even-numbered was written into first storage part 21, the capable data 101 of the macro zone block of odd-numbered can be read from second storage part 22 simultaneously.Shown in Fig. 2 C, when the capable data 101 of macro zone block of odd-numbered was written into second storage part 22, the capable data 101 of the macro zone block of even-numbered can be read from first storage part 21 simultaneously.
Yet in other embodiments; Can otherwise the capable data 101 of macro zone block be write first storage part 21 and second storage part 22; For example the capable data 101 of the macro zone block of odd-numbered writes first storage part 21, and the capable data 101 of the macro zone block of even-numbered writes second storage part 22.In addition; Because in the digital image compress technique; Generally be to carry out the digital image DATA PROCESSING with macro zone block behavior unit; Therefore the capacity of first storage part 21 and second storage part 22 equals the size of the capable data 101 of macro zone block in the present embodiment, reads from the operation such as encode of the digital image data of memory cell 20 to make things convenient for 30 pairs of coding units; The capacity of first storage part 21 and second storage part 22 can be other integer multiples of the size of the capable data 101 of macro zone block, and makes image sensing unit 10 and coding unit 30 be able to read while write the capable data 101 of a plurality of macro zone blocks yet in other embodiments.
Shown in Fig. 2 A, coding unit 30 can read the capable data 101 of the macro zone block that writes first storage part 21 or second storage part 22 from memory cell 20.When coding unit 30 when first storage part 21 of memory cell 20 and second storage part, 22 one of them person read the capable data of macro zone block 101; Memory cell 20 continues self imaging sensing cell 10 and receives the capable data 101 of macro zone block, and writes first storage part 21 and second storage part 22 another person wherein.In other words, image sensing unit 10 and coding unit 30 operation that alternately first storage part 21 and second storage part 22 write and read.The design that the present invention utilizes the capacity of first storage part and second storage part to equal the size of the capable data of macro zone block reaches the effect of saving memory space.In addition, image coding data apparatus for temporary storage of the present invention can be applicable in any digital image compress technique, for example H.264.
Because coding unit 30 can be encoded to the capable data 101 of macro zone block that obtains from memory cell 20; Therefore in preferred embodiment; Coding unit 30 reads and the speed of the capable data 101 of the macro zone block of encoding is not less than the speed that memory cell 20 writes the capable data 101 of macro zone block from memory cell 20; That is the time that coding unit 30 reads coding macro zone block capable data 101 adds that the time of the capable data 101 of coding macro zone block is less than or equal to the time that memory cell 20 writes the capable data 101 of macro zone block; Make image sensing unit 10 and coding unit 30 not need mutual wait, and can replace read-write to first storage part 21 and second storage part 22 incessantly.
Fig. 3 is the flow chart of an embodiment of image coding data temporary storage method of the present invention.Image coding data temporary storage method of the present invention is used for the high-res image coding; And can be used for comprising the image coding data apparatus for temporary storage of image sensing unit, memory cell and coding unit, wherein memory cell comprises first storage part and second storage part (seeing the embodiment of Fig. 2).As shown in Figure 3, this image coding data temporary storage method comprises the following step: step 110 self imaging sensing cell receives the capable data of macro zone block, and wherein image sensing unit produces continuous a plurality of frame data of being made up of the capable data of several macro zone blocks.Macro zone block is capable can be sizes such as 16 pixel columns or 32 pixel columns.Step 120 with the capable data of macro zone block write first storage part and second storage part one of them, wherein the capacity of first storage part and second storage part equals the size of the capable data of macro zone block.In the present embodiment, (for example row 0, row 2, row 4 for the capable data 101 of the macro zone block of even-numbered ...) writing first storage part 21, (for example row 1, row 3, row 5 for the capable data 101 of the macro zone block of odd-numbered ...) write second storage part 22.In other embodiments, the capacity of first storage part and second storage part can be other integer multiples of the size of the capable data of macro zone block, and makes image sensing unit and coding unit be able to read while write the capable data of a plurality of macro zone blocks.
Step 130 makes coding unit, and one of them reads the capable data of the macro zone block that writes from first storage part and second storage part; And when coding unit read the capable data of macro zone block, the self imaging sensing cell received the new capable data of macro zone block and writes first storage part and wherein another of second storage part.Step 140 makes coding unit read the capable data of the macro zone block that writes from wherein another of first storage part and second storage part; And when coding unit reads the capable data of this macro zone block, the self imaging sensing cell receive the new capable data of macro zone block and write first storage part and second storage part one of them.In other words, step 130 and step 140 make the operation that image sensing unit and coding unit alternately write and read first storage part and second storage part.It is that first storage part of unit and the mode of second storage part reach the effect of saving memory space with the size of the capable data of macro zone block that image coding data temporary storage method of the present invention utilizes access capability.In addition, the present invention can be applicable in any digital image compress technique, for example H.264.
Because coding unit can capable data be encoded to the macro zone block of obtaining from memory cell; Therefore in preferred embodiment; In order to make image sensing unit and coding unit not need mutual wait; And can replace read-write to first storage part and second storage part incessantly; The capable data of macro zone block that in step 130 and step 140, can make coding unit read and encode and write with the speed that is not less than memory cell and writes the capable data of macro zone block is even also coding unit time of reading the capable data of coding macro zone block adds that the time of the capable data of coding macro zone block is less than or equal to the time that memory cell writes the capable data of macro zone block.
The present invention is described by above-mentioned related embodiment, yet the foregoing description is merely the example of embodiment of the present invention.Must be pointed out that the embodiment that has disclosed does not limit scope of the present invention.On the contrary, the modification and the equalization that are included in spirit and the scope of claim are provided with and all are contained in the scope of the present invention.

Claims (10)

1. image coding data apparatus for temporary storage that is used for the high-res image coding, this image coding data apparatus for temporary storage comprises:
One image sensing unit produces continuous a plurality of frames (frame) data, and respectively this frame data is made up of a plurality of macro zone blocks capable (macroblock row) data;
One memory cell comprises at least two storage parts, this memory cell from this image sensing unit receive respectively the capable data of this macro zone block and write respectively those storage parts one of them, wherein the capacity of those storage parts is the integral multiple of the size of the capable data of this macro zone block; And
One coding unit; When this coding unit read the capable data of respectively this macro zone block that writes from one of them person of those storage parts of this memory cell, this memory cell continued to receive respectively the capable data of this macro zone block and write those storage parts another person wherein from this image sensing unit.
2. the image coding data apparatus for temporary storage that is used for the high-res image coding as claimed in claim 1, wherein this coding unit is encoded to the capable data of this macro zone block respectively.
3. the image coding data apparatus for temporary storage that is used for the high-res image coding as claimed in claim 2, wherein this coding unit reads and the speed of the capable data of this macro zone block of encoding is not less than the speed that this memory cell writes the capable data of this macro zone block from this memory cell.
4. the image coding data apparatus for temporary storage that is used for the high-res image coding as claimed in claim 3, wherein this coding unit reads and the speed of the capable data of this macro zone block of encoding equals the speed that this memory cell writes the capable data of this macro zone block.
5. an image coding integrated circuit comprises each described image coding data apparatus for temporary storage that is used for the high-res image coding in the claim 1 to 4.
6. an image coding data temporary storage method is used for the high-res image coding, and this method comprises the following step:
Receive the capable data of a macro zone block from an image sensing unit, wherein this image sensing unit produces continuous a plurality of frame data, and respectively this frame data is made up of the capable data of a plurality of these macro zone blocks;
With the capable data of this macro zone block write one first storage part and one second storage part one of them, wherein the capacity of this first storage part and this second storage part is the integral multiple of the size of the capable data of this macro zone block;
One of them reads the capable data of this macro zone block that writes from this first storage part and this second storage part to make a coding unit; And
When this coding unit reads the capable data of this macro zone block; Receive the new capable data of this macro zone block and write this first storage part and wherein another of this second storage part from this image sensing unit, the step of the capable data of this macro zone block that repeats that then this coding unit is read and newly write.
7. method as claimed in claim 6 wherein more comprises this coding unit is encoded to the capable data of this macro zone block.
8. method as claimed in claim 7; The step of the capable data of this macro zone block that this coding unit is read write comprises makes this coding unit to be not less than the speed that this memory cell writes the capable data of this macro zone block, certainly one of them capable data of this macro zone block that reads and encode and write of this first storage part and this second storage part.
9. method as claimed in claim 8 wherein comprises and makes this coding unit to equal the speed that this memory cell writes the capable data of this macro zone block, the capable data of this macro zone block that reads and encode and write.
10. method as claimed in claim 6; Wherein more comprise and make this coding unit read the capable data of this macro zone block that writes from wherein another of this first storage part and this second storage part; And when this coding unit reads the capable data of this macro zone block, certainly this image sensing unit receive the new capable data of this macro zone block and write this first storage part and this second storage part one of them.
CN2010105223597A 2010-10-18 2010-10-18 Temporary storage device and method for image coding data Pending CN102457725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105223597A CN102457725A (en) 2010-10-18 2010-10-18 Temporary storage device and method for image coding data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105223597A CN102457725A (en) 2010-10-18 2010-10-18 Temporary storage device and method for image coding data

Publications (1)

Publication Number Publication Date
CN102457725A true CN102457725A (en) 2012-05-16

Family

ID=46040320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105223597A Pending CN102457725A (en) 2010-10-18 2010-10-18 Temporary storage device and method for image coding data

Country Status (1)

Country Link
CN (1) CN102457725A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483951A (en) * 2012-06-29 2017-12-15 佳能株式会社 Picture decoding apparatus, picture decoding method and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525336A (en) * 2003-02-25 2004-09-01 太和科技股份有限公司 Storage array apparatus capable of shortening data access time and data access method thereof
CN101212674A (en) * 2006-12-30 2008-07-02 上海奇码数字信息有限公司 Image address mapping method in memory
CN101399977A (en) * 2007-09-29 2009-04-01 智多微电子(上海)有限公司 Method and device for controlling data parallelly reading and writing of internal memory in decoding device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1525336A (en) * 2003-02-25 2004-09-01 太和科技股份有限公司 Storage array apparatus capable of shortening data access time and data access method thereof
CN101212674A (en) * 2006-12-30 2008-07-02 上海奇码数字信息有限公司 Image address mapping method in memory
CN101399977A (en) * 2007-09-29 2009-04-01 智多微电子(上海)有限公司 Method and device for controlling data parallelly reading and writing of internal memory in decoding device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483951A (en) * 2012-06-29 2017-12-15 佳能株式会社 Picture decoding apparatus, picture decoding method and storage medium
CN107483951B (en) * 2012-06-29 2020-03-17 佳能株式会社 Image decoding device, image decoding method, and storage medium

Similar Documents

Publication Publication Date Title
TW315570B (en)
US8890881B2 (en) Mapping method and video system for mapping pixel data included in the same pixel group to the same bank of memory
CN103210640A (en) Reformatting data to decrease bandwidth between a video encoder and a buffer
CN105681807A (en) Method and device for calculating sub pixel motion vector based on H264 protocol
US8269786B2 (en) Method for reading and writing image data in memory
CN101127901B (en) Storage device for storing image data and method of storing image data
CN102572207B (en) Color space transformation method suitable for joint photographic experts group (JPEG) image
CN101646006A (en) Image combination device and portable terminal containing device
CN102256131B (en) Data frame storage space configuration method for video coding
CN101483771B (en) Method and apparatus for promoting frame rate
CN103975583A (en) Capturing multiple video channels for video analytics and encoding
CN102457725A (en) Temporary storage device and method for image coding data
Li et al. Reducing dram image data access energy consumption in video processing
CN103093485B (en) Full view video cylindrical surface image storage method and system
CN101930713A (en) Storage unit framework of display device and reading method thereof
CN101998122A (en) Method and device for decoding normal form Hoffman hardware in JPEG (Joint Photographic Expert Group) image
CN104219529A (en) Image scaling method, system and device
CN101847394B (en) Storage mapping method and device for encoding and displaying video files
CN100551067C (en) The image data processing system and the method for non-standard picture size during the jpeg image compression
US9001237B2 (en) Method for processing image data
CN105138694A (en) Method and device for graphics interchange format (GIF) recording
CN1319276C (en) Method for buffer area read-write by reducing buffer area size of on-line image compression data
TWI532378B (en) Image encoding data temporary storage device and the image encoding data temporary storage method thereof
JP5556082B2 (en) Memory controller, image processing system, and memory access control method
CN104581175A (en) Image processing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120516