High level syntax for video coding and decoding
A method of decoding video data from a bitstream, the bitstream comprising video data corresponding to multiple slices, wherein the bitstream comprises a header comprising syntax elements to be used when decoding one or more slices; wherein the decoding comprising parsing the picture header, parsing at least one APS ID related syntax element prior to syntax elements relating to decoding tools; and decoding said bitstream using said syntax elements.
1 . A method of decoding a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, the method comprising:
decoding, from the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to decoding a syntax element related to SAO from the picture header, wherein the first syntax element is decoded from the picture header before the second syntax element is decoded from the picture header, and the second syntax element is decoded from the picture header before the third syntax element is decoded from the picture header; and
decoding said bitstream using a decoded syntax element.
2 . A method of encoding video data into a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, the method comprising:
encoding, into the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to encoding a syntax element relating to SAO into the picture header, wherein the first syntax element is encoded into the picture header before the second syntax element is encoded into the picture header, and the second syntax element is encoded into the picture header before the third syntax element is encoded into the picture header.
3 . The method according to claim 1 , wherein the first syntax element and the second syntax element in the picture header are after a syntax element, in the picture header, being capable of indicating that a current picture is never used as a reference picture.
4 . The method according to claim 1 , wherein the first syntax element and the second syntax element in the picture header are after a syntax element, in the picture header, being capable of indicating that a current picture is a gradual decoding refresh picture.
5 . The method according to claim 1 , wherein the first syntax element and the second syntax element in the picture header are after picture type information in the picture header.
6 . The method according to claim 1 , wherein the first syntax element and the second syntax element in the picture header are after a ph_pic_parameter_set_id in the picture header.
7 . The method according to claim 1 , wherein the APS of the scaling list contains information used to derive a scaling matrix.
8 . The method according to claim 1 , wherein the APS of ALF contains information related to the signaling of clipping values.
9 . The method according to claim 1 , wherein SAO corresponds to a loop filtering process which is capable of modifying pixel values of reconstructed pixels, and the syntax element related to SAO is an enabled flag for SAO.
10 . A decoder for decoding a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, wherein the decoder comprises:
a unit configured to decode, from the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to decoding a syntax element relating to SAO from the picture header, wherein the first syntax element is decoded from the picture header before the second syntax element is decoded from the picture header, and the second syntax element is decoded from the picture header before the third syntax element is decoded from the picture header; and
wherein the unit is configured to decode said bitstream using a decoded syntax element.
11 . An encoder for encoding video data into a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, wherein the encoder comprises:
a unit configured to encode, into the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to encoding a syntax element relating to SAO into the picture header, wherein the first syntax element is encoded into the picture header before the second syntax element is encoded into the picture header, and the second syntax element is encoded into the picture header before the third syntax element is encoded into the picture header.
12 . A non-transitory computer readable storage medium storing a program for causing a computer to execute a method of decoding a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, wherein the method comprises:
decoding, from the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to decoding a syntax element related to SAO from the picture header, wherein the first syntax element is decoded from the picture header before the second syntax element is decoded from the picture header, and the second syntax element is decoded from the picture header before the third syntax element is decoded from the picture header; and
decoding said bitstream using a decoded syntax element.
13 . A non-transitory computer readable storage medium storing a program for causing a computer to execute a method of encoding video data into a bitstream, wherein the bitstream comprises a picture header comprising a syntax element to be applied to all slices of a picture, the method comprising:
encoding, into the picture header, (a) a first syntax element specifying an ID of an Adaptation Parameter Set (APS) of Adaptive Loop Filter (ALF), (b) a second syntax element specifying an ID of an APS of Luma Mapping with Chroma Scaling (LMCS), and (c) a third syntax element specifying an ID of an APS of a scaling list, prior to encoding a syntax element relating to SAO into the picture header, wherein the first syntax element is encoded into the picture header before the second syntax element is encoded into the picture header, and the second syntax element is encoded into the picture header before the third syntax element is encoded into the picture header.