Method and apparatus for processing video content with ALF and CCALF
The present disclosure provides systems and methods for processing video content. The method can include: receiving a bitstream comprising video content; determining whether a first signal associated with the video content satisfies a given condition; and in response to the determination that the first signal satisfies the given condition, disabling both a cross component adaptive loop filter (CCALF) process and a chroma adaptive loop filter (ALF) process.
1 . A method of decoding a video bitstream to output one or more pictures, the method comprising:
receiving a bitstream associated with a video sequence;
decoding, from coded information of the bitstream, a first signal;
determining, based on the first signal, whether adaptation parameter set (APS) network-abstraction-layer (NAL) unit is present in the bitstream; and
in response to a determination that the APS NAL unit is not present in the bitstream, disabling a cross component adaptive loop filter (CCALF) process,
wherein disabling the CCALF process further comprises:
decoding a first sequence-level flag indicating that the CCALF process is disabled for the video sequence associated with the first sequence-level flag; and
decoding, consecutively after the decoding of the first sequence-level flag, a second sequence-level flag indicating that luma mapping with chroma scaling (LMCS) is disabled for the video sequence.
2 . The method according to claim 1 , wherein the disabling of the CCALF process comprises:
decoding, from the coded information of the bitstream, a second signal; and
disabling the CCALF process based on a decoded value of the second signal.
3 . The method according to claim 2 , wherein the second signal is decoded from the bitstream at a sequence level.
4 . The method according to claim 1 , wherein a slice level signal is decoded from the bitstream at a picture header level or at a slice header level.
5 . The method according to claim 1 , wherein the first signal is a flag, and the method further comprises:
in response to the flag having a value equal to 1, determining that the APS NAL unit is not present in the received bitstream.
6 . A method of encoding a video sequence into a bitstream, the method comprising:
encoding, into a bitstream associated with a video sequence, a first signal indicating whether adaptation parameter set (APS) network-abstraction-layer (NAL) unit is present in the bitstream; and
in response to the APS NAL unit being not present in the bitstream, disabling a cross component adaptive loop filter (CCALF) process by
encoding a first sequence-level flag indicating that the CCALF process is disabled for the video sequence associated with the first sequence-level flag and encoding, consecutively after the encoding of the first sequence-level flag, a second sequence-level flag indicating that luma mapping with chroma scaling (LMCS) is disabled for the video sequence.
7 . The method according to claim 6 , wherein the disabling of the CCALF process comprises:
setting a value of a second signal to be equal to 0; and
encoding the second signal into the bitstream at a sequence level.
8 . The method according to claim 6 , wherein the first signal is a flag, and the method further comprises:
in response to the APS NAL unit being not present in the bitstream, setting a value of the flag to be equal to 1.
9 . A method of storing a bitstream associated with a video sequence, the method comprising:
generating a bitstream associated with a video sequence, the bitstream comprising:
a first signal indicating whether adaptation parameter set (APS) network-abstraction-layer (NAL) unit is present in the bitstream, and
a slice level signal associated with a luma ALF process,
wherein the generating of the bitstream comprises: when the APS NAL unit is not present in the bitstream, disabling a cross component adaptive loop filter (CCALF) process, and generating a first sequence-level flag indicating that the CCALF process is disabled for the video sequence associated with the first sequence-level flag and a second sequence-level flag indicating that luma mapping with chroma scaling (LMCS) is disabled for the video sequence, the second sequence-level flag being consecutively coded after the first sequence-level flag in the bitstream; and
storing the bitstream in a non-transitory computer-readable medium.
10 . The method according to claim 9 , wherein the bitstream comprises:
a second signal at a sequence level,
wherein a value of a second signal is equal to 0 when the CCALF process is disabled.