CN1482808A - Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding - Google Patents

Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding Download PDF

Info

Publication number
CN1482808A
CN1482808A CNA021431302A CN02143130A CN1482808A CN 1482808 A CN1482808 A CN 1482808A CN A021431302 A CNA021431302 A CN A021431302A CN 02143130 A CN02143130 A CN 02143130A CN 1482808 A CN1482808 A CN 1482808A
Authority
CN
China
Prior art keywords
processor
data
didactic
divided
subregion
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
CNA021431302A
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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CNA021431302A priority Critical patent/CN1482808A/en
Publication of CN1482808A publication Critical patent/CN1482808A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

A shape self-adaptive heuristic data classification method in the MPEG-4 video parallel coding comprising, in accordance with the interconnection mode of the processor, selecting the data classification algorithm 1 or the data classification algorithm 2 employing the heuristic method, and in accordance with the rule determined by the corresponding algorithm, classifying the VOP data into a plurality of sub-zones having the same number with the processors in a heuristic way. The invention can optimize the allocation of the VOP data in each processor, achieving a relative load equilibrium between each processor, with minimum overlay data needing to be stored, the time for data transmission can also be reduced.

Description

The heuristic data division methods of the form adaptive in the MPEG-4 video parallel encoding
Technical field
The present invention relates to the parallel encoding field in the video data compression, particularly a kind of form adaptive heuristic data division methods in the MPEG-4 video parallel encoding.
Background technology
At present, the data in the video parallel encoding are divided and are generally taked traditional data dividing mode, but traditional data dividing mode causes processor load serious uneven (Fig. 4) easily; Because MPEG-4 has the characteristics based on shape coding, some researchers have proposed the data dividing mode (Fig. 3) based on shape, this mode needs the number of coded macroblocks in calculating VOP after, directly with macro block in order mean allocation give corresponding processor, the data subregion that this mode marked off is different, need a large amount of overlapped data of each processor storage, therefore increased the weight of the burden of processor.Therefore the performance of whole system also reduces.
Summary of the invention
The purpose of this invention is to provide a kind of didactic data partition method, this method can not only make the load basis equalization of each processor, make that also the overlapped data of required storage is minimum, thereby the performance of whole system increases.
For achieving the above object, the heuristic data division methods of the form adaptive in the MPEG-4 video parallel encoding comprises step:
According to the interconnection mode of processor, select to adopt didactic data partitioning algorithm 1 or didactic data partitioning algorithm 2;
And, the VOP data are divided into and the same number of a plurality of subregions of processor according to the rule that respective algorithms is determined heuristicly.
The present invention is according to the characteristics of MPEG-4 based on shape coding, adopt didactic data partition method, optimize the VOP data and manage the distribution of device throughout, make the load relative equilibrium between each processor, and the overlapped data of required storage is minimum, reduce the time of data passes, to improve the efficient of whole video parallel encoding system.
Description of drawings
Fig. 1 is the division result of algorithm 1 of the present invention;
Fig. 2 is the division result of algorithm 2 of the present invention;
Fig. 3 is based on the data of shape and divides the result;
Fig. 4 is that traditional data is divided the result.
Embodiment
The technical solution adopted in the present invention is the interconnection mode according to processor, adopts different didactic data partitioning algorithms.
At first, suppose that the processor that can be used for the VOP coding has T, the zone of dividing for the need data then, be listed as the least unit of dividing as data with this regional macro-block line or macro block, make two zones that mark off be rectangle, and the ratio of the macroblock number of the need that comprised coding approaches T/2: T/2+1 (T is an odd number) or T/2: T/2 (T is an even number) most, and then this algorithm of zone continuation execution to marking off, all be allocated to a zone until each processor and carry out the parallel encoding processing.Like this, the macroblock number of required coding is basic identical in each zone that this algorithm marked off, and the overlapped data of the required storage of whole system is minimum.
If the processor adopting bus mode links to each other, adopt algorithm 1, the result as shown in Figure 1, detailed process is as follows:
1, according to the ALPHA plane information, by array MB[0..6] [0..8] store the distribution of standard macroblock and boundary macroblocks among this VOP, and its intermediate value 1 is expressed as needs coded macroblocks (comprising standard macroblock and boundary macroblocks), and value 0 is expressed as transparent macro block.Know that by Fig. 1 the number of total need coded macroblocks is 32.Available processor is P[0..T], T=8;
2, because row 2,3,4 is blank column, the threshold value that has outnumbered regulation of continuous blank column, so divide according to blank column, whole VOP is divided into row 2,3,4 grades are that the boundary is divided into two part A and B, and the macroblock number ratio that need encode in both sides is 7: 9, then 9 processors with 4: 5 ratio respectively in order to handle corresponding subregion A and B.P[0..3 wherein] in order to handle subregion A, P[4..8] in order to handle subregion B
3, regional A and B are condensed to tight rectangle
4, regional A is carried out similar division, all distribute to a processor until the zone of each division
5, area B is carried out similar division, all distribute to a processor until the zone of each division
If processor is interconnected in 2 dimension grid modes, adopt algorithm 2, as shown in Figure 2, process is as follows:
1, with algorithm 1, tm=3 wherein, tn=3, available processor are P[0..tm] [0..tn].
2, because row 0,1 with remaining row in need coded macroblocks number ratio be 7: 9, be to approach most 1: 2, so be two sub regions A and B (number of noting continuous blank column surpasses its threshold value, so do not divide according to blank column) with whole area dividing at row 1 and row 2 places.P[0 wherein] [0..2] in order to handle subregion A, P[1..2] [0..2] in order to handle subregion B.
3, regional A and B are condensed to tight rectangle
4, tm=0, tn=0..2 carries out horizontal division to regional A,
A) because in the one's respective area, needing the ratio of coded macroblocks number in the number of the need coded macroblocks in the row 0,1 and the remaining row is 1: 2, thus be expert at 1 and 2 of row regional A is divided into zone C and D.
B) for zone C, tm=0, tn=0, division is finished, by processor P 00 processing region C
C) for region D, tm=0, tn=1..2; Because tn>tm carries out horizontal division.Owing to need the number of coded macroblocks to approach 1: 1 in the number that needs coded macroblocks in row 2 and the row 3 and the remaining row, thus be expert at 3 and 4 of row region D is divided into subregion E and F.
D) for subregion E, because tm=0, tn=1 is responsible for processing by P01; For subregion F, tm=0, tn=2 is responsible for processing by P02.So far, the division of regional A is finished
5.tm=1..2 tn=0..2 carries out horizontal division to area B.Process is the same.
Table 1 is heuristic data partitioning algorithm and original partitioning algorithm comparative result of form adaptive.
The comparative result of table 1 partitioning algorithm

