CPC H04N 19/176 (2014.11) [H04N 19/179 (2014.11); H04N 19/46 (2014.11); H04N 19/55 (2014.11); H04N 19/573 (2014.11); H04N 19/58 (2014.11); H04N 19/61 (2014.11); H04N 19/91 (2014.11)] | 14 Claims |
1. A reference image decoding method comprising:
parsing a bitstream, to obtain: coding information, a reconstructed image of a first reference image, and a reconstructed image of a second reference image, wherein the first reference image is decoded before the second reference image;
determining, after parsing the bitstream to obtain the reconstructed image of the second reference image, according to the coding information and a preset rule, whether a local area in the second reference image is used to update a corresponding area or a related area in the first reference image, wherein a size of the local area is less than or equal to a size of the second reference image; and
responsive to determining that the local area in the second reference image is used to update the corresponding area or the related area in the first reference image, replacing a pixel value of the corresponding area or the related area in the first reference image with a pixel value of the local area in the second reference image,
wherein the coding information comprises a quantization parameter offset value of the local area in the second reference image, and
wherein determining whether the local area in the second reference image is used to update the corresponding area or the related area in the first reference image comprises:
responsive to determining that an absolute value of the quantization parameter offset value falls within a first value range, determining, that the local area in the second reference image is used to update the corresponding area or the related area in the first reference image.
|