CN102740075B - Video data compressing/decompressing method and system - Google Patents

Video data compressing/decompressing method and system Download PDF

Info

Publication number
CN102740075B
CN102740075B CN201210183067.4A CN201210183067A CN102740075B CN 102740075 B CN102740075 B CN 102740075B CN 201210183067 A CN201210183067 A CN 201210183067A CN 102740075 B CN102740075 B CN 102740075B
Authority
CN
China
Prior art keywords
data
elementary cell
data block
compression
packed 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.)
Expired - Fee Related
Application number
CN201210183067.4A
Other languages
Chinese (zh)
Other versions
CN102740075A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210183067.4A priority Critical patent/CN102740075B/en
Publication of CN102740075A publication Critical patent/CN102740075A/en
Application granted granted Critical
Publication of CN102740075B publication Critical patent/CN102740075B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention provides a video data compressing/decompressing method and a video data compressing/decompressing system. The compressing method comprises the following steps of dividing video data in a storage into a plurality of basic units with uniform specification, wherein each basic unit comprises at least one data block; reading the basic units; compressing the read basic units and outputting the compressed data of the basic units; compressing and encoding the data blocks in the read basic units in parallel, and acquiring the compressed data of each data block; and outputting the compressed data of each data block so as to acquire the compressed data of each basic unit. The compression and decompression on the video data which can be randomly accessed are realized by the method and the system. By the scheme, the transmission bandwidth of the video data in a multimedia ASIC (Application Specific Integrated Circuit) design can be effectively reduced, and meanwhile, the internal storage space for storing the data can be saved.

Description

