IP Library Granted Patent US 12666053
Granted Patent B2
US 12666053 · App. 18/782,947 · Granted Jun 23, 2026

Video decoding method and apparatus, and video encoding method and apparatus

Inventors: 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); Yinji Piao (Suwon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04N19/174H04N19/117H04N19/176H04N19/60H04N19/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12666053
App. No.
18/782,947
Granted
Jun 23, 2026
Kind
B2
Abstract

A video decoding method including reconstructing a current block comprising a current pixel via a prediction and an inverse transformation. The method including 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. The method including padding a value of the first adjacent pixel as a value of a second adjacent pixel. The method including 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. The method including obtaining a value of a filtered current pixel by adding the value of the current pixel.

Claims (18)

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,

wherein when two adjacent pixels among the third adjacent pixels are symmetrically located horizontally relative to the current pixel, filter coefficients corresponding to locations of the two adjacent pixels are same.

2 . A video encoding method comprising:

reconstructing a current block comprising a current pixel via a prediction and an inverse transformation;

generating 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 comprise 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,

wherein when two adjacent pixels among the third adjacent pixels are symmetrically located horizontally relative to the current pixel, filter coefficients corresponding to locations of the two adjacent pixels are same.

3 . An apparatus comprising at least one processor configured to transmit a bitstream generated according to the video encoding method of claim 2 .

4 . A method for transmitting a bitstream, the method comprising:

generating the bitstream by the video encoding method of claim 2 , and

transmitting the bitstream to a receiver.