摘要 |
Detection of errors in a video stream occurs by calculating an error detection code, such as a Cyclic Redundancy Check (CRC) code over a group of not more than N macroblocks in a slice of the stream prior and after transmission, where N is an integer greater than zero but less than the total number of macroblocks in the slice. A comparison of the error detection codes reveals whether any errors exist in the group of macroblocks. If the group has no errors, normal decoding occurs. If the macroblock group has an error, then the macroblock group, and the remaining blocks in the slice undergo error concealment. |
主权项 |
1. A method for detecting errors in a coded video stream, comprising:
receiving the coded video stream comprising at least one slice, the at least one slice including at least first and second groups of N macroblocks, wherein a single bit or byte of the coded video stream is associated with both the first and second groups of N macroblocks in the at least one slice, and wherein N is a positive integer; receiving a first parity code, generated by an encoder, associated with the first group of N macroblocks in the at least one slice; selecting, at a decoder, bits or bytes from the coded video stream for the first group of N macroblocks, wherein the single bit or byte is selected for the first group of N macroblocks, for calculating, at the decoder, a second parity code over the selected bits or bytes for the first group of N macroblocks; comparing the first and second parity codes to determine whether the first group of N macroblocks contains an error; concealing the first group of N macroblocks and subsequent macroblocks in the slice should an error exist; receiving a third parity code, generated by the encoder, associated with the second group of N macroblocks in the at least one slice; selecting, at the decoder, bits or bytes from the coded video stream for the second group of N macroblocks, wherein the single bit or byte is also selected for the second group of N macroblocks, for calculating, at the decoder, a fourth parity code over the selected bits or bytes for the second group of N macroblocks; and comparing the third and fourth parity codes to determine whether the second group of N macroblocks contains an error. |