Image frame error concealment method and apparatus
AssigneeJlq Technology Co., Ltd.
InventorHailin Qin
Life of this patent
Estimating the term…
Abstract
The present disclosure discloses an image frame error concealment method including the following steps: determining whether an nth image frame has a packet loss error, and if so, not performing error concealment on the nth image frame; and performing error concealment on an (n+1)th image frame, wherein the error concealment operation is performed with reference to one or more image frames before the nth image frame, wherein n is an integer greater than or equal to 2.
Claims18
An image frame error concealment method comprising the following steps:
- determining whether an nth image frame has a packet loss error;
- and
- if the nth image frame has a packet loss error, not performing error concealment on the nth image frame, and performing error concealment on an (n+1)th image frame, wherein the error concealment operation is performed with reference to one or more image frames before the nth image frame, wherein n is an integer greater than or equal to 2,
- wherein the step of performing error concealment on an (n+1)th image frame comprises:
- decoding a first-type intra macroblock capable of being directly and independently decoded in the (n+1)th image frame;
- decoding a second-type intra macroblock which depends on only the first-type intra macroblock, in the (n+1)th image frame;
- performing error concealment on an inter macroblock in the (n+1)th image frame with reference to one or more image frames before the nth image frame;
- and
- performing error concealment on a third-type intra macroblock not capable of being directly and independently decoded in the (n+1)th image frame.
An image frame error concealment method comprising the following steps:
- determining whether an nth image frame has a packet loss error;
- and
- if the nth image frame has a packet loss error, not performing error concealment on the nth image frame, and performing error concealment on an (n+1)th image frame, wherein the error concealment operation is performed with reference to one or more image frames before the nth image frame, wherein n is an integer greater than or equal to 2,
- wherein when it is determined that the nth image frame has a packet loss error, the method further comprises:
- attempting to decode the nth image frame;
- and
- determining whether one or more macroblocks can be obtained by the decoding, and if so, the error concealment operation comprising performing error concealment with reference to the one or more macroblocks and one or more image frames before the nth image frame, and if not, discarding the nth image frame;
- wherein the nth image frame is not displayed.
An image frame error concealment apparatus, comprising:
- an error detection module for determining whether an nth image frame has a packet loss error;
- and
- an error concealment module for when the nth image frame has a packet loss error, not restoring the nth image frame, and performing error concealment on an (n+1)th image frame, wherein the error concealment operation is performed with reference to one or more image frames before the nth image frame, wherein n is an integer greater than or equal to 2,
- wherein the error concealment module comprises:
- a first decoding unit for decoding a first-type intra macroblock capable of being directly and independently decoded in the (n+1)th image frame;
- a second decoding unit for decoding a second-type intra macroblock which depends on only the first-type intra macroblock capable of being directly and independently decoded, in the (n+1)th image frame;
- a first error concealment unit for performing error concealment on an inter macroblock in the (n+1)th image frame with reference to one or more image frames before the nth image frame;
- and
- a second error concealment unit for performing error concealment on a third-type intra macroblock not capable of being directly and independently decoded in the (n+1)th image frame.
An image frame error concealment apparatus, comprising:
- an error detection module for determining whether an nth image frame has a packet loss error;
- and
- an error concealment module for when the nth image frame has a packet loss error, not restoring the nth image frame, and performing error concealment on an (n+1)th image frame, wherein the error concealment operation is performed with reference to one or more image frames before the nth image frame, wherein n is an integer greater than or equal to 2,
- wherein the error concealment module is further used to attempt to decode the nth image frame and determine whether one or more macroblocks can be obtained by the decoding when it is determined that the nth image frame has a packet loss error;
- wherein if one or more macroblocks can be obtained by the decoding, the error concealment module is configured to perform error concealment with reference to the one or more macroblocks and one or more image frames before the nth image frame, and if one or more macroblocks cannot be obtained by the decoding, the error concealment module is configured to discard the nth image frame, and
- wherein the nth image frame is not displayed.
Dependencies are inferred from the claim text.