SIGN DATA HIDING OF VIDEO RECORDING
The present disclosure provides systems and methods for video data coding and decoding. One exemplary method comprises: receiving a video frame for residual coding; determining whether the video frame is coded according to a first coding mode; and in response to the determining of whether the video frame is coded according to the first coding mode, turning off sign data hiding for the residual coding.
1 . A method of encoding a video sequence into a bitstream, the method comprising:
receiving a video frame for residual coding;
encoding a first flag into a bitstream, the first flag indicating whether dependent quantization is turned on at a slice level for the video frame; and
determining, based on a value of the first flag, whether to skip encoding a second flag indicating whether transform skip residual coding is turned off at the slice level for the video frame.
2 . The method of claim 1 , wherein the first flag comprises a slice level flag of ph_dep_quant_enabled_flag.
3 . The method of claim 1 , wherein the second flag comprises a slice level flag of slice_ts_residual_coding_disabled_flag.
4 . The method of claim 1 , further comprising:
in response to the value of the first flag indicating the dependent quantization is turned on at the slice level for the video frame, encoding the second flag into the bitstream.
5 . The method of claim 1 , further comprising:
in response to the value of the first flag being equal to 1, encoding the second flag into the bitstream.
6 . The method of claim 1 , further comprising:
in response to the value of the first flag being equal to 0, skipping encoding the second flag.
7 . A method of decoding a bitstream to output one or more pictures for a video stream, the method comprising:
receiving a bitstream encoded based on residual coding, the bitstream comprising a first flag indicating whether dependent quantization is turned on at a slice level;
decoding the first flag; and
determining, based on a value of the first flag, whether to decode a second flag indicating whether transform skip residual coding is turned on at the slice level.
8 . The method of claim 7 , wherein the first flag comprises a slice level flag of ph_dep_quant_enabled_flag.
9 . The method of claim 7 , wherein the second flag comprises a slice level flag of slice_ts_residual_coding_disabled_flag.
10 . The method of claim 7 , further comprising:
in response to the value of the first flag indicating the dependent quantization is turned on at the slice level, decoding the second flag.
11 . The method of claim 7 , further comprising:
in response to the value of the first flag being equal to 1, decoding the second flag.
12 . The method of claim 7 , further comprising:
in response to the value of the first flag being equal to 0, skipping decoding the second flag and determining that the transform skip residual coding is turned on at the slice level.
13 . The method of claim 7 , further comprising:
in response to the value of the first flag being equal to 0, skipping decoding the second flag and determining that a value of the second flag is equal to 0.
14 . A method of storing a bitstream of a video, the bitstream comprising:
receiving a video frame for residual coding;
generating a bitstream comprising a first flag indicating whether dependent quantization is turned on at a slice level for the video frame, wherein when the first flag has a first value, the bitstream further comprises a second flag indicating whether transform skip residual coding is turned off at the slice level for the video frame; and
storing the bitstream in a non-transitory computer readable storage medium.
15 . The method of claim 14 , wherein the first flag comprises a slice level flag of ph_dep_quant_enabled_flag.
16 . The method of claim 14 , wherein the second flag comprises a slice level flag of slice_ts_residual_coding_disabled_flag.
17 . The method of claim 14 , wherein the first value of the first flag indicates the dependent quantization is turned on at the slice level.
18 . The method of claim 14 , wherein the first value of the first flag is equal to 1.