Claims (3)

1. the heuristic data division methods of the form adaptive in the MPEG-4 video parallel encoding,
Comprise step:
According to the interconnection mode of processor, select to adopt didactic data partitioning algorithm 1 or didactic data partitioning algorithm 2;
And, the VOP data are divided into and the same number of a plurality of subregions of processor according to the rule that respective algorithms is determined heuristicly.
2. by the described method of claim 1, it is characterized in that: when processor is the bus mode interconnection, described didactic data partitioning algorithm 1 comprises step:
According to the processor number T that can be used for the code book zone, the VOP data are divided into two sub regions horizontal or vertically, and the ratio of the macroblock number of the need coding that two sub regions are comprised approaches T/2: T/2+1 (T is an odd number) or T/2: T/2 (T is an even number) most;
Again each subregion recurrence is divided into 2 littler zones;
The processor number of distributing to until each subregion is 1.
3. by the described method of claim 1, it is characterized in that: when processor is that 2 dimension grid modes interconnect, described didactic data partitioning algorithm 2 comprises step:
Layout according to processor, alternately be divided into and the same number of a plurality of subregions of processor the VOP data are didactic, but when the line number of the processor array that is used to handle the one's respective area during greater than columns, horizontal division is selected in this zone, otherwise, just select vertically to divide;
The distribution of the subregion after dividing fully and the distribution of processor array are basic identical.
CNA021431302A 2002-09-13 2002-09-13 Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding Pending CN1482808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA021431302A CN1482808A (en) 2002-09-13 2002-09-13 Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA021431302A CN1482808A (en) 2002-09-13 2002-09-13 Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding

