METHODS FOR SIGNALING VIRTUAL BOUNDARIES AND WRAP-AROUND MOTION COMPENSATION
The present disclosure provides methods for picture processing. The method can include: receiving a bitstream comprising a set of pictures; determining, according to the received bitstream, whether a virtual boundary is signaled at a sequence level for the set of pictures; in response to the virtual boundary being signaled at the sequence level, determining a position of the virtual boundary for the set of pictures, the position being bounded by a range signaled in the received bitstream; and disabling in-loop filtering operations across the virtual boundary.
1 . A video decoding method, comprising:
receiving a bitstream associated with a video sequence;
determining, based on a first flag signaled in the bitstream, whether a picture resolution is allowed to be changed within the video sequence;
determining, based on a second flag signaled in the bitstream, whether information of a virtual boundary is signaled in a sequence parameter set (SPS); and
controlling in-loop filtering operations based on whether the information of the virtual boundary is signaled in the SPS,
wherein the controlling of the in-loop filtering operations comprises:
in response to the information of the virtual boundary being signaled in the SPS, determining a position of the virtual boundary for the video sequence, the position being bounded by a range signaled in the received bitstream, and disabling the in-loop filtering operations across the virtual boundary; and
wherein when the first flag has a value indicating that the picture resolution is allowed to be changed within the video sequence, the second flag has a value indicating that the information of the virtual boundary is not signaled in the SPS.
2 . The method of claim 1 , wherein when the value of the first flag is equal to 1, the value of the second flag is equal to 0.
3 . The method of claim 1 , wherein the first flag and second flag are signaled in the SPS.
4 . The method of claim 3 , further comprising:
determining, based on the second flag, whether the information of virtual boundary is signaled in the SPS.
5 . The method of claim 1 , further comprising:
determining, according to the bitstream, whether a resolution of a first picture in the video sequence is different from a resolution of a reference picture associated with the first picture; and
in response to the resolution of the first picture being different from the resolution of the reference picture associated with the first picture, determining that wrap-around motion compensation is disabled for the first picture.
6 . The method of claim 1 , wherein the range by which the position is bounded comprises at least one of a vertical range or a horizontal range,
the vertical range is less than or equal to a maximum width allowed for the set of pictures, the maximum width being signaled in the received stream, and
the horizontal range is less than or equal to a maximum height allowed for the set of pictures, the maximum height being signaled in the received bitstream.
7 . The method of claim 1 , further comprising:
determining the range based on a first parameter signaled in the bitstream; and
determining the position of the virtual boundary based on a second parameter signaled in the bitstream.
8 . The method of claim 7 , wherein the range is determined by a smallest integer that is greater than or equal to a quotient of the value of the first parameter divided by 8.
9 . The method of claim 7 , wherein the value of the first parameter is in units of luma samples.
10 . The method of claim 7 , wherein the first parameter and second parameter are signaled in the SPS.
11 . The method of claim 1 , further comprising:
determining, based on a first parameter signaled in the bitstream, a maximum width or height of each picture of the video sequence;
determining, based on a second parameter signaled in a picture parameter set (PPS) of the bitstream, a width or height of a decoded picture referring to the PPS,
wherein when the first flag has a value indicating that the picture resolution is not allowed to be changed within the video sequence, the second parameter has a value equal to a value of the first parameter.
12 . A video encoding method, comprising:
receiving a video sequence;
setting a virtual boundary for the video sequence;
disabling in-loop filtering operations across the virtual boundary;
encoding, into a bitstream, a first parameter indicative of a range by which a position of the virtual boundary is bounded;
encoding, into the bitstream, a first flag indicating whether a picture resolution is allowed to be changed within the video sequence; and
encoding, into the bitstream, a second flag indicating whether information of the virtual boundary is signaled in a sequence parameter set (SPS),
wherein when the first flag has a value indicates that the picture resolution is allowed to be changed within the video sequence, the encoded second flag has a value indicating that the information of virtual boundary is not signaled in the SPS.
13 . The method of claim 12 , wherein when the value of the first flag is equal to 1, the value of the second flag is equal to 0.
14 . The method of claim 12 , further comprising:
encoding the first flag and second flag into the SPS.
15 . The method of claim 14 , wherein the encoded second flag has a value indicating that the information of virtual boundary is signaled in the bitstream, and the encoding comprises:
encoding the information of virtual boundary into the SPS.
16 . The method of claim 12 , further comprising:
determining whether a resolution of a first picture in the video sequence is different from a resolution of a reference picture associated with the first picture; and
in response to the resolution of the first picture being different from the resolution of the reference picture associated with the first picture, disabling wrap-around motion compensation for the first picture.
17 . The method of claim 12 , further comprising:
encoding, in the bitstream, a second parameter indicating a position of the virtual boundary,
wherein a value of the second parameter is bounded by the range.
18 . The method of claim 17 , further comprising:
determining the range based on a smallest integer that is greater than or equal to a quotient of the value of the first parameter divided by 8.
19 . The method of claim 12 , further comprising:
determining, based on a first parameter signaled in the bitstream, a maximum width or height of each picture of the video sequence;
determining, based on a second parameter signaled in a picture parameter set (PPS) of the bitstream, a width or height of a decoded picture referring to the PPS,
wherein when the first flag has a value indicating that the picture resolution is not allowed to be changed within the video sequence, the second parameter has a value equal to a value of the first parameter.
20 . A method of storing a bitstream associated with a video sequence, the method comprising:
setting a virtual boundary for the video sequence;
disabling in-loop filtering operations across the virtual boundary;
encoding, into a bitstream, a first parameter indicative of a range by which a position of the virtual boundary is bounded;
encoding, into the bitstream, a first flag indicating whether a picture resolution is allowed to be changed within the video sequence;
encoding, into the bitstream, a second flag indicating whether information of the virtual boundary is signaled in a sequence parameter set (SPS); and
storing the bitstream in a non-transitory computer-readable storage medium,
wherein when the first flag has a value indicates that the picture resolution is allowed to be changed within the video sequence, the encoded second flag has a value indicating that the information of virtual boundary is not signaled in the SPS.