CN100369458C - Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder - Google Patents
Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder Download PDFInfo
- Publication number
- CN100369458C CN100369458C CNB200510033045XA CN200510033045A CN100369458C CN 100369458 C CN100369458 C CN 100369458C CN B200510033045X A CNB200510033045X A CN B200510033045XA CN 200510033045 A CN200510033045 A CN 200510033045A CN 100369458 C CN100369458 C CN 100369458C
- Authority
- CN
- China
- Prior art keywords
- macro block
- address
- decoding
- adjacent
- macro
- 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
Links
Images
Landscapes
- Error Detection And Correction (AREA)
Abstract
The present invention relates to an efficient detecting method for adjacent macro blocks of a digital multimedia broadcasting video decoder, which comprises a step of comparing the subtracted number value of the address of the decoding macro block 1 with the address of the initial macro block in a slice of the decoding macro block, and a step of judging the decoding macro block and the adjacent left macro blocks in the same slice when the compared result of the step is that the subtracted number value 1 is larger than or equal to the address of the original macro block. Each macro block of the present invention does not need to have the slice number. The condition that adjacent macro blocks are contained in the same slice or not is conformed by the number of the macro block in the horizontal direction and addresses of the initial macro blocks of the corresponding slices. The unnecessary storage space is reduced, and no external memory is needed. The present invention can improve a phenomenon of slow speed and reduce the power loss because of using an external memory.
Description
(1) technical field
The invention relates to the technology of DMB (DMB) Video Decoder, especially about the invention of the validity checking method of efficiently examining the adjacent macroblocks whether macro block of decoding now and adjacent macroblocks are present in a kind of digital multimedia broadcasting video decoder in the same section.
(2) background technology
H.264 the specification of DMB (Digital Multimedia Broadcasting: DMB, hereinafter to be referred as DMB) Video Decoder (Video Decoder) is.
According to above-mentioned H.264 decoding algorithm, whether the validity of examining adjacent (top and the left side of the macro block of decoding now) macro block is need examine adjacent macroblocks to be included in the section (slice) with duplicate numbers.Like this, the reason of examining the validity of adjacent macroblocks is that the information of the macro block of decoding is included in the high efficiency information in the adjacent macroblocks now.
In above-mentioned H.264 specification (spec), there is not to propose to examine the method for section number (slice number), the method for Fig. 1 below in reference software (reference software), having proposed.
Fig. 1 is the schematic diagram of validity checking method of the adjacent macroblocks of prior art.
As shown in Figure 1, the basic comprising unit of a picture (picture) is a macro block 1, and above-mentioned a plurality of macro blocks 1 are assembled, and forms section 4, and a plurality of sections 4 constitute picture.
According to above-mentioned reference software (reference software), above-mentioned each macro block 1 has section 4 numbers, section 4 numbers and section 4 numbers of adjacent macroblocks 3 of the macro block 2 of decoding are now directly compared,, judge effective (TRUE) if the section number of two macro blocks is identical; If different, judge invalid (FALSE), check the validity of macro block.
That is, as shown in the figure, the macro block that is included in the same slice has identical section number, and the macro block that is included in the different sections has different section numbers.
Because this method requires the section number of all macro blocks of storage in memory, has the problem (not only should have above-mentioned section number, also should store the address of each macro block) that takies a large amount of memory spaces.
If use the above-mentioned section number of external memory stores, exist to cause DMB decoder speed to reduce, and, because external memory access (Access) causes the problem of a large amount of losses of electric power.
And if use internal storage, not only size is very big, but also has when the big internal memory accesses of size the problem of power consumption increase.
(3) summary of the invention
The objective of the invention is in order to address the above problem, provide a kind of and efficiently examine in the validation process of the needed adjacent macroblocks of DMB video decoding process, whether macro block of decoding now and adjacent macroblocks are present in the validity checking method of the adjacent macroblocks of the interior a kind of digital multimedia broadcasting video decoder of same slice.
To achieve these goals, the validity checking method of the adjacent left-hand macro block of DMB of the present invention (DMB) Video Decoder comprises following step, and as feature:, deduct the step that 1 numerical value and the inner address of macro block at first of the section under the above-mentioned macro block of now decoding compare on the address with above-mentioned macro block of now decoding in order just to check now validity at the adjacent left-hand macro block of decoded macroblock; When the comparative result of above-mentioned steps is when deducting 1 numerical value greater than the address of above-mentioned initial macro block, to judge above-mentioned macro block and the step of adjacent left-hand macro block in same section of now decoding.
In addition, the validity checking method of the adjacent upside macro block of DMB of the present invention (DMB) Video Decoder comprises following step: for the validity of the adjacent upside macro block of checking the macro block of decoding now, deduct the step that numerical value and the inner address of macro block at first of the section under the above-mentioned macro block of now decoding of the number of horizontal direction macro block compare from the address of the macro block of above-mentioned present decoding; When the numerical value of the number that deducts above-mentioned horizontal direction macro block is identical greater than the address value of above-mentioned initial macro block or the two, judge above-mentioned macro block and the step of adjacent upside macro block in same section of now decoding.
Effect of the present invention:
The validity checking method of the adjacent macroblocks of digital multimedia broadcasting video decoder of the present invention reaches following effect.
First, in order to confirm whether neighboring macro-blocks is included in the identical section, do not need each macro block all to have the section number, address (IniMBAddr) information that only need have the number (HMBNumber) of reveal competence direction number of macroblocks and the initial macro block of relevant section is just passable, reaches the effect of the unnecessary memory space that cuts the waste.
The second, use the validity checking method of the adjacent macroblocks of DMB Video Decoder of the present invention, do not need external memory storage, reach the slow phenomenon of improvement speed and reduce owing to use the effect of the power consumption that external memory storage causes.
For further specifying above-mentioned purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
(4) description of drawings
Fig. 1 is the schematic diagram of validity checking method of adjacent macroblocks of the DMB Video Decoder of prior art.
Fig. 2 is the schematic diagram of validity checking method of the adjacent macroblocks of DMB Video Decoder of the present invention.
The symbol description of major part in the accompanying drawing:
11: the initial macro block 12 of present section: macro block
13: the macro block 14 of present decoding: neighboring macro-blocks
20: section n
(5) embodiment
Embodiment to the validity checking method of the adjacent macroblocks of digital multimedia broadcasting video decoder of the present invention is elaborated below with reference to accompanying drawings.
Fig. 2 is the schematic diagram of validity checking method of the adjacent macroblocks of DMB Video Decoder of the present invention.
As shown in Figure 2, a section 20 is made of a plurality of macro blocks 12, and above-mentioned section 20 is assembled, and constitutes a picture (picture).Above-mentioned macro block 12 has the address separately, and the feature of above-mentioned address is: from the left side to the right, increase gradually from top to bottom (numeral of accompanying drawing be for convenience of explanation and the number of regulation is irrelevant with the DMB specification).According to the present invention, for confirm above-mentioned each macro block 12 whether with adjacent macroblocks in identical section 20, there is no need each macro block and all have section 20 numbers.But the number (hereinafter to be referred as HMBNumber) of reveal competence (Horizontal) direction number of macroblocks should have the section number with the address (hereinafter to be referred as ' IniMBAddr ') of initial (Initial) macro block of relevant section.
Below with reference to Fig. 2 this content is elaborated.
In Fig. 2, representing the HMBNumber of horizontal direction macro block number is 14, the address of first macro block 11 of section n20, that is and, IniMBAddr is 22.
Whether and now the address of the macro block 13 of decoding is 24, and the address of adjacent macroblocks 14 is 23, if the section number is 10,, should operate according to the methods below in identical section in order to confirm adjacent upside macro block 14 and left side macro block 14.
Embodiment 1.
1) situation of adjacent left side macro block,
Address-1=24-1=23>the IniMBAddr=22 of the macro block 13 of present decoding → be included in the same section.
Promptly, if from the address of the macro block 13 of present decoding, deduct 1, this is the address of adjacent left side macro block 14, because the macro block 13 that this value, can be judged above-mentioned present decoding greater than the address value of the initial macro block 11 of section n (20) is included in the same slice with adjacent left side macro block 14.
2) situation of adjacent upside macro block,
Address-HMBNumber=24-14=10<the IniMBAddr=22 of the macro block 13 of present decoding → be present in the different mutually sections.
Because from the address of the macro block 13 of present decoding, deduct the address value of the numerical value of the HMBNumber that represents horizontal direction macro block number, so the macro block 13 of judging decoding now is present in the different sections with adjacent upside macro block 14 less than initial macro block 11.If above-mentioned two macro blocks (13,14) are in same section, the above-mentioned numerical value that deducts should be identical greater than the address value of initial macro block 11 or the two.
In order to confirm this situation, be 48 to be that example describes with the address of the macro block 13 of present decoding.
1) situation of adjacent left side macro block,
Address-1=47>the IniMBAddr=22 of the macro block 13 of present decoding → be included in the same section.
2) situation of adjacent upside macro block,
Address-HMBNumber=48-14=34>the IniMBAddr=22 of the macro block 13 of present decoding → be included in the same section.
According to the situation of top embodiment 1 and embodiment 2 demonstrations, it is as follows to confirm earlier whether adjacent left side or upside macro block are included in the interior formula arrangement of same section.
1) situation of adjacent left side macro block,
If: the address-1>=IniMBAddr of the macro block of present decoding, conclusion is effective (return TRUE); Otherwise be invalid (else return FALSE);
In order to confirm whether adjacent left side macro block is included in the same section, in the formula on top, the address of macro block of decoding is now deducted 1, if this numerical value is identical with the IniMBAddr value or greater than this value, representative is included in the same section, it is effective macro block, judges effectively (TRUE); If less than this value, representative is not included in the same section, and it is invalid macro block, judges invalid (FALSE).
2) situation of adjacent upside macro block,
If: the address-HMBNumber>=IniBAddr of the macro block of present decoding, conclusion is effective (returnTRUE); Otherwise be invalid (else return FALSE);
In order to confirm whether adjacent upside macro block is included in the same section, in the formula on top, deduct the number of whole macro blocks of horizontal direction in the address of macro block with decoding now, when the above-mentioned numerical value that deducts identical with the address of the initial macro block of section or greater than the time, show that effective (TRUE) that represent the same slice meaning judges, if less than the time, show that invalid (FALSE) judges.
Judge whether adjacent macroblocks is included in the identical section, does not need each macro block all to have the section number, and the unnecessary memory space of avoiding waste can be decoded efficiently if use said method.
On the other hand, when above-mentioned HMBNumber and IniMBAddr two information are decoded to a section by constant value, can use the processor internal register,, also take memory space hardly even use under the situation of internal data random asccess memory (RAM).
Those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the modification of the above embodiment.
Claims (2)
1. the validity checking method of the adjacent left-hand macro block of a digital multimedia broadcasting video decoder, be the inspection method of the validity of adjacent left-hand macro block that the picture that is made of a plurality of sections of assembling a plurality of macro blocks is decoded, it is characterized in that comprising following step:
For the validity of the adjacent left-hand macro block of checking the macro block of decoding now, deduct the step that 1 numerical value and the inner address of macro block at first of the section under the described macro block of now decoding compare on the address with described macro block of now decoding;
When the comparative result of above-mentioned steps is to deduct 1 numerical value when identical, to judge above-mentioned macro block and the step of adjacent left-hand macro block in same section of now decoding greater than the address of above-mentioned initial macro block or the two.
2. the validity checking method of the adjacent upside macro block of digital multimedia broadcasting video decoder, be the method for the validity of the adjacent upside macro block of inspection that the picture that is made of a plurality of sections of assembling a plurality of macro blocks is decoded, it is characterized in that comprising following step:
From the address of the macro block of present decoding, deduct the step that the address of the numerical value of number of horizontal direction macro block and the inner initial macro block of section under the described macro block of now decoding compares;
When the numerical value of the number that deducts described horizontal direction macro block greater than the address value of described initial macro block or when identical, judge described macro block and the step of adjacent upside macro block in same section of now decoding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510033045XA CN100369458C (en) | 2005-01-26 | 2005-01-26 | Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200510033045XA CN100369458C (en) | 2005-01-26 | 2005-01-26 | Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1812485A CN1812485A (en) | 2006-08-02 |
CN100369458C true CN100369458C (en) | 2008-02-13 |
Family
ID=36845139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200510033045XA Expired - Fee Related CN100369458C (en) | 2005-01-26 | 2005-01-26 | Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100369458C (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1189060A (en) * | 1996-12-25 | 1998-07-29 | 日本电气株式会社 | Method for specifying image element to memory sequence inorder to compression encoding |
US20030108103A1 (en) * | 2001-12-10 | 2003-06-12 | Kenichi Natsume | Picture decoding device |
CN1440201A (en) * | 1997-12-01 | 2003-09-03 | 三星电子株式会社 | Kinetic vector predicting method |
US20040061704A1 (en) * | 2002-09-27 | 2004-04-01 | Ju Chi-Cheng | Memory access method for video decoding |
-
2005
- 2005-01-26 CN CNB200510033045XA patent/CN100369458C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1189060A (en) * | 1996-12-25 | 1998-07-29 | 日本电气株式会社 | Method for specifying image element to memory sequence inorder to compression encoding |
CN1440201A (en) * | 1997-12-01 | 2003-09-03 | 三星电子株式会社 | Kinetic vector predicting method |
US20030108103A1 (en) * | 2001-12-10 | 2003-06-12 | Kenichi Natsume | Picture decoding device |
US20040061704A1 (en) * | 2002-09-27 | 2004-04-01 | Ju Chi-Cheng | Memory access method for video decoding |
Also Published As
Publication number | Publication date |
---|---|
CN1812485A (en) | 2006-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8989279B2 (en) | Reference data buffer for intra-prediction of digital video | |
CN104811721B (en) | The computational methods of decoded video data storage method and motion vector data | |
US20090168898A1 (en) | Video coding system providing separate coding chains for dynamically selected small-size or full-size playback | |
JP4755624B2 (en) | Motion compensation device | |
TWI520582B (en) | Apparatus and method for buffering context arrays referenced for performing entropy decoding upon multi-tile encoded picture and entropy decoder | |
CN101803388A (en) | Image decoding device, image decoding method, image encoding device, and image encoding method | |
US7813432B2 (en) | Offset buffer for intra-prediction of digital video | |
Fan et al. | A hardware-oriented IME algorithm for HEVC and its hardware implementation | |
US9918098B2 (en) | Memory management of motion vectors in high efficiency video coding motion vector prediction | |
CN106358043A (en) | Hybrid video decoding apparatus and related hybrid video decoding method | |
CN100369458C (en) | Efficient checking method for adjacent macroblock of digital multimedia broadcasting video decoder | |
US20050259744A1 (en) | Video deblocking memory utilization | |
Srinivasarao et al. | High‐speed low‐power very‐large‐scale integration architecture for dual‐standard deblocking filter | |
US10827188B2 (en) | Method and apparatus for parallelizing context selection in video processing | |
JP2007189687A (en) | Apparatus and method of video decoding to alternatively store lines of screen in pixels, and method of storing reference screen | |
CN100592799C (en) | Rapid reading method of motion compensating data based on H.264 standard | |
CN101472172B (en) | Data processing method and decoder in early stage of filtering in video decoding | |
CN101847394B (en) | Storage mapping method and device for encoding and displaying video files | |
CN100405851C (en) | Motion vector prediction multiplex design method in multi-mode standard decoder | |
CN101662684A (en) | Data storage method and device for video image coding and decoding | |
KR20100006540A (en) | Cache memory device | |
JP4419608B2 (en) | Video encoding device | |
KR20050063214A (en) | Method of checking neighboring macro blocks validity in dmb video decoder | |
US9538174B2 (en) | Method and apparatus for inverse scan of transform coefficients in HEVC | |
CN103034455A (en) | Method and system for managing data information buffer based on pre-decoding and analyzing |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080213 Termination date: 20100228 |