Publications (1)

Publication Number Publication Date
CN1482808A true CN1482808A (en) 2004-03-17

Family

ID=34148201

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA021431302A Pending CN1482808A (en) 2002-09-13 2002-09-13 Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding

Country Status (1)

Country Link
CN (1) CN1482808A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102057353A (en) * 2008-06-04 2011-05-11 微软公司 Configurable partitioning for parallel data
EP2659675B1 (en) 2010-12-28 2020-07-22 Dolby International AB Method for picture segmentation using columns

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102057353A (en) * 2008-06-04 2011-05-11 微软公司 Configurable partitioning for parallel data
CN102057353B (en) * 2008-06-04 2015-12-16 微软技术许可有限责任公司 For the configurable division of parallel data
EP2659675B1 (en) 2010-12-28 2020-07-22 Dolby International AB Method for picture segmentation using columns
US10986344B2 (en) 2010-12-28 2021-04-20 Dolby Laboratories Licensing Corporation Method and system for picture segmentation using columns
US11356670B2 (en) 2010-12-28 2022-06-07 Dolby Laboratories Licensing Corporation Method and system for picture segmentation using columns
US11582459B2 (en) 2010-12-28 2023-02-14 Dolby Laboratories Licensing Corporation Method and system for picture segmentation using columns
US11949878B2 (en) 2010-12-28 2024-04-02 Dolby Laboratories Licensing Corporation Method and system for picture segmentation using columns

Similar Documents

Publication Publication Date Title
CN102761742B (en) Transform block division methods, transform block divides coding method and the coding/decoding method of parameter
CN102970526B (en) A kind of method obtaining transform block size and module
EP2242276B1 (en) Method and apparatus for determining encoding mode based on temporal and spatial complexity
US5903669A (en) Image processing apparatus and method
KR100648391B1 (en) Method and device for gathering block statistics during inverse quantization and iscan
CN101389021A (en) Video encoding/decoding method and apparatus
CN103517069A (en) HEVC intra-frame prediction quick mode selection method based on texture analysis
CN1114889C (en) Texture classification apparatus employing coarseness and directiviety of patterns
CN1456014A (en) Preprocessing method applied to textures of arbitraily shaped objects
CN115297288B (en) Monitoring data storage method for driving simulator
CN1662066A (en) Method for selecting predicting mode within frame
CN110087075A (en) A kind of coding method of image, code device and computer storage medium
CN1482808A (en) Shape adaptive heuristic data dividing method in MPEG-4 video parallel coding
CN1103531C (en) Apparatus for coding object region of video signal by using rearranged block-based coding technique
CN110312127B (en) Method for constructing most probable prediction mode list, image coding method and processing device
CN1119866C (en) Dynamic vector detection device and its detection method and image signifying device
US5650822A (en) Process for source coding
CN1595990A (en) Frame field adaptive coding method based on image slice structure
CN102065293B (en) Image compression method based on space domain predictive coding
CN108989801B (en) Space-time characteristic-based adaptive mode selection rapid method
CN102843556B (en) Video coding method and video coding system
CN1669054A (en) Method for compressing and decompressing video image data
JP2002204356A (en) Data processing apparatus, processor and its control method
CN1198870A (en) Method and device for encoding/decoding a digital image
CN116057575A (en) Father-child cluster compression

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication