CN-115349254-B - Controlling different levels of deblocking filtering in a codec video
Abstract
Methods and apparatus for video processing are disclosed. The processing may include video encoding, video decoding, or video transcoding. An example method includes performing a transition between video and a bitstream of video including a picture including one or more slices, wherein the transition conforms to a rule that specifies whether to apply a deblocking filter to one or more slices of a reference picture parameter set based at least on a first syntax element included in the picture parameter set, and wherein the first syntax element indicates whether to disable the deblocking filter for the picture.
Inventors
- DENG ZHIPIN
- ZHANG LI
- WANG YEKUI
- ZHANG KAI
- XU JIZHENG
Assignees
- 抖音视界有限公司
- 抖音视界有限公司
- 字节跳动有限公司
- 字节跳动有限公司
Dates
- Publication Date
- 20260421
- Application Date
- 20210323
- Priority Date
- 20200323
Claims (18)
- 1. A method of processing video data, comprising: performs a conversion between a video comprising pictures comprising one or more slices and a bitstream of said video, Wherein the conversion complies with a rule that specifies whether a deblocking filter is applied to a current slice of a reference picture parameter set, PPS, based at least on a first syntax element included in a picture header, PH, associated with the current slice, wherein the current slice is one of one or more slices included in the picture, Wherein the first syntax element indicates whether to disable the deblocking filter for the picture, Wherein the rules specify whether the deblocking filter is applied to the one or more slices that reference the picture parameter set is further based on at least one of: a second syntax element in the PPS, the second syntax element indicating whether to disable the deblocking filter for pictures referencing the PPS, and A third syntax element in the strip header SH, the third syntax element indicating whether the deblocking filter is indicated as disabled, and Wherein the method comprises the steps of the process comprises, wherein, the whether the ph_deblocking_filter_disabled_flag exists in the PH is based on the value of the pps_deblocking_filter_disabled_flag, and when the value of the pps_deblocking_filter_disabled_flag is not equal to 1, the ph_deblocking_filter_disabled_flag is present in the PH, and when the value of the pps_deblocking_filter_disabled_flag is equal to 1, the ph_deblocking_filter_disabled_flag is not present in the PH.
- 2. The method of claim 1, wherein the rule specifies whether the deblocking filter is applied to the one or more slices referencing the picture parameter set is further based on at least one of: a fourth syntax element in the SH, the fourth syntax element indicating whether to enable coverage of information of the deblocking filter at a slice level, or A fifth syntax element in the PH, the fifth syntax element indicating whether an overlay of information of the deblocking filter is enabled at a picture level.
- 3. The method of claim 1, wherein a value of 1 for the first syntax element, the second syntax element, and the third syntax element indicates that the deblocking filter is disabled at a picture level, a PPS level, and a slice level, respectively.
- 4. The method of claim 3, wherein the deblocking filter is disabled for the current slice when values of the first syntax element, the second syntax element, and the third syntax element are equal to 1.
- 5. The method of claim 1, wherein the rule further specifies that the third syntax element in the SH and/or the first syntax element in the PH are present based on a value of the second syntax element in the PPS.
- 6. The method of claim 1, wherein performing the conversion comprises encoding the video into the bitstream.
- 7. The method of claim 1, wherein performing the conversion comprises decoding the video from the bitstream.
- 8. An apparatus for processing video data, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to: performs a conversion between a video comprising pictures comprising one or more slices and a bitstream of said video, Wherein the conversion complies with a rule that specifies whether a deblocking filter is applied to a current slice of a reference picture parameter set, PPS, based at least on a first syntax element included in a picture header, PH, associated with the current slice, wherein the current slice is one of one or more slices included in the picture, and Wherein the first syntax element indicates whether to disable the deblocking filter for the picture; wherein the rules specify whether the deblocking filter is applied to the one or more slices that reference the picture parameter set is further based on at least one of: a second syntax element in the PPS, the second syntax element indicating whether to disable the deblocking filter for pictures referencing the PPS, and A third syntax element in the strip header SH, the third syntax element indicating whether the deblocking filter is indicated as disabled, and Wherein the method comprises the steps of the process comprises, wherein, the whether the ph_deblocking_filter_disabled_flag exists in the PH is based on the value of the pps_deblocking_filter_disabled_flag, and when the value of the pps_deblocking_filter_disabled_flag is not equal to 1, the ph_deblocking_filter_disabled_flag is present in the PH, and when the value of the pps_deblocking_filter_disabled_flag is equal to 1, the ph_deblocking_filter_disabled_flag is not present in the PH.
- 9. The device according to claim 8, Wherein a value of 1 for the first, second, and third syntax elements indicates that the deblocking filter is disabled at a picture level, a PPS level, and a slice level, respectively, and Wherein the deblocking filter is disabled for the current slice when values of the first syntax element, the second syntax element, and the third syntax element are equal to 1.
- 10. The apparatus of claim 8, wherein the rule specifies whether the deblocking filter is applied to the one or more slices referencing the picture parameter set is further based on at least one of: a fourth syntax element in the SH, the fourth syntax element indicating whether to enable coverage of information of the deblocking filter at a slice level, or A fifth syntax element in the PH, the fifth syntax element indicating whether an overlay of information of the deblocking filter is enabled at a picture level.
- 11. The apparatus of claim 8, wherein the rule further specifies that the third syntax element in the SH and/or the first syntax element in the PH are present based on a value of the second syntax element in the PPS.
- 12. A non-transitory computer-readable storage medium storing instructions that cause a processor to: performs a conversion between a video comprising pictures comprising one or more slices and a bitstream of said video, Wherein the conversion complies with a rule that specifies whether a deblocking filter is applied to a current slice of a reference picture parameter set, PPS, based at least on a first syntax element included in a picture header, PH, associated with the current slice, wherein the current slice is one of one or more slices included in the picture, and Wherein the first syntax element indicates whether to disable the deblocking filter for the picture; wherein the rules specify whether the deblocking filter is applied to the one or more slices that reference the picture parameter set is further based on at least one of: a second syntax element in the PPS, the second syntax element indicating whether to disable the deblocking filter for pictures referencing the PPS, and A third syntax element in the strip header SH, the third syntax element indicating whether the deblocking filter is indicated as disabled, and Wherein the method comprises the steps of the process comprises, wherein, the whether the ph_deblocking_filter_disabled_flag exists in the PH is based on the value of the pps_deblocking_filter_disabled_flag, and when the value of the pps_deblocking_filter_disabled_flag is not equal to 1, the ph_deblocking_filter_disabled_flag is present in the PH, and when the value of the pps_deblocking_filter_disabled_flag is equal to 1, the ph_deblocking_filter_disabled_flag is not present in the PH.
- 13. The non-transitory computer readable storage medium of claim 12, Wherein a value of 1 for the first, second, and third syntax elements indicates that the deblocking filter is disabled at a picture level, a PPS level, and a slice level, respectively, and Wherein the deblocking filter is disabled for the current slice when values of the first syntax element, the second syntax element, and the third syntax element are equal to 1.
- 14. The non-transitory computer-readable storage medium of claim 12, wherein the rules specify whether the deblocking filter is applied to the one or more slices referencing the picture parameter set is further based on at least one of a fourth syntax element in the SH indicating whether coverage of information of the deblocking filter is enabled at a slice level, or a fifth syntax element in the PH indicating whether coverage of information of the deblocking filter is enabled at a picture level, Wherein the rule further specifies that the presence of the third syntax element in the SH and/or the first syntax element in the PH is based on a value of the second syntax element in the PPS.
- 15. A non-transitory computer readable storage medium having stored thereon a computer program/instruction and a bitstream, the computer program/instruction when executed by a processor implementing a method of processing video data to generate the bitstream, wherein the method comprises: for video comprising pictures comprising one or more slices, generating the bitstream, Wherein the generating complies with a rule that specifies whether a deblocking filter is applied to a current slice of a reference picture parameter set, PPS, is based at least on a first syntax element included in a picture header, PH, associated with the current slice, wherein the current slice is one of one or more slices included in the picture, and Wherein the first syntax element indicates whether to disable the deblocking filter for the picture; wherein the rules specify whether the deblocking filter is applied to the one or more slices that reference the picture parameter set is further based on at least one of: a second syntax element in the PPS, the second syntax element indicating whether to disable the deblocking filter for pictures referencing the PPS, and A third syntax element in the strip header SH, the third syntax element indicating whether the deblocking filter is indicated as disabled, and Wherein the method comprises the steps of the process comprises, wherein, the whether the ph_deblocking_filter_disabled_flag exists in the PH is based on the value of the pps_deblocking_filter_disabled_flag, and when the value of the pps_deblocking_filter_disabled_flag is not equal to 1, the ph_deblocking_filter_disabled_flag is present in the PH, and when the value of the pps_deblocking_filter_disabled_flag is equal to 1, the ph_deblocking_filter_disabled_flag is not present in the PH.
- 16. The non-transitory computer readable storage medium of claim 15, Wherein a value of 1 for the first, second, and third syntax elements indicates that the deblocking filter is disabled at a picture level, a PPS level, and a slice level, respectively, and Wherein the deblocking filter is disabled for the current slice when values of the first syntax element, the second syntax element, and the third syntax element are equal to 1.
- 17. The non-transitory computer-readable storage medium of claim 15, wherein the rules specify whether the deblocking filter is applied to the one or more slices referencing the picture parameter set is further based on at least one of a fourth syntax element in the SH indicating whether coverage of information of the deblocking filter is enabled at a slice level, or a fifth syntax element in the PH indicating whether coverage of information of the deblocking filter is enabled at a picture level, Wherein the rule further specifies that the presence of the third syntax element in the SH and/or the first syntax element in the PH is based on a value of the second syntax element in the PPS.
- 18. A method of storing a bitstream of video, comprising: For a video comprising pictures comprising one or more slices, generating a bitstream of said video, The bit stream is stored in a non-transitory computer readable storage medium, Wherein the bitstream is generated by performing the following method: The generating is in accordance with a rule that specifies whether a deblocking filter is applied to a current slice of a reference picture parameter set, PPS, based at least on a first syntax element included in a picture header, PH, associated with the current slice, wherein the current slice is one of one or more slices included in the picture, and Wherein the first syntax element indicates whether to disable the deblocking filter for the picture; wherein the rules specify whether the deblocking filter is applied to the one or more slices that reference the picture parameter set is further based on at least one of: a second syntax element in the PPS, the second syntax element indicating whether to disable the deblocking filter for pictures referencing the PPS, and A third syntax element in the strip header SH, the third syntax element indicating whether the deblocking filter is indicated as disabled, and Wherein the method comprises the steps of the process comprises, wherein, the whether the ph_deblocking_filter_disabled_flag exists in the PH is based on the value of the pps_deblocking_filter_disabled_flag, and when the value of the pps_deblocking_filter_disabled_flag is not equal to 1, the ph_deblocking_filter_disabled_flag is present in the PH, and when the value of the pps_deblocking_filter_disabled_flag is equal to 1, the ph_deblocking_filter_disabled_flag is not present in the PH.
Description
Controlling different levels of deblocking filtering in a codec video Cross reference to related applications The application aims at timely claiming the priority and rights of PCT/CN2020/080602 international patent application submitted on 3/23/2020. The entire disclosure of the above application is incorporated by reference as part of the disclosure of the present application. Technical Field This patent document relates to image and video encoding and decoding. Background Digital video occupies the largest bandwidth usage on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, the bandwidth requirements for digital video usage are expected to continue to increase. Disclosure of Invention This document discloses techniques that may be used by video encoders and decoders to process a codec representation of video using control information that is useful for decoding the codec representation. In one example aspect, a video processing method is disclosed. The method includes performing a transition between video and a bitstream of video including a picture including one or more slices, wherein the transition complies with a rule that specifies whether a deblocking filter is applied to one or more slices of a reference picture parameter set based at least on a first syntax element included in the picture parameter set, and wherein the first syntax element indicates whether the deblocking filter is disabled for the picture. In another example aspect, a video processing method is disclosed. The method includes performing a conversion between video including pictures containing one or more slices and a bitstream of the video, Wherein the conversion complies with a rule that specifies whether a deblocking filter is applied to one or more slices of a reference picture parameter set based solely on syntax elements included in the picture parameter set that indicate whether the deblocking filter is disabled. In another example aspect, a video processing method is disclosed. The method performs a conversion between video and a bitstream of video comprising one or more pictures, the one or more pictures comprising one or more slices, wherein the bitstream conforms to a rule, wherein the rule specifies that whether to overlay a deblocking operation on a slice or picture at the slice level is determined based on a first value of a first syntax element at the slice level or a second value of a second syntax element at the picture level, and wherein the rule specifies that the first value of the first syntax element is determined independent of the second value of the second syntax element at the picture level in response to the first syntax element not being present in the slice header. In another example aspect, a video processing method is disclosed. The method performs a transition between video and a bitstream of video that includes one or more pictures that include one or more slices, wherein the bitstream conforms to a rule, wherein the rule specifies that whether a deblocking parameter is included in a slice header or a picture header is determined based on a first value of a first syntax element at the slice level or a second value of a second syntax element at the picture level, and wherein the rule specifies that the first value of the first syntax element is determined independent of the second value of the second syntax element at the picture level in response to the first syntax element not being present in the slice header. In another example aspect, a video processing method is disclosed. The method performs a conversion between video and a bitstream of the video that includes one or more pictures that include one or more slices, wherein the bitstream complies with a format rule that specifies whether a first syntax element and a second syntax element are included in a picture header and a slice header, respectively, or whether the first syntax element and the second syntax element are inferred to be based on a value of a third syntax element in a picture parameter set, wherein the first syntax element indicates whether a deblocking filter is disabled at a picture level of the video, wherein the second syntax element indicates whether the deblocking filter is disabled at a slice level of the video, and wherein the third syntax element indicates whether the deblocking filter is enabled for one or more pictures of a reference picture parameter set. In another example aspect, a video processing method is disclosed. The method performs a conversion between video and a bitstream of video comprising one or more pictures, the one or more pictures comprising one or more slices, wherein the conversion complies with a rule, the rule specifying whether a deblocking filter is applied to a slice is based on syntax elements included in a slice header and/or a picture parameter set referenced by the slice, and wherein the synta