US 12,081,772 B2
Video decoding method and apparatus, and video encoding method and apparatus
Woongil Choi, Suwon-si (KR); Minsoo Park, Suwon-si (KR); Minwoo Park, Suwon-si (KR); Seungsoo Jeong, Suwon-si (KR); Kiho Choi, Suwon-si (KR); Narae Choi, Suwon-si (KR); Anish Tamse, Suwon-si (KR); and Yinji Piao, Suwon-si (KR)
Assigned to SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Jan. 11, 2022, as Appl. No. 17/573,181.
Application 17/573,181 is a continuation of application No. PCT/KR2020/009085, filed on Jul. 10, 2020.
Claims priority of provisional application 62/872,811, filed on Jul. 11, 2019.
Prior Publication US 2022/0132145 A1, Apr. 28, 2022
Int. Cl. H04N 19/174 (2014.01); H04N 19/117 (2014.01); H04N 19/176 (2014.01); H04N 19/60 (2014.01); H04N 19/82 (2014.01)
CPC H04N 19/174 (2014.11) [H04N 19/117 (2014.11); H04N 19/176 (2014.11); H04N 19/60 (2014.11); H04N 19/82 (2014.11)] 3 Claims
OG exemplary drawing
 
1. A video decoding method comprising:
reconstructing a current block comprising a current pixel via a prediction and an inverse transformation;
obtaining, from a bitstream, information indicating whether an in-loop filtering by using at least one pixel located outside a boundary of a current slice is applicable;
when a slice comprising a first adjacent pixel located at an upper-left side of the current pixel is different from the current slice comprising the current pixel, and the information indicates that the in-loop filtering by using the at least one pixel located outside the boundary of the current slice is not applicable, padding a value of the first adjacent pixel as a value of a second adjacent pixel, from among pixels located in the current slice, at a closest location to a location of the first adjacent pixel in a horizontal direction of the location of the first adjacent pixel;
determining filter coefficients corresponding to locations of third adjacent pixels used for an adaptive loop filter (ALF) of the current pixel based on a value of the current pixel and values of the third adjacent pixels, wherein the third adjacent pixels include the first adjacent pixel and the locations of the third adjacent pixels are predetermined; and
obtaining a value of a filtered current pixel by adding the value of the current pixel and a value obtained by applying a filter coefficient from among the filter coefficients to a difference between a value of one adjacent pixel from among the third adjacent pixels and the value of the current pixel.