CN1561110A - Video code method - Google Patents

Video code method Download PDF

Info

Publication number
CN1561110A
CN1561110A CNA2004100549532A CN200410054953A CN1561110A CN 1561110 A CN1561110 A CN 1561110A CN A2004100549532 A CNA2004100549532 A CN A2004100549532A CN 200410054953 A CN200410054953 A CN 200410054953A CN 1561110 A CN1561110 A CN 1561110A
Authority
CN
China
Prior art keywords
variable length
length code
data
video
district
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.)
Granted
Application number
CNA2004100549532A
Other languages
Chinese (zh)
Other versions
CN1294759C (en
Inventor
温江涛
D・维拉塞诺
约翰·D·维拉塞诺
朴正辉
朴东植
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.)
Samsung Electronics Co Ltd
University of California
Original Assignee
Samsung Electronics Co Ltd
University of California
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 Samsung Electronics Co Ltd, University of California filed Critical Samsung Electronics Co Ltd
Publication of CN1561110A publication Critical patent/CN1561110A/en
Application granted granted Critical
Publication of CN1294759C publication Critical patent/CN1294759C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • H04N19/69Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience involving reversible variable length codes [RVLC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/164Feedback from the receiver or from the transmission channel
    • H04N19/166Feedback from the receiver or from the transmission channel concerning the amount of transmission errors, e.g. bit error rate [BER]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/184Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • H04N19/66Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience involving data partitioning, i.e. separation of data into packets or partitions according to importance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/65Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
    • H04N19/68Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience involving the insertion of resynchronisation markers into the bitstream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Abstract

A video coding-decoding (CODEC) method in an error resilient mode, a computer readable medium having a computer program for the video CODEC method, and a video CODEC apparatus. The video CODEC method provides more resilience against channel error such that communications are less affected by error under conditions in which errors are a serious problem such as in a wireless communications channel. In the video CODEC method, a header data part (HDP) bit region, a motion vector data part (MVDP) bit region and a discrete cosine transform data part (DDP) bit regions are partitioned from each macro block of the video data in an error resilient mode, and then the partitioned bit regions are variable-length-coded. Then, the bit regions selected from the variable-length coded bit regions according to a predetermined priority for recovery are reversible-variable-length-coded, and markers are then inserted into the variable-length coded or reversible-variable-length-coded bit regions.

Description

Method for video coding
The application is dividing an application of following patent application: application number: 98123036.9; Application order: on December 1st, 1998; Denomination of invention: with the video code and decode method and the device of mistake reset mode.
Technical field
The present invention relates to the device of video code and decode (CODEC) method and use the method, more specifically relate to the device that mistake is recovered the video CODEC method of (error resilient) mode and used the method.And the present invention is based on that the U.S. Provisional Patent Application that proposed by the applicant number is 60/067,013, exercise question is the application of " with the video CODEC method of mistake reset mode ".
Background technology
In general, exist at channel under the situation of mistake, when all frame codings were become bit stream, video CODE can not the processing channel mistake.This is because bit stream does not determine parts, to determine that recovering still is to abandon the mistake district.Like this, whether certain part of very difficult definite frame has the bit loss that is caused by mistake, or not whole frame all has mistake, like this, has a problem, will search for the starting point of bit stream in the frame down, and omit the bit stream of putting in order the frame coding.In traditional CODEC, an optional equipment is as the decision parts, so that address this problem.As an example, according to the CODEC that in standard H.263, defines, adopt image initial code (PSC), and if this field information after, detect a mistake, omit the district of following PSC, search for next PSC then.Also have, adopt the initial code character of piece (GBSC) of indicator collet group (GOP) starting point,, only omit corresponding GBSC piece and search for next GOB then, reduce the quantity of omitting the district like this if after this information, detect a mistake.
Fig. 1 shows the example with the video packets of data of mistake reset mode generation by traditional C ODEC.The video packets of data of Fig. 1 is the example that results from the video packets of data among the MPEG-4 CODEC.With reference to this packet, to recover among the CODEC in traditional mistake, data are divided into exercise data and data texturing (texture data) to be used for coding.Exercise data is made of the bits of coded that indicates whether to carry out coding (COD), the macro block mode colourity (MCBPC) of indicating each macro block colourity and motion vector, and data texturing is made up of coded block pattern brightness (CBPY) data, data-measuring (DQUANT) data and discrete cosine transform (DCT) data.Distinguish exercise data and data texturing by movement mark (MM).And the DCT data are encoded by reversible Variable Length Code (RVLC).
Decoding processing with the bit stream of aforesaid way coding will be in following description.At first, in bit stream, search for heavily sync mark RM.If find RM, then the information before next RM is considered to a bag.The motion vector data part of being made up of motion vector (MVDP) only has the motion vector of prediction, like this, only when the motion vector of before decoding exists, can use the actual motion vector.Like this,, then omit corresponding whole bag, and the RM that searches for corresponding next bag decodes, cause losing of bulk information like this if from the MVDP of bit stream, detect a mistake.
Summary of the invention
For addressing the above problem, first purpose of the present invention provides coding and decoding video (CODEC) method with the mistake reset mode.
Second purpose of the present invention provides the computer-readable medium of the computer program that has mistake reset mode video CODEC method on it.
The 3rd purpose of the present invention provides the video CODEC device with the mistake reset mode, realizes video CODEC method.
Therefore, for realizing above-mentioned first purpose, video CODEC is provided, and it may further comprise the steps: (a) distinguish from each macroblock partitions header data part (HDP) position district, motion vector data part (MVDP) position district and discrete cosine transform data division (DDP) position of the video data of mistake reset mode; (b) the position district that is divided is carried out Variable Length Code; (c) the position district of selecting from Variable Length Code position district according to the predetermined priority that is used to recover is carried out reversible Variable Length Code; (d) will indicate that inserting position Variable Length Code or reversible Variable Length Code distinguishes.
For realizing above-mentioned second purpose, provide having on it computer-readable medium of the computer program of carrying out video CODEC method.This method may further comprise the steps: (a) distinguish from each macroblock partitions header data part (HDP) position district, motion vector data part (MVDP) position district and discrete cosine transform data division (DDP) position of the video data of mistake reset mode; (b) the position district that is divided is carried out Variable Length Code; (c) the position district of selecting from the position district of Variable Length Code according to the predetermined priority that is used to recover is carried out reversible Variable Length Code; (d) position of mark being inserted Variable Length Code or reversible Variable Length Code is distinguished.
For realizing above-mentioned the 3rd purpose, a kind of video CODEC device is provided, this device comprises: division unit is used for from each macroblock partitions header data part (HDP) position district, motion vector data part (MVDP) position district and discrete cosine transform data division (DDP) the position district of the video data of mistake reset mode; The Variable Length Code unit is used for the position district Variable Length Code to dividing; Reversible Variable Length Code unit is used for the position district of selecting from the zone of Variable Length Code according to the predetermined priority that is used to recover is carried out reversible Variable Length Code; Insert the unit with mark, be used for mark is inserted the position district of Variable Length Code or reversible Variable Length Code.
The invention provides a kind of to video data encoding to produce the method for video coding of video packets of data, this method may further comprise the steps: (a) carry out data and divide by resetting the macro block data that constitutes video data; (b) Variable Length Code or reversible Variable Length Code are carried out in the zone of being divided.Wherein said step (a) also comprises step: the discrete cosine transform data that are included in the described macro block data by combination produce the discrete cosine transform data field.Wherein said step (b) also comprises step: insert the guidance information in guiding Variable Length Code zone and/or reversible Variable Length Code zone in video packets of data, as the bag header message.
Description of drawings
Describe preferred embodiment in detail by the reference accompanying drawing, above-mentioned target of the present invention and advantage will be more obvious, wherein:
Fig. 1 shows the example of the video packets of data that produces during mistake reset mode tradition encoding and decoding (CODEC);
Fig. 2 is according to the key step flow chart of the video CODEC method of the preferred embodiments of the present invention, usefulness mistake reset mode;
Fig. 3 uses the block diagram of the video CODEC device of mistake reset mode according to the preferred embodiments of the present invention; With
Fig. 4 is achieved in accordance with the invention by the example of the video packets of data that video CODEC method that mistake recovers produces.
Embodiment
With reference to Fig. 2, there is shown according to the key step of the preferred embodiments of the present invention with coding and decoding video (CODEC) method of mistake reset mode, video CODEC method comprises: partiting step 20, Variable Length Code step 22, reversible Variable Length Code step 24 and mark inserting step 26 to the execution of selected bits district.
In step 20, constitute header data part (HDP) position district by dividing header data.Use similar fashion, constitute motion vector data part (MVDP) position district and discrete cosine transform (DCT) data division (DDP) position district by dividing motion vector data and DCT data respectively.
Header data comprises the information about the current macro encoding state.That is, header data represents that whether current macro is the mutual macro block (inter macroblock) of the content of wherein present frame by itself coding, still the interior macro block (intramacroblock) that is encoded of this macro block and the previous difference between the macro block wherein.Like this, if mistake takes place, then will cause losing of very crucial information data in header data.
Like this, because the importance of header data must at first be recovered header data.For this reason, among the HDP, bits of coded (COD) and macro block mode colourity (MCBPC) position that whether expression carries out coding can be combined into an information bit COD+MDBPC to be used for division, and owing to following reason, this combination that is used to divide is better.In standard H.263,1 is used for the MCBPC position that COD position and variable length code are used for header data.Yet because the COD position can be 0 and 1, the COD position is difficult to make mistakes.And under the situation about going wrong in the MCBPC position of using variable length code, incorrect bit is present in the variable length code probably, like this, is difficult to detect this mistake.Like this, in the present embodiment, COD position and MCBPC bit combination get up to be used for to divide, and the position district of combination is by reversible Variable Length Code, like this, and the variation in the detecting position easily.For example, under 0110 data cases, can test example as 0101 or 1001 mistake, like this, reduced the probability that utilizes error message.In addition, owing to carry out reversible Variable Length Code, also can carry out the back to recovery.Yet HDP position district can be by divide constituting, and combination that need not the position.
In addition, with macro block unit's execution in step 20, like this, step 20 preferably includes a step, is about to represent that first macro index (FMBI) the position district of first macroblock sequence number injects each bag, is used for decoding so that be referenced.And, being more preferably, step 20 comprises a step, promptly inserts last absolute movement vector (LAMV) position that comprises absolute movement Vector Message rather than motion vectors after the district of MVDP position.Most preferably, step 20 also comprises a step, promptly inserts the additional information of a Bale No. sign indicating number (PN) position district as the expression packet number.
In Variable Length Code step 22, in HDP position district, MVDP position district and DDP position district carry out Variable Length Code, and, Variable Length Code PN and LAMV position district.
In reversible Variable Length Code step 24, in the Variable Length Code position district of selecting according to the predetermined priority that is used to recover, carry out reversible Variable Length Code.That is,, then on the important information that may lose of whole bag or macro block, carry out reversible Variable Length Code if during decoding, information dropout may take place.Below will describe the reason of priority in detail.At first, aforesaid, header data represents that current macro is that the content of wherein present frame is by the mutual macro block of itself coding or the interior macro block that is encoded of this macro block and the previous difference between the macro block wherein.Almost whole macro block is made of mutual macro block, so that increase compression efficiency.If in the HDP of mutual macro block mistake takes place, then can not use MVDP and DDP.And,, can not use DDP if mistake takes place in MVDP.Like this, the importance of each data is with HDP, the sequence arrangement of MVDP and DDP.That is, there is priority in the macro block according to this importance, and need recovers according to priority.At this, thisly be considered to because the restriction of channel capacity, and reversible Variable Length Code is compared with Variable Length Code and has been increased figure place according to priority rather than to the reversible Variable Length Code that all data are selected.
In according to the not video CODEC method of in Fig. 2, expressing of the present invention, by the back to channel receive such as capacity, the channel characteristic information of the error state and the degree of crowding is with the identification channel characteristic.In characteristic of channel identification step, be more preferably, if the characteristic of channel is at reservation state (inreserve order), to having the pre-determined bit district of low priority, be that DDP position district carries out reversible Variable Length Code, otherwise this position district is Variable Length Code just, like this, satisfied the characteristic of channel and increased error resilience.Also have, at characteristic of channel identification step, if the characteristic of channel is in reservation state, an additional information can be inserted into low priority position district, and for example decode with reference to being used for quilt in DDT position district.Below, will describe the use of additional information in detail.At first, can be additionally the information of HDP be transmitted into DDP.This is to be used for can realizing like this when mistake takes place the HDP that priority is being arranged rather than in MVDP and DDP mistake takes place.By place HDP after DDP, current packet can recover and not abandon.Secondly, CRC (abbreviation of cyclic redundancy check (CRC)) can be passed among the DDP as additional information.For example, in DDP position district, 8 fixed length codes are as direct current (DC) value and variable length code is used as interchange (AC) value.Comparatively speaking, it is difficult detecting a mistake from 8 fixed length codes.In order to help to detect mistake, CRC is added in 8 fixed length codes, improved recovery characteristics like this.In addition, another fixed length code is for example represented the quantized segment (QP) of quantized value, and 8 fixed length codes also are used to obtain CRC.That is, by CRC being increased in the fixed length code of DDP, the mistake recovery characteristics during the decoding can be improved.That is, the additional information of above-mentioned two kinds of situations is the recoveries that are used to help the mistake district of current bag, or detects and be difficult to detect the wherein district of mistake.In addition, in the present embodiment of the video CODEC method of using the mistake reset mode, use different RVLC tables according to the characteristic of channel at the characteristic of channel identification step that is used for RVLC, like this can more effective detection mistake.
In mark inserting step 26, insert the heavily sync mark (RM) of identification bag and the stem mark (HM) that the information bit of HDP and MVDP is discerned in conduct.And, insert the movement mark (MM) of discerning MVDP and DDP.Be more preferably, constitute HM by the code word that is not used in coding HDP, during decoding, can distinguish.
Fig. 3 shows to realizing above-mentioned video CODEC method, according to the video CODEC device of the usefulness mistake reset mode of the preferred embodiment of the present invention.With reference to Fig. 3, video CODEC device comprises: division unit 30; Variable Length Code unit 32; With the reversible Variable Length Code unit 34 that the Variable Length Code position district of selecting according to the predetermined priority that is used to recover is carried out reversible Variable Length Code; By receive by the back to the channel (not shown) about the characteristic of channel such as capacity, the information of error state and crowding, thereby the channel identification unit 36 of identification channel characteristic; With the mark insertion unit 38 that is used for a mark is inserted Variable Length Code or reversible Variable Length Code position district.
Division unit 30 receiving video datas, and from as each macro block of the video data the mistake reset mode described with reference to Fig. 2 in divide HDP position district, MVDP position district and DDP position district.And be more preferably, the predetermined number that division unit 30 is distinguished by the position that will have the higher-priority that is used to recover during dividing, for example the synthetic information bit (COD+MCBPC) of COD position and MCBPC hyte constitutes HDP position district.
Variable Length Code unit 32 receives the position district that divides, and execution Variable Length Code, and 34 pairs of reversible Variable Length Code unit are according to the predetermined priority that is used to recover, for example according to during the decoding in the whole bag or the probability of losing in the macro block, the position district of selecting from the position district of Variable Length Code carries out reversible Variable Length Code, and it has good mistake recovery characteristics.Yet reversible Variable Length Code is compared with Variable Length Code has increased figure place, like this, is more preferably, and considers limited channel capacity, only the position district of selecting according to the priority that is used to recover is carried out reversible Variable Length Code.
For this reason, characteristic of channel recognition unit 36 control Variable Length Code unit 32 and reverse Variable Length Code unit 34, like this, if the characteristic of channel is in reservation state, have the position district of low priority, such as DDP position district by reversible Variable Length Code, otherwise this position district is by Variable Length Code.Another kind is, if characteristic of channel recognition unit 36 determines that the characteristic of channel is in reservation state, can also comprise additional information insertion unit (not shown), so that the additional information reeve is had district, for example a DDP position district of low priority.Be better, if characteristic of channel recognition unit 36 determines that the characteristic of channel is a reservation state, then reversible Variable Length Code unit 36 utilizes different coding schedules to carry out reversible Variable Length Code, to reach and the same effect of describing with reference to Fig. 2.
And, also can comprise according to video CODEC device of the present invention: FBMI position district inserts the unit (not shown), be used to insert the FBMI position district of first macroblock sequence number of each bag of indication, so that reach the same effect of describing with Fig. 2, and reversible Variable Length Code can be carried out in reversible Variable Length Code unit 34 in the district of LAMV position.Be better, video CODEC device also comprises: be used for then RM position district insertion and indicate the unit (not shown) of the PN position district of packet number as additional information, and be used for inserting the unit (not shown) in the LAMV position district that comprises the absolute movement Vector Message after the district of MVDP position.
And, for the bag that is divided into, mark inserts unit 38 and inserts heavily sync marks (RM), and the stem mark of being made up of the code word in the HDP position district that is not used to encode (HM) is as the information bit of differentiation HDP and MVDP, and movement mark (MM) is used to distinguish MVDP and DCT.At this, HM is made up of the code word in the HDP position district that is not used to encode, so that differentiated in decode procedure.
Fig. 4 shows the example by the video packets of data that obtains according to video CODEC method of the present invention.With reference to Fig. 4, the packet that is produced by video CODEC method comprises: RM position district, PN position district, FMBI position district, HDP position district, HM position district, MVDP position district, LAMV position district, MM position district and DDP position district.In comprising the video packets of data in these districts, the beginning of RM bit representation video packets of data, like this, as description of the Prior Art, the starting point of bag can be found to be used for decoding.And PN represents the sequence number of each bag, and can be used as additional information, the sequence number of first macro block of each bag of FMBI bit representation.In the present embodiment, by will on combination bit, carrying out reversible Variable Length Code then, obtain the HDP position in MPEG-4 or COD position that H.263 defines in the standard and the synthetic information bit (COD+MCBPC) of MCBPC hyte.And, form by the code word of the HDP position that is not used to encode as the information bit HM position of distinguishing HDP and MVDP.The MVDP position is to obtain by the reversible Variable Length Code of information and executing that the motion vector by prediction is produced.In the DDP position district of the information that comprises relevant discrete cosine transform (DCT), the block mode brightness (COBY) of coding position, data-measuring (DQUANT) position and DCT coefficient are encoded.And, in the used information of current bag, preferably during decoding, being used for fault identification and recovering required information and insert the DDP position.The insertion of this information can selectively be used, and depends on the characteristic of channel.The MM position is used to distinguish MVDP position and DDP position.
Decoding processing by the video packets of data of above-mentioned coding will be described below.At first, when finding RM in the bit stream that is receiving, the bit stream between this found RM and the next RM is considered to a bag, just as prior art is described.If find mistake in the HDP position, because HDP is by reversible Variable Length Code, the HDP position can be by the back to decoding and decode forward.For example, can recover the HDP position by PN and the FMBI that utilizes next bag.That is, because the macro block number of current bag deducts 1 value that obtains corresponding to the FMBI of next one bag, the HDP position can be recovered in the first proparea that reaches the error macro block district by back forecast.And decoding motion vectors like this, is come by prediction up to finding MM in decoding MVDP position.If during this decoding processing, go wrong because MVDP is by reversible Variable Length Code, also can the back to decoding.Comparatively speaking, in the decoding processing of the video packets of data of encoding, only in the MVDP position, there is the motion vector of prediction, when the motion vector of so only current elder generation decoding exists, can uses the actual motion vector by traditional C ODEC method.Yet, in according to video CODEC method of the present invention, as the absolute movement vector, rather than the final motion vector LAMV of motion vectors, by reverse variable length decoding to be transmitted.Like this, under the situation of using the reverse variable length decoding of LAMV, it does not rely on previous motion vector.And, when going wrong in the DDP district, if DDP position district by Variable Length Code, then this bag must discard.But, if DDP position district by reversible Variable Length Code, can provide more recovery to mistake with the back to decoding.In addition, under the situation of the additional information that is used at DDP position district coding to recover required, this additional information can be used for decoding.
The present invention can realize from the program of moving on the computer usable medium by general purpose digital computer, said computer usable medium such as magnetic storage medium (for example includes but not limited to, ROM, floppy disk, hard disk etc.), light computer-readable recording medium (for example CD-ROM, DVD etc.) and carrier wave (for example sending) through Internet.Therefore, the present invention can be presented as that the computer-readable program coding unit (means) in the computer usable medium comprising as being useful on the computer usable medium of the computer-readable program coding unit of video CODEC: from the computer-readable program coding unit in each macroblock partitions HDP position district, MVDP position district and the DDP position district of the video data of mistake reset mode; Variable Length Code is divided the computer-readable program coding unit in position district; Carry out the computer-readable program coding unit of reversible Variable Length Code according to the position district of the predetermined priority of recovering selection from the position district of Variable Length Code; Computer readable program code unit at a Variable Length Code or a mark of reversible Variable Length Code district insertion.Be used for realizing function program of the present invention, coding and coding section can be released from comprise description of the invention by skilled computer programmer.
As mentioned above, can provide more recovery capability to mistake according to video CODEC method of the present invention, like this, in mistake be under the situation of serious problems for example in radio communication channel, the less mistake that is subjected to of communicating by letter influences.
Although in the above-described embodiments based on MPEG-4 and H.263 standard adopt particular term, RM for example, PN, FMBI, HDP, HM, MVDP, MM and DDP, they only are usually to use and describing significance only, and do not limit purposes.Like this, video CODEC method of the present invention can be applied among all video CODEC that adopt coordination district not, and these are not equivalent to the district that top particular term is described in the coordination district.

Claims (3)

  1. One kind to video data encoding to produce the method for video coding of video packets of data, this method may further comprise the steps:
    (a) carry out the data division by resetting the macro block data that constitutes video data;
    (b) Variable Length Code or reversible Variable Length Code are carried out in the zone of being divided.
  2. 2. the method for claim 1, wherein said step (a) comprises step:
    The discrete cosine transform data that are included in the described macro block data by combination produce the discrete cosine transform data field.
  3. 3. the method for claim 1, wherein said step (b) comprises step:
    In video packets of data, insert the guidance information in guiding Variable Length Code zone and/or reversible Variable Length Code zone, as the bag header message.
CNB2004100549532A 1997-12-01 1998-12-01 Video code method Expired - Lifetime CN1294759C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US6701397P 1997-12-01 1997-12-01
US60/067,013 1997-12-01

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CNB981230369A Division CN1182723C (en) 1997-12-01 1998-12-01 Video code and decode method in error resilient mode and apparatus therefor

Publications (2)

Publication Number Publication Date
CN1561110A true CN1561110A (en) 2005-01-05
CN1294759C CN1294759C (en) 2007-01-10

Family

ID=22073165

Family Applications (2)

Application Number Title Priority Date Filing Date
CNB2004100549532A Expired - Lifetime CN1294759C (en) 1997-12-01 1998-12-01 Video code method
CNB981230369A Expired - Lifetime CN1182723C (en) 1997-12-01 1998-12-01 Video code and decode method in error resilient mode and apparatus therefor

Family Applications After (1)

Application Number Title Priority Date Filing Date
CNB981230369A Expired - Lifetime CN1182723C (en) 1997-12-01 1998-12-01 Video code and decode method in error resilient mode and apparatus therefor

Country Status (5)

Country Link
JP (1) JP3262761B2 (en)
KR (1) KR100313870B1 (en)
CN (2) CN1294759C (en)
DE (1) DE19855501C2 (en)
GB (1) GB2332116B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1075148A3 (en) * 1999-08-02 2005-08-24 Texas Instruments Incorporated Error resistant video coding using reversible variable length codes (RVLCs)
DE10033110B4 (en) * 2000-07-07 2005-06-16 Siemens Ag Method, and system for transmitting digitized moving pictures from a transmitter to a receiver and associated decoder
KR100357266B1 (en) * 2000-12-06 2002-10-19 엘지전자 주식회사 A method for video coding and transmitting using data partitioning method
EP1345451A1 (en) * 2002-03-15 2003-09-17 BRITISH TELECOMMUNICATIONS public limited company Video processing
KR100441604B1 (en) * 2002-03-19 2004-07-23 삼성전자주식회사 Apparatus and method for transmitting packet for multimedia streaming service
US7269288B2 (en) * 2003-07-30 2007-09-11 Mediatek Inc. Apparatus for parallel calculation of prediction bits in a spatially predicted coded block pattern and method thereof
KR20050026661A (en) 2003-09-09 2005-03-15 엘지전자 주식회사 Motion vector selection method for resolution down-sampling of motion video
HUE056547T2 (en) 2011-06-28 2022-02-28 Lg Electronics Inc Method for deriving a motion vector predictor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8728397D0 (en) * 1987-12-04 1988-01-13 Shell Int Research Preparation of phenyl ureas
JPH02151190A (en) * 1988-12-02 1990-06-11 Hitachi Ltd Inter-frame coding device
JP2697479B2 (en) * 1992-04-17 1998-01-14 国際電信電話株式会社 Reversible variable length coding
JPH09182073A (en) * 1995-03-15 1997-07-11 Toshiba Corp Moving image encoding and decoding device
JP2848326B2 (en) * 1996-03-28 1999-01-20 日本電気株式会社 MPEG encoded image decoding device

Also Published As

Publication number Publication date
GB2332116B (en) 1999-10-20
CN1294759C (en) 2007-01-10
CN1182723C (en) 2004-12-29
GB2332116A (en) 1999-06-09
JP3262761B2 (en) 2002-03-04
JPH11262010A (en) 1999-09-24
KR19990066826A (en) 1999-08-16
CN1238644A (en) 1999-12-15
DE19855501C2 (en) 2003-12-11
GB9826265D0 (en) 1999-01-20
DE19855501A1 (en) 1999-06-10
KR100313870B1 (en) 2001-12-12

Similar Documents

Publication Publication Date Title
US7532669B2 (en) Video codec method in error resilient mode and apparatus therefor
CN1051429C (en) Apparatus for arranging compressed video data for transmission over anoisy communication channel
JP5175371B2 (en) Method and system for preventing start code emulation and filling data
CN1178498C (en) Video potential flow data error control method for radio communication and computer readable medium
CN100499824C (en) Methods and systems for preventing start code emulation at locations that include non-byte aligned and/or bit-shifted positions
US6829299B1 (en) Variable length decoder and decoding method
KR19990066827A (en) Fault-tolerant mode video codec method and device
CN1294759C (en) Video code method
CN1547805A (en) Method of performing huffman decoding
CN1178517C (en) Method and device for transmitting and restoring video signal
KR101044935B1 (en) Decoding method for detecting transmission error position and recovering correctly decoded data and appratus therefor
CN101394550A (en) Packing method and device for video data
US6728318B2 (en) Error recovery of corrupted MPEG-4 bitstreams using fuzzy decoding of start codes and resync markers
CN100385958C (en) Cyclic resynchronization marker for error tolerate video coding
CN1318176A (en) Embedding auxiliary data in information signal
CN1185877C (en) Resynchroniozation method for decoding video
CN1684522A (en) Methods, decoder circuits and computer program products for processing mpeg audio frames
KR20010016705A (en) Video encoding and decoding method for error correction
CN1618176A (en) Robust signal coding
CN101873499B (en) Method and apparatus for improved multimedia decoder
CN1929619A (en) Fault disguising method for dynamic image decoding
KR100644604B1 (en) Video coding method and apparatus thereof for error resilient mode
US7177355B1 (en) Method for representing encoding upon coding information
WO2003019951A1 (en) Method and device for sending a user data inserted in a coded video signal
Petsalis et al. Effects of errors and error recovery in images compressed by the JPEG still image compression standard algorithm

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
CX01 Expiry of patent term

Granted publication date: 20070110

CX01 Expiry of patent term