A kind of compressing/decompressing method of video data and system
Technical field
The invention belongs to technical field of video processing, particularly a kind of compressing/decompressing method of video data and system.
Background technology
The emphasis of existing video data compression method design is mainly in the efficiency of data compression, be mainly used in storage and the transmission field of video data, object be reduce video data store required for space and the bandwidth required in network transmission process of video data.
But in multimedia ASIC design, the main bandwidth demand of ASIC inside and bandwidth bottleneck concentrate on the read-write stage of video data, writing out of the reconstruction video view data that such as video decode obtains, display of the reconstructed image data that video decode obtains etc. all can take bandwidth resources in a large amount of sheets.If first carry out compressed encoding write out again the video data exported, first carry out decoding process when reading video data and show again, by the bandwidth effectively reducing data and transmit between each module in ASIC inside.
Existing take compression efficiency as the compression method of the video data of design object, nature can cause having very strong data dependence between the context of the data after compressing, be difficult to the arbitrary access realizing the video data being accurate to the small scales such as macro block rank, even block rank, be therefore difficult to be applied to above-mentioned occasion.
In addition, existing take compression efficiency as the compression method of the video data of design object, because packed data between each piece is interrelated, the size generating code stream is also different, is difficult to realize complete parallel compression between each coding unit block and seamless code stream assembles.
Summary of the invention
The present invention proposes a kind of compressing/decompressing method and system of video data, the method and system can optimize the bandwidth of multimedia ASIC reading and writing data link, and the compression process that can realize complete parallel between the random read-write of each packed data unit and packed data unit and the assembling of seamless code stream.
According to an aspect of the present invention, propose a kind of compression method of video data, the method comprising the steps of:
(1) be multiple elementary cells with unified specification by the partitioning video data in memory, each described elementary cell comprises at least one data block;
(2) described elementary cell is read,
(3) the described elementary cell read is compressed and exported the packed data of described elementary cell;
Wherein step (3) comprising:
(3.1) concurrently compressed encoding is carried out to each data block in the elementary cell read, obtain the packed data of each data block described;
(3.2) export the packed data of each data block described, thus obtain the packed data of described elementary cell.
Preferably, the data block in described elementary cell has certain putting in order, and
In step (3.1), will obtain in the packed data write output buffer of each data block described;
In step (3.2), described output buffer exports the packed data of each data block serially according to described putting in order, thus obtains the packed data of described elementary cell.
Preferably, in step (3.1), concurrently compressed encoding is carried out according to respective specified compression budget to each data block in the described elementary cell read, obtain the packed data of each data block described, wherein the length of the packed data of each data block and the compression budget of specifying of this data block consistent, determine the position of the packed data of each data block in output buffer according to the compression budget of each data block, thus the packed data of each data block in the elementary cell of reading is assigned in output buffer concurrently.
Preferably, each elementary cell is carried out to the compression of Ratios, or determine the compression of compression ratio.
According to a further aspect in the invention, propose a kind of compressibility of video data, this system comprises:
Memory, for stored video data, this video data is split into multiple elementary cell with unified specification, and each described elementary cell comprises at least one data block;
Reading device, reads described elementary cell, and leaves in the corresponding register of this reading device by each data block of described elementary cell;
Compression-encoding device, compresses the described elementary cell in reading device and exports the packed data of described elementary cell;
Wherein this compression-encoding device comprises:
At least one encoder, carries out compressed encoding concurrently to the data block in described register, obtains the packed data of each data block and is supplied to output buffer;
Output buffer, exports the packed data of each data block described to described memory, thus obtains the packed data of described elementary cell.
Preferably, the quantity of the encoder in described compression-encoding device is identical with the quantity of the register of described reading device, and identical with the quantity of the data block in described elementary cell, and described encoder and described register one_to_one corresponding.
Preferably, described compression-encoding device also comprises: budget allocation controller, the compression budget that promising each encoder is specified is prestored in this budget allocation controller, thus each encoder carries out compressed encoding according to the compression budget of specifying to data block, the packed data that each encoder also exports according to described compression budget by this budget allocation controller outputs to the relevant position of output buffer concurrently.
Preferably, each elementary cell is carried out to the compression of Ratios, or determine the compression of compression ratio.
According to a further aspect in the invention, propose a kind of decompression method of video data, the method comprises:
B1, reads the packed data of elementary cell from memory, and the packed data of described elementary cell to be compressed elementary cell by the compression method as the video data in Claims 1-4 as described in any one and obtains;
B2, carries out decompress(ion) to the packed data of elementary cell read and contracts and export the elementary cell after decompressing; Wherein step B2, comprising:
B2.1, decompresses concurrently to the packed data of each data block in the packed data of the elementary cell read, and obtains the decompressed data of each data block described;
B2.2, exports the decompressed data of each data block described, thus obtains described elementary cell.
Preferably, in step B2.1, the position of the packed data of each data block in input buffer is determined in corresponding compression budget according to the packed data of each data block in the packed data of described elementary cell, thus the packed data of each data block is assigned to each decoder from input buffer concurrently, and decompressed concurrently by the packed data of each decoder to each data block, obtain the decompressed data of each data block described, wherein the length of the packed data of each data block is consistent with corresponding compression budget.
According to a further aspect in the invention, propose a kind of decompression systems of video data, this system comprises:
Memory, for storing the packed data of elementary cell, the packed data of described elementary cell to be compressed elementary cell by the compressibility of the video data in claim 5 to 8 described in any one and obtains;
Decompressing device, to the packed data of described elementary cell carry out decompress(ion) contract export decompress after elementary cell;
Wherein this decompressing device comprises:
Input buffer, reads and cushions the packed data of described elementary cell;
At least one decoder, decompresses concurrently to the packed data of each data block in the packed data of the elementary cell in described input buffer, obtains the decompressed data of each data block and be supplied to output register; And
Output register, exports the decompressed data of each data block described to described memory, thus obtains the elementary cell after decompressing.
Preferably, described decompressing device also comprises: budget allocation controller, the packed data being previously stored with each data block in this budget allocation controller compresses budget accordingly, thus make input buffer concurrently the packed data of each data block is dispensed to each decoder according to this compression budget, each decoder decompresses to the packed data of each data block concurrently, thus obtains the decompressed data of elementary cell; Wherein the length of the packed data of data block its corresponding compression budget is equal.
Method and system of the present invention achieves can the video data compression of random access and decompression.The program effectively can reduce the transmission bandwidth of video data in multimedia ASIC design, improves performance, can save the memory headroom preserving such data simultaneously.
Encoding and decoding due to each data block are separate to be carried out, and has compression budget allocation information known in advance.Be convenient to the efficient implementation of parallel encoding and decoding and code stream assembling, the performance of encoder can be significantly improved.
Accompanying drawing explanation
Fig. 1 shows the flow chart of an embodiment of the compression method according to video data of the present invention;
Fig. 2 shows the flow chart of another embodiment of the compression method according to video data of the present invention;
Fig. 3 shows the structure chart of an embodiment of the compression set according to video data of the present invention;
Fig. 4 shows the structure chart of another embodiment of the compression set according to video data of the present invention;
Fig. 5 shows the flow chart of an embodiment of the decompression method according to video data of the present invention;
Fig. 6 shows the flow chart of another embodiment of the decompression method according to video data of the present invention;
Fig. 7 shows the structure chart of an embodiment of the decompressing device according to video data of the present invention;
Fig. 8 shows the structure chart of another embodiment of the decompressing device according to video data of the present invention.
Embodiment
The one side of principle of the present invention is, it is the elementary cell (TILE) with uniform sizes by partitioning video data, using this elementary cell as compression or the basic object of decompression, each elementary cell is compressed or decompression operation independently, make not possess correlation between the compression of each elementary cell or decompression result, thus realize the random access to each elementary cell.
The another aspect of principle of the present invention is, each elementary cell with uniform sizes can be made up of multiple data block, in the process each elementary cell compressed or decompress, concurrently each data block compressed or decompress, and can be each data block setting compression budget, thus the complete parallel process realized all data blocks that each elementary cell comprises and the assembling of seamless code stream.
Fig. 1 shows the flow chart of an embodiment of the compression method according to video data of the present invention, and in this embodiment, the method comprises:
S101, be multiple elementary cells with unified specification by the partitioning video data in memory, each described elementary cell comprises at least one data block;
S102, reads described elementary cell,
S103, compresses the described elementary cell read and exports the packed data of described elementary cell;
Wherein step S103 comprises:
S1031, carries out compressed encoding concurrently to each data block in the elementary cell read, and obtains the packed data of each data block described;
S1032, exports the packed data of each data block described, thus obtains the packed data of described elementary cell.
In this embodiment, because each elementary cell has unified specification, and to the compression of each elementary cell independent of other elementary cells, therefore can realize the random reading to any elementary cell.
Preferably, the data block in described elementary cell has certain putting in order, this application backgrounds such as can be depending on adopted video encoding and decoding standard that puts in order.In step S1032, the packed data of each data block can be exported serially according to described putting in order, thus obtain the packed data of described elementary cell.
Preferably, can need according to practical application the unified specification selecting described elementary cell, such as unified size, unified data structure etc.And quantity, the size of at least one data block selecting each elementary cell to comprise can be needed according to practical application, put in order and data content etc.For example, for the video data meeting H.264 standard, the video data process minimum unit of its routine is 4 × 4 data matrixes, therefore can 4 × 4 data matrixes as data block, for the video data meeting Joint Photographic Experts Group then can 8 × 8 data matrixes as data block.Each elementary cell can be made up of the data block of any amount, and the data block in each elementary cell can have identical size or different sizes.
Preferably, in the process that each elementary cell is encoded, each data block in this elementary cell is inputted each encoder corresponding with it concurrently, and parallel encoding is carried out to all data blocks, thus obtain the compressed encoding result corresponding to each data block concurrently.
In a distortion, the compression of Ratios can be carried out to each elementary cell, that is, in compression process, the compression factor to each elementary cell is selected according to the needs of practical application, such as, if the data in certain elementary cell still can recover enough information after decompression after vast scale compression, then for this elementary cell specifies larger compression factor, if certain elementary cell only could recover enough information after decompression when small scale is compressed, then for this elementary cell specifies less compression factor.The advantage of the scheme of this Ratios is flexible and targeted, can improve overall compression efficiency to greatest extent according to actual needs.
In an alternative variation, can carry out to each elementary cell the compression determining compression ratio, that is, according to fixing ratio, each elementary cell be compressed, thus make the size of the packed data of obtained each elementary cell also be unified and fix.Packed data after the advantage of such work is through compression has unified size, makes the addressing of packed data in the process of write or readout memory simple, thus improves the efficiency of reading and writing data.
Preferably, according to the order of data block by the packed data of each data block write output buffer, thus Serial output can be carried out by output buffer to the packed data of elementary cell.The packed data of each elementary cell can be written in memory, and decompressed before follow-up use, and decompression process is corresponding with compression process, and will be described in more detail below.
Fig. 2 describes the flow chart of another embodiment of the compression method according to video data of the present invention, and the method for this embodiment comprises:
S201, be multiple elementary cells with unified specification by partitioning video data, each described elementary cell comprises by least one data block;
S202, reads described elementary cell,
S203, compresses the described elementary cell read and exports the packed data of described elementary cell;
Wherein step S203 comprises:
S2031, concurrently compressed encoding is carried out according to respective specified compression budget to each data block in the described elementary cell read, obtain the packed data of each data block described, wherein the length of the packed data of each data block and the compression budget of specifying of this data block consistent, determine the position of the packed data of each data block in output buffer according to the compression budget of each data block, thus the packed data of each data block in the elementary cell of reading is assigned in output buffer concurrently;
S2032, the packed data of each data block described in described output buffer Serial output, thus the packed data obtaining the elementary cell read.
Embodiment shown in Fig. 2 is on the basis of the embodiment shown in Fig. 1, each data block is carried out in the process of parallelly compressed coding respectively by encoder in step S1031, for each data block has allocated compression budget in advance, that is, the length (or being called compression budget) of each data block packed data of gained after corresponding encoder encodes is preassigned, preferably, the compression budget of each data block can be the same or different.The advantage of this embodiment is, because the compression budget of each data block is previously designated, namely the length of the packed data of each data block is predictable.Owing to being aware of the length of the packed data of each data block in advance, also the starting point of the packed data being just aware of each data block in advance in output buffer and terminal, that is, the position of packed data in output buffer of each data block can be predicted, therefore the relevant position in output buffer can be assigned to automatically, seamlessly, concurrently by the packed data of all data blocks, and by output buffer Serial output.This embodiment can realize the seamless assembling of packed data, greatly improves the operating efficiency of this compression method.
But the present invention is not limited to the embodiment shown in Fig. 2, in fact, also to the budget of each data block specified compression, but according to the ratio of such as specifying, the compression algorithm etc. of specifying, each data block can not be compressed.
For each data block in elementary cell, encoder can be adopted according to actual needs and carry out compressed encoding to it in any suitable manner.
Fig. 3 shows the structure chart of an embodiment of the compressibility according to video data of the present invention, and in this embodiment, this system comprises:
Memory 301, for stored video data, this video data is split into multiple elementary cell with unified specification, and each described elementary cell comprises at least one data block;
Reading device 302, reads described elementary cell, and leaves in the corresponding register (REG0, REG1, REG2) of this reading device by each data block of described elementary cell;
Compression-encoding device 303, compresses the described elementary cell in reading device 302 and exports the packed data of described elementary cell;
Wherein this compression-encoding device 303 comprises:
At least one encoder (ENC0, ENC1, ENC2), carries out compressed encoding concurrently to the data block in described register (REG0, REG1, REG2), obtains the packed data of each data block and is supplied to output buffer BUFOUT;
Output buffer BUFOUT, exports the packed data of each data block described to described memory 301, thus obtains the packed data of described elementary cell.
Preferably, the quantity of the encoder in described compression-encoding device 303 is identical with the quantity of the register of described reading device, and it is identical with the quantity of the data block in described elementary cell, and described encoder and described register one_to_one corresponding, thus realize the parallelly compressed coding to each data block.Describe elementary cell in Fig. 3 and have 3 data blocks, corresponding to the situation of 3 registers and 3 encoders, in fact the quantity of data block is not limited to 3, can be any amount of more than 1.Preferably, successively packed data can be supplied to output buffer BUFOUT according to the order of encoder (ENC0, ENC1, ENC2).
Fig. 4 shows the structure chart of another embodiment of the compressibility according to video data of the present invention, in this embodiment, on the basis of the system of the embodiment shown in Fig. 3, also comprising in the compression-encoding device 303 in the embodiment shown in Fig. 4: budget allocation controller BUD CON, the compression budget that promising each encoder is specified is prestored in this budget allocation controller BUD CON, thus each encoder carries out compressed encoding according to the compression budget of specifying to data block, this budget allocation controller is also according to the packed data (BUD0 that each encoder exports by described compression budget, BUD1, BUD2) relevant position of output buffer is outputted to concurrently.
In the embodiment described in Fig. 4, be equivalent to allocate compression budget in advance to each data block entering encoder for each encoder specifies compression budget, that is, the length (or being called compression budget) of each data block compression result of gained after corresponding encoder encodes is preassigned, preferably, the compression budget of each data block can be the same or different.The advantage of this embodiment is, because the compression budget of each encoder is previously designated, namely the length of the packed data of each data block is predictable.Owing to being aware of the length of the packed data of each data block in advance, also the starting point of the packed data being just aware of each data block in advance in output buffer and terminal, that is, the position of packed data in output buffer of each data block can be predicted, therefore the relevant position in output buffer can be outputted to automatically, seamlessly, concurrently by the packed data of all data blocks, and by output buffer Serial output.This embodiment can realize the seamless assembling of packed data, greatly improves the operating efficiency of this compression method.
But the present invention is not limited to the embodiment shown in Fig. 4, in fact, also to the budget of each encoder specified compression, but each data block can not be compressed by encoder according to the ratio of such as specifying, the compression algorithm etc. of specifying.
For each data block in elementary cell, encoder can be adopted according to actual needs and carry out compressed encoding to it in any suitable manner.Preferably, each elementary cell is carried out to the compression of Ratios, or determine the compression of compression ratio.
Corresponding to compression method and the device of video data mentioned above, the invention allows for a kind of decompression method and device of video data, the i.e. compression method of video data of the present invention and the inverse process of device, its objective is and the packed data of elementary cell is decompressed, revert to the elementary cell with unified specification.
Fig. 5 shows the flow chart of an embodiment of the decompression method according to video data of the present invention, and in this embodiment, the method comprises:
S501, reads the packed data of elementary cell from memory, and the packed data of described elementary cell to be compressed elementary cell by the method in the embodiment of Fig. 1 and Fig. 2 and obtains;
S502, carries out decompress(ion) to the packed data of elementary cell read and contracts and export the elementary cell after decompressing;
Wherein step S502 comprises:
S5021, decompresses concurrently to the packed data of each data block in the packed data of the elementary cell read, and obtains the decompressed data of each data block described;
S5022, exports the decompressed data of each data block described, thus obtains described elementary cell.
Fig. 6 describes the flow chart of another embodiment of the decompression method according to compressed video data of the present invention, and the method for this embodiment comprises:
S601, reads the packed data of elementary cell from memory, and the packed data of described elementary cell to be compressed elementary cell by the method in the embodiment of Fig. 1 or Fig. 2 and obtains;
S602, carries out decompress(ion) to the packed data of elementary cell read and contracts and export the elementary cell after decompressing;
Wherein step S602 comprises:
S6021, the position of the packed data of each data block in input buffer is determined in corresponding compression budget according to the packed data of each data block in the packed data of described elementary cell, thus the packed data of each data block is assigned to each decoder from input buffer concurrently, and decompressed concurrently by the packed data of each decoder to each data block, obtain the decompressed data of each data block described, wherein to compress budget accordingly consistent for the length of the packed data of each data block;
S6022, exports the decompressed data of each data block described, thus obtains the elementary cell after decompressing.
Fig. 7 shows the structure chart of an embodiment of the decompression systems according to video data of the present invention, and in this embodiment, this system comprises:
Memory 701, for storing the packed data of elementary cell, the packed data of described elementary cell to be compressed elementary cell by the system in the embodiment of Fig. 3 or Fig. 4 and obtains;
Decompressing device 702, to the packed data of described elementary cell carry out decompress(ion) contract export decompress after elementary cell;
Wherein this decompressing device 702 comprises:
Input buffer BUFIN, reads and cushions the packed data of described elementary cell;
At least one decoder (DEC0, DEC1, DEC2), to described input buffer BUFIN
In elementary cell packed data in the packed data of each data block decompress concurrently,
Obtain the decompressed data of each data block and be supplied to output register (OREG0, OREG0, OREG0); And
(OREG0, OREG0, OREG0 export the decompressed data of each data block described to described memory 701, thus obtain the elementary cell after decompressing output register.
Fig. 8 shows the structure chart of another embodiment of the decompression systems according to video data of the present invention, in this embodiment, on the basis of the system of the embodiment shown in Fig. 7, also comprise in decompressing device 702 shown in Fig. 8: budget allocation controller BUD CON, the packed data being previously stored with each data block in this budget allocation controller BUD CON compresses budget accordingly, thus make input buffer BUFIN according to this compression budget concurrently by the packed data (BUD0 of each data block, BUD1, BUD2) each decoder (DEC0 is dispensed to, DEC1, DEC2), each decoder (DEC0, DEC1, DEC2) concurrently to the packed data (BUD0 of each data block, BUD1, BUD2) decompress, thus obtain the decompressed data of elementary cell.As mentioned before, the length its corresponding compression budget of the packed data of data block is equal, therefore, when knowing that the packed data of each data block compresses budget accordingly in advance, budget allocation device BUD CON just can determine the position of each data block in input buffer BUFIN, therefore concurrently by the packed data (BUD0 of each data block, BUD1, BUD2) be assigned to corresponding each decoder (DEC0, DEC1, DEC2) in, thus the assembling of seamless code stream is realized.
In one of the compressing/decompressing method of video data of the present invention and system exemplary application, the decoded original video data obtained in Video Decoder can be divided into elementary cell, and carry out above-mentioned compression and obtain corresponding packed data, and preserve in memory, to save storage space, and when this video data of needs, packed data as required needed for random reading also decompresses, revert to original video data and be used, thus saving bandwidth resources in sheet.
Above-described embodiment is for illustrative principle of the present invention and effect thereof, but not for limiting the present invention.Any person skilled in the art all without prejudice under spirit of the present invention and category, can modify to above-described embodiment.Therefore protection scope of the present invention, should listed by claims of the present invention.

Claims (6)

1. a compression method for video data, is characterized in that, the method comprising the steps of:
(1) be multiple elementary cells with unified specification by the partitioning video data in memory, each described elementary cell comprises at least one data block;
(2) described elementary cell is read;
(3) the described elementary cell read is compressed and exported the packed data of described elementary cell;
Wherein, step (3) comprises step again:
(3.1) concurrently compressed encoding is carried out to each data block in the elementary cell read, obtain the packed data of each data block described;
(3.2) export the packed data of each data block described, thus obtain the packed data of described elementary cell;
Wherein, the data block in described elementary cell has certain putting in order, and
In step (3.1), will obtain in the packed data write output buffer of each data block described;
In step (3.2), described output buffer exports the packed data of each data block serially according to described putting in order, thus obtains the packed data of described elementary cell;
Wherein, in step (3.1), concurrently compressed encoding is carried out according to respective specified compression budget to each data block in the described elementary cell read, obtain the packed data of each data block described, wherein the length of the packed data of each data block and the compression budget of specifying of this data block consistent, determine the position of the packed data of each data block in output buffer according to the compression budget of each data block, thus the packed data of each data block in the elementary cell of reading is assigned in output buffer concurrently.
2. the compression method of video data according to claim 1, is characterized in that, each elementary cell is carried out to the compression of Ratios, or determines the compression of compression ratio.
3. a compressibility for video data, is characterized in that, this system comprises:
Memory, for stored video data, this video data is split into multiple elementary cell with unified specification, and each described elementary cell comprises at least one data block;
Reading device, reads described elementary cell, and leaves in the corresponding register of this reading device by each data block of described elementary cell;
Compression-encoding device, compresses the described elementary cell in reading device and exports the packed data of described elementary cell;
Wherein this compression-encoding device comprises:
At least one encoder, carries out compressed encoding concurrently to the data block in described register, obtains the packed data of each data block and is supplied to output buffer;
Output buffer, exports the packed data of each data block described to described memory, thus obtains the packed data of described elementary cell;
Wherein, the quantity of the encoder in described compression-encoding device is identical with the quantity of the register of described reading device, and identical with the quantity of the data block in described elementary cell, and described encoder and described register one_to_one corresponding;
Wherein, described compression-encoding device also comprises: budget allocation controller, the compression budget that promising each encoder is specified is prestored in this budget allocation controller, thus each encoder carries out compressed encoding according to the compression budget of specifying to data block, the packed data that each encoder also exports according to described compression budget by this budget allocation controller outputs to the relevant position of output buffer concurrently.
4. the compressibility of video data according to claim 3, is characterized in that, each elementary cell is carried out to the compression of Ratios, or determines the compression of compression ratio.
5. a decompression method for video data, is characterized in that, the method comprising the steps of:
B1, reads the packed data of elementary cell from memory, and the packed data of described elementary cell to be compressed elementary cell by the compression method as the video data in claim 1 or 2 as described in any one and obtains;
B2, carries out decompress(ion) to the packed data of elementary cell read and contracts and export the elementary cell after decompressing;
Wherein, step B2, comprises step again:
B2.1, enters concurrently to the packed data of each data block in the packed data of the elementary cell read
Row decompresses, and obtains the decompressed data of each data block described;
B2.2, exports the decompressed data of each data block described, thus obtains described elementary cell;
Wherein, in step B2.1, the position of the packed data of each data block in input buffer is determined in corresponding compression budget according to the packed data of each data block in the packed data of described elementary cell, thus the packed data of each data block is assigned to each decoder from input buffer concurrently, and decompressed concurrently by the packed data of each decoder to each data block, obtain the decompressed data of each data block described, wherein the length of the packed data of each data block is consistent with corresponding compression budget.
6. a decompression systems for video data, is characterized in that, this system comprises:
Memory, for storing the packed data of elementary cell, the packed data of described elementary cell to be compressed elementary cell by the compressibility of the video data in claim 3 or 4 described in any one and obtains;
Decompressing device, to the packed data of described elementary cell carry out decompress(ion) contract export decompress after elementary cell;
Wherein this decompressing device comprises:
Input buffer, reads and cushions the packed data of described elementary cell;
At least one decoder, decompresses concurrently to the packed data of each data block in the packed data of the elementary cell in described input buffer, obtains the decompressed data of each data block and be supplied to output register; And
Output register, exports the decompressed data of each data block described to described memory, thus obtains the elementary cell after decompressing;
Described decompressing device also comprises:
Budget allocation controller, the packed data being previously stored with each data block in this budget allocation controller compresses budget accordingly, thus make input buffer concurrently the packed data of each data block is dispensed to each decoder according to this compression budget, each decoder decompresses to the packed data of each data block concurrently, thus obtains the decompressed data of elementary cell; Wherein the length of the packed data of data block its corresponding compression budget is equal.
CN201210183067.4A 2012-06-05 2012-06-05 Video data compressing/decompressing method and system Expired - Fee Related CN102740075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210183067.4A CN102740075B (en) 2012-06-05 2012-06-05 Video data compressing/decompressing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210183067.4A CN102740075B (en) 2012-06-05 2012-06-05 Video data compressing/decompressing method and system

Publications (2)

Publication Number Publication Date
CN102740075A CN102740075A (en) 2012-10-17
CN102740075B true CN102740075B (en) 2015-02-11

Family

ID=46994755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210183067.4A Expired - Fee Related CN102740075B (en) 2012-06-05 2012-06-05 Video data compressing/decompressing method and system

Country Status (1)

Country Link
CN (1) CN102740075B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581675A (en) * 2012-08-07 2014-02-12 上海算芯微电子有限公司 Video data compression or decompression method and system
CN103384884B (en) * 2012-12-11 2016-11-16 华为技术有限公司 A kind of file compression method, file decompression method, device and server
CN105578190B (en) 2016-02-03 2018-05-04 珠海全志科技股份有限公司 Lossless compression method and system applied to video hard decoder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490968A (en) * 2006-07-17 2009-07-22 索尼株式会社 Parallel processing apparatus for video compression
CN101820549A (en) * 2010-03-19 2010-09-01 西安电子科技大学 High-speed real-time processing arithmetic entropy coding system based on JPEG2000
CN102232292A (en) * 2008-11-11 2011-11-02 三星电子株式会社 Moving picture encoding/decoding apparatus and method for processing of moving picture divided in units of slices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5017324B2 (en) * 2009-07-23 2012-09-05 株式会社東芝 Compression / decompression device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101490968A (en) * 2006-07-17 2009-07-22 索尼株式会社 Parallel processing apparatus for video compression
CN102232292A (en) * 2008-11-11 2011-11-02 三星电子株式会社 Moving picture encoding/decoding apparatus and method for processing of moving picture divided in units of slices
CN101820549A (en) * 2010-03-19 2010-09-01 西安电子科技大学 High-speed real-time processing arithmetic entropy coding system based on JPEG2000

Also Published As

Publication number Publication date
CN102740075A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
CN102724500B (en) A kind of compressing/decompressing method of video data and system
CN101527849B (en) Storing system of integrated video decoder
CN101252694B (en) Address mapping system and frame storage compression of video frequency decoding based on blocks
CN101248430B (en) Transpose buffering for video processing
US7800519B2 (en) Method and apparatus for compressing and decompressing data
CN105472389B (en) Compression method is cached outside a kind of piece for ultra high-definition processing system for video
CN103858433A (en) Hierarchical entropy encoding and decoding
US20160124683A1 (en) In-memory data compression complementary to host data compression
CN102939719A (en) Methods and devices for reducing sources in binary entropy coding and decoding
CN110943744B (en) Data compression, decompression and processing method and device based on data compression and decompression
CN101751440A (en) Data compression/decompression method and device thereof
CN102740075B (en) Video data compressing/decompressing method and system
CN104125458A (en) Lossless stored data compression method and device
CN103581673A (en) Video data compression or decompression method and system
CN103581675A (en) Video data compression or decompression method and system
CN202907104U (en) Compression and decompression system of video data
CN102740074A (en) Video data compressing/decompressing method and system
CN104113759A (en) Video system and method and device for buffering and recompressing/decompressing video frames
CN103581674A (en) Video data compression or decompression method and system
CN116302670A (en) Encoding and decoding method, encoder and decoder, chip, hard disk and communication system
CN105791819A (en) Frame compression method for image and decompression method and device for image
CN101261605A (en) Fusion memory device and method
TWI565303B (en) Image processing system and image processing method
KR101484101B1 (en) Moving Picture Tranformation Device
CN103517022A (en) Image data compression and decompression method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150211

Termination date: 20210605

CF01 Termination of patent right due to non-payment of annual fee