Methods for processing chroma signals
The present disclose provides methods and systems for processing chroma signals. According to some embodiments, the method can include: determining, based on a value of a flag that indicates whether a chroma tool offsets related syntax element is present in a picture parameter set (PPS) raw byte sequence payload (RBSP) syntax structure, whether one or more chroma deblocking parameters are present in a picture header or a slice header associated with the PPS; and in response to the flag having a first value, decoding the one or more chroma deblocking parameters, or in response to the flag having a second value, skipping decoding the one or more chroma deblocking parameters.
1 . A computer-implemented video decoding method, comprising:
receiving a bitstream; and
decoding, using coded information of the bitstream, one or more pictures,
wherein the decoding comprises:
determining, based on a value of a flag that indicates whether a chroma tool offsets related syntax element is present in a picture parameter set (PPS) raw byte sequence payload (RBSP) syntax structure, whether one or more chroma deblocking parameters are present in the bitstream; and
in response to the flag having a first value, decoding the one or more chroma deblocking parameters, or
in response to the flag having a second value, skipping decoding the one or more chroma deblocking parameters.
2 . The method according to claim 1 , wherein the first value is equal to 1.
3 . The method according to claim 1 , wherein the second value is equal to 0.
4 . The method according to claim 1 , wherein the one or more chroma deblocking parameters comprise at least one of a beta offset or a tc offset.
5 . The method according to claim 1 , wherein the one or more chroma deblocking parameters apply to at least one of a Cb component or a Cr component.
6 . A method of storing a bitstream associated with a video sequence, the method comprising:
generating a flag that indicates whether a chroma tool offsets related syntax element is present in a picture parameter set (PPS) raw byte sequence payload (RBSP) syntax structure;
generating the bitstream based on the flag, wherein:
when the flag has a first value, the bitstream comprises one or more chroma deblocking parameters, and
wherein when the flag has a second value, the bitstream does not comprise the one or more chroma deblocking parameters; and
storing the bitstream in a non-transitory computer-readable medium.
7 . The method according to claim 6 , wherein the first value is equal to 1.
8 . The method according to claim 6 , wherein the second value is equal to 0.
9 . The method according to claim 6 , wherein the one or more chroma deblocking parameters comprise at least one of a beta offset or a tc offset.
10 . The method according to claim 6 , wherein the one or more chroma deblocking parameters apply to at least one of a Cb component or a Cr component.
11 . A computer-implemented video encoding method, comprising:
receiving a video sequence;
encoding one or more pictures of the video sequence; and
generating a bitstream,
wherein the encoding comprises:
determining, based on a value of a flag that indicates whether a chroma tool offsets related syntax element is present in a picture parameter set (PPS) raw byte sequence payload (RBSP) syntax structure, whether to encode one or more chroma deblocking parameters in the bitstream; and
in response to the flag having a first value, encoding the one or more chroma deblocking parameters in the bitstream,
wherein when the flag having a second value, skipping encoding the one or more chroma deblocking parameters in the bitstream.
12 . The method according to claim 11 , wherein the first value is equal to 1.
13 . The method according to claim 11 , wherein the second value is equal to 0.
14 . The method according to claim 11 , wherein the one or more chroma deblocking parameters comprise at least one of a beta offset or a tc offset.
15 . The method according to claim 1 , wherein the one or more chroma deblocking parameters comprise one or more of:
pps_cb_beta_offset_div2, pps_cb_tc_offset_div2, pps_cr_beta_offset_div2, or pps_cr_tc_offset_div2.
16 . The method according to claim 6 , wherein the one or more chroma deblocking parameters comprise one or more of:
pps_cb_beta_offset_div2, pps_cb_tc_offset_div2, pps_cr_beta_offset_div2, or pps_cr_tc_offset_div2.
17 . The method according to claim 11 , wherein the one or more chroma deblocking parameters comprise one or more of:
pps_cb_beta_offset_div2, pps_cb_tc_offset_div2, pps_cr_beta_offset_div2, or pps_cr_tc_offset_div2.