CN101242540B - Error control method for video decoder chip - Google Patents

Error control method for video decoder chip Download PDF

Info

Publication number
CN101242540B
CN101242540B CN 200710026866 CN200710026866A CN101242540B CN 101242540 B CN101242540 B CN 101242540B CN 200710026866 CN200710026866 CN 200710026866 CN 200710026866 A CN200710026866 A CN 200710026866A CN 101242540 B CN101242540 B CN 101242540B
Authority
CN
China
Prior art keywords
macro block
error
mistake
macro
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 200710026866
Other languages
Chinese (zh)
Other versions
CN101242540A (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.)
Guangzhou Ankai Microelectronics Co.,Ltd.
Original Assignee
ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd filed Critical ANKAI (GUANGZHOU) SOFTWARE TECHN Co Ltd
Priority to CN 200710026866 priority Critical patent/CN101242540B/en
Publication of CN101242540A publication Critical patent/CN101242540A/en
Application granted granted Critical
Publication of CN101242540B publication Critical patent/CN101242540B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention provides an error control method for video decoder chip, including following steps: (1) processing error detection in the video decoding controlling unit based on the importance of syntactic element, stage processing error, obtaining two kinds results of losing one frame/multiframe image or losing part macroblock; (2) processing corresponding error shelter aimed at losing one frame/multiframe image in the decoding control unit according to the error detecting result of the step 1, processing corresponding error shelter aimed at losing part macroblock in the deblock filtration unit. The invention adopts the combination of the error detection and the error shelter, achieving real-time performance of error detection, high accuracy of error location and lower complexity of error check algorithm, quick speed.

Description

The error control method that is used for video decoder chip
Technical field
The present invention relates to a kind of error control method, particularly be used for the error control method of video decoder chip.
Background technology
According to the characteristic of encoded video and the characteristic of communication channel, be the very important technology of a class in the Video Applications to the error control of video error code.Video error control is mainly carried out from two links: the one, and video transmission layer, the 2nd, video decode layer.The error control of transport layer mainly depends on the technological means in the data communication, for example in coded data packet, add header or FEC (forward error correction coding, also have certain bit error correcting ability simultaneously) etc., be to introduce certain coding redundancy, to sacrifice certain code check and transmission bandwidth and exchange higher error control ability for; The latter carries out error control in the decoding link, is advantage not introduce the redundancy encoding data, not take transmission bandwidth, and method is versatile and flexible, is the focus of all Video Decoder researchs.
Error control is general divides two stages to constitute: error detection and mistake are hidden.Error detection is the prerequisite of error control, has only the wrong correct detection that vision signal is taken place just can carry out mistake and hides processing.Two stages are effectively in conjunction with constituting good accuracy control system.
Error detection is at first determined whether wrong generation and the location position of making a mistake of vision signal.
It mainly is to utilize the correlation of video image on time domain or in the spatial domain to come information either a corrupted or missing in the encoding code stream is carried out the recovery of maximum possible that mistake is hidden, and adopts the means of approximate reconstruct to make video pictures can obtain good reproduction when decoding end is exported.Existing error-control technique generally has the algorithm complex height on error detection and wrong processing method of hiding, operand is big, efficient is low, slow-footed distinct disadvantage.For the chipization of Video Decoder, be applied to for built-in field and the low power dissipation design, realizability is relatively poor, and how can realize an efficient and practical video error control system, not propose the good treatment method in conjunction with error detection, the mistake method of hiding.
Summary of the invention
The object of the present invention is to provide a kind of error detection real-time low, hide the error control method that is used for video decoder chip that combines by error detection, mistake with the error correction algorithm complexity.
Purpose of the present invention can realize by following technical measures: a kind of error control method that is used for video decoder chip, and its processing procedure may further comprise the steps:
(1), carry out error detection based on syntactic element importance, wrong classification is handled, drawn to be summed up as and lose one frame/multiple image or lost part macro block two class results in the video decode controlling unit.
(2), according to the error detection result of step (1), carry out corresponding mistake in the decoding controlling unit and hide at losing one frame/multiple image, carry out corresponding mistake at the lost part macro block in the de-blocking filter link and hide.
The error detection of step of the present invention (1) is: to sequence head parameter set, image head parameter set, sheet parameter, macroblock parameters and five kinds of detections that the parameter information that main syntactic element comprised carries out of piece parameter.
The mistake of step of the present invention (1) is classified as: the parameter information that sequence head parameter set, image head parameter set are comprised makes a mistake and is considered as the image level mistake, is summed up as and loses one frame/multiple image; Sheet parameter, macroblock parameters and piece parameter make a mistake and are considered as the macro-block level mistake, are summed up as the lost part macro block.
The mistake that other encoded digital information that lost part macro block of the present invention also comprises in the code stream being comprised takes place, this mistake also can be considered the macro-block level mistake, is summed up as the lost part macro block.
The mistake at losing one frame/multiple image of step of the present invention (2) hide for: if sequence parameter set is made mistakes, then abandon whole sequence, occur until next sequence head; If picture parameter set is made mistakes, then end the decoding of current image frame, add the frame number lose, and the former frame of lost frames in the image buffer is pointed in the address of lost frames, cover lost frames with the decoded data that former frame is correct.
The mistake at the lost part macro block of step of the present invention (2) hide for: from the macro block of makeing mistakes, abandon whole of current macro place, all macro blocks from current macro in this sheet of mark are erroneous macroblock, and withdraw from current decoding program, directly begin to continue decoding from the next correct sheet that searches.
The mistake at the lost part macro block of step of the present invention (2) is hidden and is comprised respectively to losing spatial domain type macro block and the mistake of losing time domain type macro block being hidden.Wherein said spatial domain type macro block is for adopting the macro block that picture frame comprised of spatial prediction technology, and the spatial prediction technology is to utilize the technology that the spatial coherence between the adjacent macroblocks pixel is predicted in the picture frame; Described time domain type macro block is the macro block that adopts motion estimation technique in the picture frame, and motion estimation technique is a technology of utilizing the temporal correlation of picture frame adjoining in the video sequence to predict.
Mistake to spatial domain type macro block of the present invention hide for: judge whether error macro block left macro block and top macro block exist, if all exist, then the top macro block pixel value bottom and the average reconstruct error macro block of the rightmost pixel value of left macro block to read in; If only there is the left macro block, then read in the rightmost pixel value reconstruct of its left macro block error macro block; If only have top macro block, then top macro block pixel value reconstruct error macro block bottom to read in; If top macro block and left macro block do not exist, then with pixel value 128 reconstruct error macro blocks.
Mistake to time domain type macro block of the present invention hide for: described mistake to time domain type macro block hide into: the motion vector of the average of the motion vector of error macro block next-door neighbour's upper block and left piece as error macro block, then according to its motion vector value, directly the macro block pixels value of copy error macro block former frame image relevant position is as the current pixel value of losing macro block, reconstruct current macro.
Compared with prior art, adopt method of the present invention that following advantage is arranged:
(1) error detection is real-time, and location of mistake accuracy height, and to whole video decode system close friend is difficult for causing causing because of fatal error the serious system failures such as deadlock;
(2) the error correction algorithm complexity is low, and operand is little, and speed is fast;
(3) for realizing that video decoding chip has the advantage of aspects such as high speed, low-power consumption, has good prospects for application in built-in field;
(4) any Video Decoder being had general applicability, promptly do not rely on video algorithm itself, is the very strong video decode error-control technique of a kind of versatility.
Description of drawings
Fig. 1 is error detection of the present invention and wrong hiding in conjunction with the block diagram that is applied to Video Decoder;
Fig. 2 is the hierarchy schematic diagram of the syntactic element of error detection of the present invention;
Fig. 3 hides schematic flow sheet for spatial domain of the present invention type macro block mistake;
Fig. 4 hides schematic flow sheet for time domain type macro block mistake of the present invention.
Embodiment
The method that the present invention takes is hidden to combine based on error detection, mistake and is realized.As shown in Figure 1, be error detection of the present invention and wrong hiding in conjunction with the block diagram that is applied to Video Decoder.Wherein decoder comprises: buffering area is used to receive the code stream from encoded video; The entropy decoding, the bit stream that is used to decode through buffering generates decoding control information and residual transform coefficient; Residual transform coefficient generates residual error data through inverse transformation/inverse quantization; Decoding control information is divided into two big classes interior prediction decoding of control frame and interframe prediction decoding respectively; The corresponding addition with residual error data of data that prediction decoding produces is exported with the video image form behind de-blocking filter.When the entropy decoding generates decoding control information, impose error detection,, then carry out the image level mistake and hide,, then carry out mistake and hide in the de-blocking filter link if the mistake that takes place is the macro-block level mistake in the decoding controlling unit if the mistake that takes place is the image level mistake.
Error detection of the present invention and wrong method of hiding specifically comprise the steps:
(1), carry out error detection based on syntactic element importance, draw and be summed up as the type of error of losing one frame/multiple image or lost part macro block in the video decode controlling unit.
In existing video encoding and decoding standard, the main syntactic element that is comprised in the encoding code stream has five kinds of sequence head parameter set, image head (I image head, P, B image head) parameter set, sheet parameter, macroblock parameters, piece parameters etc., error detection is exactly that the correctness of above five kinds of syntactic element parameters is adjudicated, whether the value of judging each parameter that they comprise is in normal span, if some parameter is crossed the border, we can utilize priori correction, and some then can not.
Detect after mistake and the location mistake, the mistake that is taken place is carried out corresponding correction process, promptly mistake is hidden.Influence degree from mistake:
If the sequence head parameter set is made mistakes, then abandon whole sequence, all images frame that the sequence that abandons comprises all can't recover, the decoding after could recover appears in next sequence head;
If the image head parameter set is made mistakes, then abandon whole two field picture, can adopt the frame level technology of hiding to be similar to reconstruct;
Make mistakes as the chankings parameter, then abandon whole, can adopt the macro-block level technology of hiding to be similar to reconstruct;
If macro block is made mistakes, all are included in macro block data in anter then to begin to abandon the back from the current macro of makeing mistakes.(the piece situation of makeing mistakes is included within the situation that the macro block at its place makes mistakes.)
Concluding above-mentioned error situation can lose the mistake end image, lose sheet and lose macro block.Further, if a two field picture has only a sheet, then lose a sheet and be equal to and lose a two field picture; Otherwise lose a sheet and be equal to the lost part macro block.Processing to mistake is taked different modes at losing image with the lost part macro block respectively.
(2), according to step (one's) error detection result, carry out corresponding mistake based on one frame/multiple image or lost part macro block and hide, specifically undertaken by following two links:
1, the decoding controlling unit to losing treatment of picture:
When finding that frame number is discontinuous, promptly there is the frame losing phenomenon to take place.Interrupt the decoding of present frame immediately, add the frame number lose, and the former frame of lost frames in the image buffer is pointed in the address of lost frames, cover lost frames with the decoded data that former frame is correct.
If the reference the when picture frame of losing is not used as other picture decodings then be it seems from output and has just been exported same frame twice., be difficult for discovering than under the condition with higher in frame per second for human eye.
The reference when if the picture frame of losing will be brought as other picture decodings, participate in the management of reference picture with the frame number of its interpolation, then when the image of decoding thereafter, also can find " puppet " reference image frame as a reference, just the image of institute's reference is actual is its address picture frame pointed, is not itself.Change under the less situation in picture material, can guarantee sight.
2, in of the processing of de-blocking filter link to the lost part macro block:
The processing of lost part macro block is carried out when the de-blocking filter, is handled respectively by following dual mode according to the macro block attribute difference of losing:
(1) macro block belongs to the fault processing of spatial prediction sheet
Macro block belongs to the spatial prediction sheet, is called spatial domain type macro block.As shown in Figure 3, hide schematic flow sheet for spatial domain type macro-block level mistake, concrete grammar and step that mistake is hidden are as follows:
That determines among a, the error detection result by decoding control information to make a mistake is spatial domain type macro block;
B, withdraw from the decoding of current erroneous macroblock, search for the initial of next sheet, continue decoding from new correct sheet, and mark is erroneous macroblock from this erroneous macroblock until all macro blocks that this macro block place sheet finishes;
C, in the de-blocking filter link, when filtering proceeds to error macro block, to all macro blocks that are masked as erroneous macroblock carry out mistake and hide from this macro block;
D, judge whether error macro block top macro block exists, if exist, then read in its top macro block bottom pixel value and adjust filtering strength for maximum, if there is no, directly adjust filtering strength for maximum;
E, judge whether error macro block left macro block and top macro block exist, if all exist, the top macro block pixel value bottom and the average reconstruct error macro block of the rightmost pixel value of left macro block then to read in, if only there is the left macro block, then read in the rightmost pixel value reconstruct of its left macro block error macro block, if only there is the top macro block, top macro block pixel value reconstruct error macro block bottom then to read in, if top macro block and left macro block do not exist, then with pixel value 128 reconstruct error macro blocks;
F, repeating step d, e continue that follow-up all macro blocks that are labeled as erroneous macroblock of error macro block are carried out mistake and hide, until when all error macro blocks of anter all reconstruct finish.
(2) macro block belongs to the fault processing of motion prediction sheet
Macro block belongs to the motion prediction sheet, is called time domain type macro block.As shown in Figure 4, hide schematic flow sheet for time domain type macro-block level mistake, concrete grammar and step that mistake is hidden are as follows:
That determines among a, the error detection result by decoding control information to make a mistake is time domain type macro block;
B, withdraw from the decoding of current erroneous macroblock, search for the initial of next sheet, continue decoding from new correct sheet, and mark is erroneous macroblock from this erroneous macroblock until all macro blocks that this macro block place sheet finishes;
C, in the de-blocking filter link, when filtering proceeds to error macro block, to all macro blocks that are masked as erroneous macroblock carry out mistake and hide from this macro block;
D, judge whether error macro block top and left macro block exist, if all exist, then read in motion vector (MV) value of current macro lower left and upper left prescription piece, and with the motion vector (MV) of its average as current error macro block, if only there is the top macro block, then with the MV value of upper left prescription piece motion vector (MV) as current error macro block, if only there is the left macro block, then with the MV value of lower-left prescription piece MV as current error macro block, if do not exist, then with 0 motion vector (MV) as current error macro block;
The motion vector (MV) of e, error macro block that steps d is obtained is adjusted, according to motion vector (MV), from the former frame image buffer of error macro block reference key number be in 0 the picture frame the corresponding macro block pixels value of copy to current error macro block, reconstruct current macro;
F, repeating step d, e continue that follow-up all macro blocks that are labeled as erroneous macroblock of error macro block are carried out mistake and hide, until when all error macro blocks of anter all reconstruct finish.

Claims (8)

1. error control method that is used for video decoder chip is characterized in that processing procedure is:
(1), carry out error detection based on syntactic element importance, wrong classification is handled, drawn to be summed up as and lose one frame/multiple image or lost part macro block two class results in the video decode controlling unit;
(2), according to the error detection result of step (1), carry out corresponding mistake in the decoding controlling unit and hide at losing one frame/multiple image, carry out corresponding mistake at the lost part macro block in the de-blocking filter link and hide; Described at the mistake of losing one frame/multiple image hide for: if sequence parameter set is made mistakes, then abandon whole sequence, occur until next sequence head; If picture parameter set is made mistakes, then end the decoding of current image frame, add the frame number lose, and the former frame of lost frames in the image buffer is pointed in the address of lost frames, cover lost frames with the decoded data that former frame is correct.
2. error control method according to claim 1 is characterized in that: the error detection of described step (1) is: to sequence head parameter set, image head parameter set, sheet parameter, macroblock parameters and five kinds of detections that the parameter information that main syntactic element comprised carries out of piece parameter.
3. error control method according to claim 1, it is characterized in that: the mistake of described step (1) is classified as: the parameter information that sequence head parameter set, image head parameter set are comprised makes a mistake and is the image level mistake, is summed up as and loses one frame/multiple image; Sheet parameter, macroblock parameters and piece parameter make a mistake and are the macro-block level mistake, are summed up as the lost part macro block.
4. error control method according to claim 1 is characterized in that: the mistake that other encoded digital information that described lost part macro block also comprises in the code stream being comprised takes place.
5. error control method according to claim 1, it is characterized in that: the mistake at the lost part macro block of step (2) hide for: from the macro block of makeing mistakes, abandon whole of current macro place, all macro blocks from current macro in this sheet of mark are erroneous macroblock, and withdraw from current decoding program, directly begin to continue decoding from the next correct sheet that searches.
6. error control method according to claim 1 is characterized in that: the mistake at the lost part macro block of described step (2) is hidden and is comprised respectively to losing spatial domain type macro block and the mistake of losing time domain type macro block being hidden.
7. error control method according to claim 6, it is characterized in that: described mistake to spatial domain type macro block hide for: judge whether error macro block left macro block and top macro block exist, if all exist, then the top macro block pixel value bottom and the average reconstruct error macro block of the rightmost pixel value of left macro block to read in; If only there is the left macro block, then read in the rightmost pixel value reconstruct of its left macro block error macro block; If only have top macro block, then top macro block pixel value reconstruct error macro block bottom to read in; If top macro block and left macro block do not exist, then with pixel value 128 reconstruct error macro blocks.
8. error control method according to claim 6, it is characterized in that: described mistake to time domain type macro block hide into: the motion vector of the average of the motion vector of error macro block next-door neighbour's upper block and left piece as error macro block, then according to its motion vector value, directly the macro block pixels value of copy error macro block former frame image relevant position is as the current pixel value of losing macro block, reconstruct current macro.
CN 200710026866 2007-02-09 2007-02-09 Error control method for video decoder chip Active CN101242540B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710026866 CN101242540B (en) 2007-02-09 2007-02-09 Error control method for video decoder chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710026866 CN101242540B (en) 2007-02-09 2007-02-09 Error control method for video decoder chip

Publications (2)

Publication Number Publication Date
CN101242540A CN101242540A (en) 2008-08-13
CN101242540B true CN101242540B (en) 2010-05-19

Family

ID=39933713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710026866 Active CN101242540B (en) 2007-02-09 2007-02-09 Error control method for video decoder chip

Country Status (1)

Country Link
CN (1) CN101242540B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5353532B2 (en) * 2009-07-29 2013-11-27 ソニー株式会社 Image processing apparatus and image processing method
WO2011127628A1 (en) * 2010-04-15 2011-10-20 Thomson Licensing Method and device for recovering a lost macroblock of an enhancement layer frame of a spatial-scalable video coding signal
CN102469315B (en) * 2010-11-16 2013-12-04 联芯科技有限公司 Error recovery method and device for Moving Picture Experts Group Audio Layer IV (MPEG-4) video stream
CN109788300A (en) * 2018-12-28 2019-05-21 芯原微电子(北京)有限公司 Error-detecting method and device in a kind of HEVC decoder
CN110677680A (en) * 2019-09-24 2020-01-10 杭州当虹科技股份有限公司 Master and standby information source switching method based on decoder error detection
CN111010575B (en) * 2019-12-17 2022-08-02 北京数码视讯科技股份有限公司 Code stream fault tolerance method and device and readable storage medium
CN116647704B (en) * 2023-06-07 2024-03-12 北京富通亚讯网络信息技术有限公司 Video coding and decoding joint error control method for HEVC data option

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163250A (en) * 2006-10-09 2008-04-16 北京航空航天大学 Boundary gradient based video stream fault tolerance method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163250A (en) * 2006-10-09 2008-04-16 北京航空航天大学 Boundary gradient based video stream fault tolerance method

Also Published As

Publication number Publication date
CN101242540A (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN101242540B (en) Error control method for video decoder chip
CN103152576B (en) A kind of it is applicable to the anti-dropout Video coding of multicast and decoding apparatus
CN101355708B (en) Self-adapting method for shielding error code
CN101207823A (en) Method for video encoding of video frequency corresponding synthesis anti-code error
CN102291585A (en) Method for error concealment in video sequences
CN104410864B (en) Error concealing method based on residual energy in HEVC
CN103262543B (en) Loss of data for video decoding is hidden
CN101163250B (en) Boundary gradient based video stream fault tolerance method
CN1781314A (en) Picture coding method
CN101102511A (en) Video error coverage method based on macro block level and pixel motion estimation
US20160073135A1 (en) Method and apparatus for video error concealment using reference frame selection rules
CN102026001B (en) Method for evaluating importance of video frame based on motion information
CN103139571A (en) Video fault-tolerant error-resisting method based on combination of forward error correction (FEC) and WZ encoding and decoding
CN101188772A (en) A method for hiding time domain error in video decoding
CN102223544B (en) Method for processing error after detecting error in H264 video stream
CN112291566A (en) H.264 video coding method, device, chip, storage equipment and electronic equipment
CN102378012A (en) Data hiding-based H.264 video transmission error code recovery method
JP5938424B2 (en) Method for reconstructing and encoding image blocks
CN101175217A (en) Code error shielding technology aiming at mobile network video transmission
Chen et al. Spatio-temporal boundary matching algorithm for temporal error concealment
CN101188771B (en) Method and device for detecting and eliminating video decoding error
CN101287128B (en) Error recovery method for video decoding
CN104581185A (en) Self-adaption error concealment method applied to stereoscopic video switching frames
CN1219405C (en) Image error hidding method
CN102104782A (en) Decoding end error concealment method suitable for AVS-P2 (Audio Video Standard-P2) video encoding standard

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
C56 Change in the name or address of the patentee

Owner name: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY CO.,

Free format text: FORMER NAME: ANKAI (GUANGZHOU) SOFTWARE TECHNOLOGY CO., LTD.

CP03 Change of name, title or address

Address after: 510663 Guangzhou science and Technology Development Zone, Science Town, No. 182 science Avenue, C1 District, 301-303, 401-402

Patentee after: Anyka (Guangzhou) Microelectronics Technology Co., Ltd.

Address before: 510630 Guangdong Province, Guangzhou Tianhe Software Park Gaotang New District Science and Technology Park 1033 Building No. 6 high way

Patentee before: Ankai (Guangzhou) Software Techn Co., Ltd.

CP03 Change of name, title or address

Address after: 510663 301-303, 401-402, zone C1, 182 science Avenue, Science City, Guangzhou high tech Industrial Development Zone

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 301-303 401-402, zone C1, No. 182, science Avenue, Science City, Guangzhou high tech Industrial Development Zone

Patentee before: ANYKA (GUANGZHOU) MICROELECTRONICS TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address
CP02 Change in the address of a patent holder

Address after: 510555 No. 107 Bowen Road, Huangpu District, Guangzhou, Guangdong

Patentee after: Guangzhou Ankai Microelectronics Co.,Ltd.

Address before: 301-303, 401-402, zone C1, No. 182, science Avenue, Science City, Guangzhou high tech Industrial Development Zone

Patentee before: Guangzhou Ankai Microelectronics Co.,Ltd.

CP02 Change in the address of a patent holder