Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
FILTER PARAMETER SIGNALING IN VIDEO PICTURE HEADERS
Document Type and Number:
WIPO Patent Application WO/2021/222260
Kind Code:
A1
Abstract:
Methods and apparatus for video processing are described. The video processing may include video encoding, video decoding or video transcoding. One example video processing method includes performing a conversion between a video picture of a video and a bitstream of the video. A first syntax element in a first video unit level specifying a deblocking parameter offset for β divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream.

Inventors:
WANG YE-KUI (US)
XU JIZHENG (US)
Application Number:
PCT/US2021/029416
Publication Date:
November 04, 2021
Filing Date:
April 27, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BYTEDANCE INC (US)
International Classes:
H04N19/117; H04N19/176; H04N19/70; H04N19/82; H04N19/86
Domestic Patent References:
WO2019188944A12019-10-03
Foreign References:
US20130272425A12013-10-17
US9445128B22016-09-13
Other References:
BROSS B ET AL.: "Versatile Video Coding (Draft 9", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, no. m53983, 28 April 2020 (2020-04-28)
ZHANG (ERICSSON) Z ET AL.: "AHG9: Chroma deblocking strength signalling", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, no. m53040, 3 April 2020 (2020-04-03)
XU (BYTEDANCE) J ET AL.: "AHG9: On chroma deblocking parameters signalling", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, no. m53034, 2 April 2020 (2020-04-02)
NASER (INTERDIGITAL) K ET AL.: "AhG 9: Removed Redundant Coding of Chroma Deblocking Filter Parameters", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, no. m53147, 6 April 2020 (2020-04-06)
KOTRA (HUAWEI) AM ET AL.: "AHG9: Modified signalling of Chroma deblocking control parameters", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11, no. m53183, 3 April 2020 (2020-04-03)
ANDREY NORKIN ET AL.: "HEVC Deblocking Filter", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY IEEE USA, vol. 22, no. 12, 1 December 2012 (2012-12-01), pages 1746 - 1754, XP011487156, DOI: 10.1109/TCSVT.2012.2223053
See also references of EP 4128763A4
Attorney, Agent or Firm:
SATHE, Vinay (US)
Download PDF:
Claims:
CLAIMS

1. A video processing method, comprising: performing a conversion between a video picture of a video and a bitstream of the video, wherein the conversion comprises performing a deblocking filtering operation in which at least some samples of reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are indicated, and wherein a first syntax element in a first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream, wherein the rule specifies that (1) in case a syntax flag indicating that chroma tool offsets are present in a picture parameter set, the first syntax element is equal to a third syntax element in a second video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component associated with a second video unit, and the second syntax element is equal to a fourth syntax element in the second video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component associated with the second video unit, and (2) in case the syntax flag indicating that the chroma tool offsets are not present in the picture parameter set, the first syntax element is equal to a fifth syntax element in the first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a luma component for the one or more slices in the first video unit, and the second syntax element is equal to a sixth syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the luma component for the one or more slices in the first video unit.

2. The method of claim 1, wherein the chroma component is a cb component.

3. The method of claim 1, wherein the chroma component is a cr component.

4. The method of any of claims 1 to 3, wherein the first video unit level is a picture header, and wherein the second video unit level is a picture parameter set.

5. The method of claim 4, wherein the first video unit is a picture, and wherein the second video unit comprises one or more pictures.

6. The method of any of claims 1 to 5, wherein the first video unit level is a slice header, and wherein the second video unit level is a picture header.

7. The method of claim 6, wherein the first video unit is a slice, and wherein the second video unit is a picture.

8. The method of any of claims 1 to 7, wherein the syntax flag is equal to 1 in response to the chroma tool offsets being present in the picture parameter set.

9. The method of any of claims 1 to 8, wherein the syntax flag is equal to 0 in response to the chroma tool offsets being omitted in the picture parameter set.

10. The method of any of claims 1 to 9, wherein the conversion comprises encoding the video into the bitstream.

11. The method of any of claims 1 to 9, wherein the conversion comprises decoding the video from the bitstream.

12. A method for storing bitstream of a video, comprising: generating a bitstream of the video from a video picture of the video, wherein the generating comprises performing a deblocking filtering operation in which at least some samples of reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are indicated, and wherein a first syntax element in a first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream, wherein the rule specifies that (1) in case a syntax flag indicating that chroma tool offsets are present in a picture parameter set, the first syntax element is equal to a third syntax element in a second video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component associated with a second video unit, and the second syntax element is equal to a fourth syntax element in the second video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component associated with the second video unit, and (2) in case the syntax flag indicating that the chroma tool offsets are not present in the picture parameter set, the first syntax element is equal to a fifth syntax element in the first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a luma component for the one or more slices in the first video unit, and the second syntax element is equal to a sixth syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the luma component for the one or more slices in the first video unit.

13. A video decoding apparatus comprising a processor configured to implement a method recited in any of claims 1 to 12.

14. A video encoding apparatus comprising a processor configured to implement a method recited in any of claims 1 to 12.

15. A computer program product having computer code stored thereon, the code, when executed by a processor, causes the processor to implement a method recited in any of claims 1 to 12.

16. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises: generating a bitstream of the video from a video picture of the video, wherein the generating comprises performing a deblocking filtering operation in which at least some samples of reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are indicated, and wherein a first syntax element in a first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream, wherein the rule specifies that (1) in case a syntax flag indicating that chroma tool offsets are present in a picture parameter set, the first syntax element is equal to a third syntax element in a second video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component associated with a second video unit, and the second syntax element is equal to a fourth syntax element in the second video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component associated with the second video unit, and (2) in case the syntax flag indicating that the chroma tool offsets are not present in the picture parameter set, the first syntax element is equal to a fifth syntax element in the first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a luma component for the one or more slices in the first video unit, and the second syntax element is equal to a sixth syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the luma component for the one or more slices in the first video unit.

17. A method, apparatus or system described in the present document.

Description:
FILTER PARAMETER SIGNALING IN VIDEO PICTURE HEADERS

CROSS REFERENCE TO RELATED APPLICATIONS [001] Under the applicable patent law and/or rules pursuant to the Paris Convention, this application is made to timely claim the priority to and benefits of U.S. Provisional Application No. US 63/017,499, filed on April 29, 2020. For all purposes under the law, the entire disclosure of the aforementioned application is incorporated by reference as part of the disclosure of this application.

TECHNICAL FIELD

[002] This patent document relates to image and video coding and decoding.

BACKGROUND

[003] Digital video accounts for the largest bandwidth use on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, it is expected that the bandwidth demand for digital video usage will continue to grow.

SUMMARY

[004] The present document discloses techniques that can be used by video encoders and decoders for processing coded representation of video using control information useful for decoding of the coded representation.

[005] In one example aspect, a video processing method is disclosed. The method includes performing a conversion between a video picture of a video and a bitstream of the video. The conversion comprises performing a deblocking filtering operation in which at least some samples of reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are indicated. A first syntax element in a first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream. The rule specifies that (1) in case a syntax flag indicating that chroma tool offsets are present in a picture parameter set, the first syntax element is equal to a third syntax element in a second video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component associated with a second video unit, and the second syntax element is equal to a fourth syntax element in the second video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component associated with the second video unit, and (2) in case the syntax flag indicating that the chroma tool offsets are not present in the picture parameter set, the first syntax element is equal to a fifth syntax element in the first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a luma component for the one or more slices in the first video unit, and the second syntax element is equal to a sixth syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the luma component for the one or more slices in the first video unit.

[006] In one example aspect, a video processing method is disclosed. The method includes performing a conversion between a video comprising one or more video blocks and a coded representation of the video, wherein the conversion comprises performing a deblocking filtering operation in which reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are signaled in the coded representation according to a format rule, wherein the format rule includes an inference rule by which parameters of a deblocking filter used for a chroma component are inferred from the coded representation.

[007] In yet another example aspect, a video encoder apparatus is disclosed. The video encoder comprises a processor configured to implement above-described methods.

[008] In yet another example aspect, a video decoder apparatus is disclosed. The video decoder comprises a processor configured to implement above-described methods.

[009] In yet another example aspect, a computer readable medium having code stored thereon is disclose. The code embodies one of the methods described herein in the form of processor- executable code.

[0010] These, and other, features are described throughout the present document.

BRIEF DESCRIPTION OF DRAWINGS [0011] FIG. 1 is a block diagram of an example video processing system.

[0012] FIG. 2 is a block diagram of a video processing apparatus.

[0013] FIG. 3 is a flowchart for an example method of video processing. [0014] FIG. 4 is a block diagram that illustrates a video coding system in accordance with some embodiments of the present disclosure.

[0015] FIG. 5 is a block diagram that illustrates an encoder in accordance with some embodiments of the present disclosure.

[0016] FIG. 6 is a block diagram that illustrates a decoder in accordance with some embodiments of the present disclosure.

[0017] FIG. 7 is a flowchart representation of a method of video processing in accordance with the present technology.

DETAILED DESCRIPTION

[0018] Section headings are used in the present document for ease of understanding and do not limit the applicability of techniques and embodiments disclosed in each section only to that section. Furthermore, H.266 terminology is used in some description only for ease of understanding and not for limiting scope of the disclosed techniques. As such, the techniques described herein are applicable to other video codec protocols and designs also.

1. Overview

[0019] This document is related to video coding technologies. Specifically, it is about improvements on signalling of deblocking parameters. The ideas may be applied individually or in various combination, to any video coding standard or non-standard video codec that supports multi-layer video coding, e.g., the being-developed Versatile Video Coding (VVC).

2. Abbreviations

ALF Adaptive Loop Filter

APS Adaptation Parameter Set

AU Access Unit

AUD Access Unit Delimiter

AVC Advanced Video Coding CL VS Coded Layer Video Sequence

CPB Coded Picture Buffer

CRA Clean Random Access

CTU Coding Tree Unit

CVS Coded Video Sequence DCI Decoding Capability Information

DPB Decoded Picture Buffer

DU Decoding Unit

EOB End Of Bitstream

EOS End Of Sequence

GDR Gradual Decoding Refresh

HEVC High Efficiency Video Coding

HRD Hypothetical Reference Decoder

IDR Instantaneous Decoding Refresh

JEM Joint Exploration Model

LMCS Luma Mapping with Chroma Scaling

MCTS Motion-Constrained Tile Sets

NAL Network Abstraction Layer

OLS Output Layer Set

PH Picture Header

PPS Picture Parameter Set

PTL Profile, Tier and Level

PU Picture Unit

RADL Random Access Decodable Leading (Picture)

RAP Random Access Point

RASL Random Access Skipped Leading (Picture)

RBSP Raw Byte Sequence Payload

RPL Reference Picture List

SAO Sample Adaptive Offset

SEI Supplemental Enhancement Information

SPS Sequence Parameter Set

STSA Step-wise Temporal Sublayer Access

SVC Scalable Video Coding

VCL Video Coding Layer

VPS Video Parameter Set

VTM VVC Test Model VUI Video Usability Information

VVC Versatile Video Coding

3. Initial discussion

[0020] Video coding standards have evolved primarily through the development of the well- known ITU-T and ISO/IEC standards. The ITU-T produced H.261 and H.263, ISO/IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H.262/MPEG-2 Video and H.264/MPEG-4 Advanced Video Coding (AVC) and H.265/HEV standards. Since H.262, the video coding standards are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized. To explore the future video coding technologies beyond HEVC, the Joint Video Exploration Team (JVET) was founded by VCEG and MPEG jointly in 2015. Since then, many new methods have been adopted by JVET and put into the reference software named Joint Exploration Model (JEM). The JVET meeting is concurrently held once every quarter, and the new coding standard is targeting at 50% bitrate reduction as compared to HEVC. The new video coding standard was officially named as Versatile Video Coding (VVC) in the April 2018 JVET meeting, and the first version of VVC test model (VTM) was released at that time. As there are continuous effort contributing to VVC standardization, new coding techniques are being adopted to the VVC standard in every JVET meeting. The VVC working draft and test model VTM are then updated after every meeting. The VVC project is now aiming for technical completion (FDIS) at the July 2020 meeting.

3.1. Parameter sets

[0021] AVC, HEVC, and VVC specify parameter sets. The types of parameter sets include SPS, PPS, APS, and VPS. SPS and PPS are supported in all of AVC, HEVC, and VVC. VPS was introduced since HEVC and is included in both HEVC and VVC. APS was not included in AVC or HEVC but is included in the latest VVC draft text.

[0022] SPS was designed to carry sequence-level header information, and PPS was designed to carry infrequently changing picture-level header information. With SPS and PPS, infrequently changing information need not to be repeated for each sequence or picture, hence redundant signalling of this information can be avoided. Furthermore, the use of SPS and PPS enables out- of-band transmission of the important header information, thus not only avoiding the need for redundant transmissions but also improving error resilience. [0023] VPS was introduced for carrying sequence-level header information that is common for all layers in multi-layer bitstreams.

[0024] APS was introduced for carrying such picture-level or slice-level information that needs quite some bits to code, can be shared by multiple pictures, and in a sequence there can be quite many different variations.

3.2. Slice header and picture header in VVC

[0025] Similarly as in HEVC, the slice header in VVC conveys information for a particular slice. This includes slice address, slice type, slice QP, picture order count (POC) least significant bits (LSBs), RPS and RPL information, weighted prediction parameters, loop filtering parameters, entry offsets of tiles and WPP, etc.

[0026] VVC introduced the picture header (PH), which contains header parameters for a particular picture. Each picture must have one or only one PH. The PH basically carries those parameters that would have been in the slice header if PH were not introduced but each has the same value for all slices of a picture. These include IRAP/GDR picture indications, inter/intra slices allowed flags, POC LSB and optionally POC MSB, information on RPLs, deblocking, SAO, ALF, QP delta, and weighted prediction, coding block partitioning information, virtual boundaries, co-located picture information, etc. It often occurs that each picture in an entire sequence of pictures contains only one slice. To allow not to have at least two NAL units for each picture in such cases, the PH syntax structure is allowed to be included either the PH NAL unit or in the slice header.

[0027] In VVC, information on the collocated picture, which is used for temporal motion vector prediction, is signalled either in the picture header or the slice header.

3.3. Deblocking filter in VVC

[0028] In VVC, the deblocking filter is applied to the samples adjacent to a CU, TU and subblock boundary except the case when the boundary is also a picture boundary, or when deblocking is disabled across slice, tile or subpicture boundaries (which is an option that can be signaled by the encoder). The deblocking filtering process is applied on a 4x4 grid for CU boundaries and transform subblock boundaries and on an 8x8 grid for prediction subblock boundaries. The prediction subblock boundaries include the prediction unit boundaries introduced by the SbTMVP and affine modes, and the transform subblock boundaries include the transform unit boundaries introduced by SBT and ISP modes, and transforms due to implicit split of large CUs. As done in HEVC, the processing order of the deblocking filter is defined as horizontal filtering for vertical edges for the entire picture first, followed by vertical filtering for horizontal edges. This specific order enables either multiple horizontal filtering or vertical filtering processes to be applied in parallel threads, or can still be implemented on a CTB-by- CTB basis with only a small processing latency.

[0029] VVC specifies the long deblocking filter. The filtering process are similar as that of HEVC. The boundary filter strength (bS) of the deblocking filter is controlled by the values of several syntax elements of the two adjacent blocks and according to the filter strength and the average quantization parameter of the adjacent blocks, two thresholds, tC and b, are determined from predefined tables. For luma samples, one of three four cases, no filtering, weak filtering, short strong filtering and long strong filtering is chosen based on b and block size. There are three cases, no filtering, normal filtering and strong filtering for chroma samples. Compared to HEVC, the long strong filtering for luma samples and strong filtering for chroma samples are newly introduced in VVC. Long luma strong filtering is used when samples at either one side of a boundary belong to a large block. A sample belonging to a large block is defined as when the width is larger than or equal to 32 for a vertical edge, or when height is larger than or equal to 32 for a horizontal edge. Up to 7 samples at one side of a boundary are filtered in the strong filter. Strong chroma filtering is applied when both sides of the chroma edge are greater than or equal to 8 (in unit of chroma sample) and 3 chroma samples from each side are filtered.

[0030] The luma-adaptive deblocking in VVC further adjusts tC and b of deblocking filter based on the averaged luma level of the reconstructed samples. When luma-adaptive deblocking is enabled, an offset qpOffset, which is derived based on the averaged luma level around the filtering boundary, is added to the average quantization parameters of the two adjacent blocks. The mapping function of qpOffset and luma level should be derived according to the transfer characteristics (Electro-Optical Transfer Function (EOTF) and Opto-Optical Transfer Function (OOTF)) of the video contents and are signaled in SPS.

3.4. Deblocking signalling in VVC

[0031] The deblocking signalling in some embodiments is defined as follows.

7.3.2.4 Picture parameter set RBSP syntax

7.4.3.4 Picture parameter set RBSP semantics deblocking filter control p resen t flag equal to 1 specifies the presence of deblocking filter control syntax elements in the PPS. deblocking_filter_control_present_flag equal to 0 specifies the absence of deblocking filter control syntax elements in the PPS and that the deblocking filter is applied for all slices referring to the PPS, using 0-valued deblocking b and tc offsets. dcblocking filtcr ovcrridc cnablcd flag equal to 1 specifies the presence of ph deblocking filter override flag in the PHs referring to the PPS or slice deblocking filter override flag in the slice headers referring to the PPS. deblocking filter override enabled flag equal to 0 specifies the absence of ph deblocking filter override flag in PHs referring to the PPS or slice deblocking filter override flag in slice headers referring to the PPS. When not present, the value of deblocking filter override enabled flag is inferred to be equal to 0. pps dcblocking filtcr disablcd tlag equal to 1 specifies that the operation of deblocking filter is not applied for slices referring to the PPS for which one of the following two conditions is true: 1) ph deblockig filter disabled flag and slice deblocking filter disabled flag are not present and 2) ph deblockig filter disabled flag or slice deblocking filter disabled flag is present and equal to 1, and also specifies that the operation of deblocking filter is applied for slices referring to the PPS for which ph deblockig filter disabled flag or slice deblocking filter disabled flag is present and equal to 0. pps deblocking filter disabled flag equal to 0 specifies that the operation of the deblocking filter is applied for slices referring to the PPS for which one of the following two conditions is true: 1) ph deblockig filter disabled flag and slice deblocking filter disabled flag are not present and 2) ph deblockig filter disabled flag or slice deblocking filter disabled flag is present and equal to 0, and also specifies that the operation of deblocking filter is not applied for slices referring to the PPS for which ph deblockig filter disabled flag or slice deblocking filter disabled flag is present and equal to 1.

When not present, the value of pps deblocking filter disabled flag is inferred to be equal to 0. dbf_info_in_ph_flag equal to 1 specifies that deblocking filter information is present in the PH syntax structure and not present in slice headers referring to the PPS that do not contain a PH syntax structure. dbf_info_in_ph_flag equal to 0 specifies that deblocking filter information is not present in the PH syntax structure and may be present in slice headers referring to the PPS. When not present, the value of dbf_info_in_ph_flag is inferred to be equal to 0. pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2 specify the default deblocking parameter offsets for b and tC (divided by 2) that are applied to the luma component for slices referring to the PPS, unless the default deblocking parameter offsets are overridden by the deblocking parameter offsets present in the picture headers or the slice headers of the slices referring to the PPS. The values of pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2 are both inferred to be equal to 0. pps_cb_beta_offset_div2 and pps_cb_tc_offset_div2 specify the default deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cb component for slices referring to the PPS, unless the default deblocking parameter offsets are overridden by the deblocking parameter offsets present in the picture headers or the slice headers of the slices referring to the PPS. The values of pps_cb_beta_offset_div2 and pps_cb_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of pps_cb_beta_offset_div2 and pps_cb_tc_offset_div2 are inferred to be equal to pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2, respectively. pps_cr_beta_offset_div2 and pps_cr_tc_offset_div2 specify the default deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cr component for slices referring to the PPS, unless the default deblocking parameter offsets are overridden by the deblocking parameter offsets present in the picture headers or the slice headers of the slices referring to the PPS. The values of pps_cr_beta_offset_div2 and pps_cr_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of pps_cr_beta_offset_div2 and pps_cr_tc_offset_div2 are inferred to be equal to pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2, respectively.

13.2.1 Picture header structure syntax

7.4.3.7 Picture header structure semantics ph deblocking filter override flag equal to 1 specifies that deblocking parameters are present in the PH. ph deblocking filter ovemde flag equal to 0 specifies that deblocking parameters are not present in the PH. When not present, the value of ph deblocking filter ovemde flag is inferred to be equal to 0. ph deblocking filter disabled flag equal to 1 specifies that the operation of the deblocking filter is not applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 1 or is present in the SHs and equal to 1, and also specifies that the operation of the deblocking filter is applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 0 or is present in the SHs and equal to 0. ph deblocking filter disabled flag equal to 0 specifies that the operation of the deblocking filter is applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 0 or is present in the SHs and equal to 0, and also specifies that the operation of the deblocking filter is not applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 1 or is present in the SHs and equal to 1.

When ph deblocking filter disabled flag is not present, it is inferred as follows:

If pps deblocking filter disabled flag and ph deblocking filter ovemde flag are both equal to 1, the value of ph deblocking filter disabled flag is inferred to be equal to 0.

Otherwise (pps deblocking filter disabled flag or ph deblocking filter ovemde flag is equal to 0), the value of ph deblocking filter disabled flag is inferred to be equal to pps deblocking filter disabled flag. ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the luma component for the slices associated with the PH. The values of ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 are inferred to be equal to pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2, respectively. ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cb component for the slices associated with the PH. The values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively. ph cr beta offset d iv2 and ph_cr_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cr component for the slices associated with the PH. The values of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of p h_c r_b c ta_o ffsc t_d i V 2 and ph_cr_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively.

7.3.7.1 General slice header syntax 7.4.8.1 General slice header semantics slice deblocking filter override flag equal to 1 specifies that deblocking parameters are present in the slice header slice deblocking filter ovemde flag equal to 0 specifies that deblocking parameters are not present in the slice header. When not present, the value of slice deblocking filter override flag is inferred to be equal to 0. slice deblocking filter disabled flag equal to 1 specifies that the operation of the deblocking filter is not applied for the current slice slice deblocking filter disabled flag equal to 0 specifies that the operation of the deblocking filter is applied for the current slice.

When slice deblocking filter disabled flag is not present, it is inferred as follows:

If pps deblocking filter disabled flag and slice deblocking filter ovemde flag are both equal to 1, the value of slice deblocking filter disabled flag is inferred to be equal to 0.

Otherwise (pps deblocking filter disabled flag or slice deblocking filter ovemde flag is equal to 0), the value of slice deblocking filter disabled flag is inferred to be equal to ph deblocking filter disabled flag. slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the luma component for the current slice. The values of slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively. slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cb component for the current slice. The values of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively. slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cr component for the current slice. The values of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively.

4. Technical problems solved by disclosed technical solutions and embodiments [0032] The existing design in some implementations has the following problems:

1) The inferences of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 when not present make the values of pps_cb_beta_offset_div2 and pps_cb_tc_offset_div2 useless.

2) The inferences of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 when not present make the values of pps_cr_beta_offset_div2 and pps_cr_tc_offset_div2 useless.

3) The inferences of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 when not present make the values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 useless. 4) The inferences of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 when not present make the values of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 useless.

5. A listing of solutions and embodiments

To solve the above problems, and others, methods as summarized below are disclosed. The inventions should be considered as examples to explain the general concepts and should not be interpreted in a narrow way. Furthermore, these inventions can be applied individually or combined in any manner.

1) To solve problem 1, the inferences of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 when not present are changed to be as follows:

When not present, the values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively. Otherwise, ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 are inferred to be equal to pps_cb_beta_offset_div2 and pps_cb_tc_offset_div2, respectively.

2) To solve problem 2, the inferences of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 when not present are changed to be as follows:

When not present, the values of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively. Otherwise, ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 are inferred to be equal to pps_cr_beta_offset_div2 and pps_cr_tc_offset_div2, respectively.

3) To solve problem 3, inferences of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 when not present are changed to be as follows:

When not present, the values of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively. Otherwise, slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 are inferred to be equal to ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2, respectively.

4) To solve problem 4, inferences of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 when not present are changed to be as follows:

When not present, the values of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 are inferred as follows. If pps_chroma_tool_offsets_present_flag is equal to 0, slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively. Otherwise, slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 are inferred to be equal to ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2, respectively.

6. Embodiments

[0033] Below are some example embodiments for some of the invention aspects summarized above in Section 5, which can be applied to the VVC specification. Most relevant parts that have been added or modified are underlined in boldface italics . and some of the deleted parts are indicated using [[]].

6.1. First embodiment

This embodiment is for items 1, 2, 3, and 4.

7.4.3.7 Picture header structure semantics ph deblocking filter ovemde flag equal to 1 specifies that deblocking parameters are present in the PH. ph deblocking filter ovemde flag equal to 0 specifies that deblocking parameters are not present in the PH. When not present, the value of ph deblocking filter ovemde flag is inferred to be equal to 0. ph deblocking filter disabled flag equal to 1 specifies that the operation of the deblocking filter is not applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 1 or is present in the SHs and equal to 1, and also specifies that the operation of the deblocking filter is applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 0 or is present in the SHs and equal to 0. ph deblocking filter disabled flag equal to 0 specifies that the operation of the deblocking filter is applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 0 or is present in the SHs and equal to 0, and also specifies that the operation of the deblocking filter is not applied for the slices associated with the PH for which slice deblocking filter disabled flag is not present in the SHs and inferred to be equal to 1 or is present in the SHs and equal to 1.

When ph deblocking filter disabled flag is not present, it is inferred as follows: If pps deblocking filter disabled flag and ph deblocking filter ovemde flag are both equal to 1, the value of ph deblocking filter disabled flag is inferred to be equal to 0.

Otherwise (pps deblocking filter disabled flag or ph deblocking filter ovemde flag is equal to 0), the value of ph deblocking filter disabled flag is inferred to be equal to pps deblocking filter disabled flag. ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the luma component for the slices associated with the PH. The values of ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2 are inferred to be equal to pps_luma_beta_offset_div2 and pps_luma_tc_offset_div2, respectively. ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cb component for the slices associated with the PH. The values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 shall both be in the range of -12 to 12, inclusive.

When not present, the values of ph cb beta offset div2 and ph cb tc offset div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, ph cb beta offset div2 and ph cb tc offset div2 are inferred to be equal to ph luma beta offset div2 and ph luma tc offset div2, respectively. Otherwise, ph cb beta offset div2 and ph cb tc offset div2 are inferred to be equal to pps cb beta offset div2 and pps cb tc offset div2, respectively.

[[When not present, the values of ph_cb_beta_offset_div2 and ph_cb_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively.]] ph cr beta offset d iv2 and ph_cr_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cr component for the slices associated with the PH. The values of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 shall both be in the range of -12 to 12, inclusive.

When not present, the values of ph cr beta offset div2 and ph cr tc offset div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, ph cr beta offset div2 and ph cr tc offset div2 are inferred to be equal to ph luma beta offset div2 and ph luma tc offset div2, respectively. Otherwise, ph cr beta offset div2 and ph cr tc offset div2 are inferred to be equal to pps cr beta offset div2 and pps cr tc offset div2, respectively.

[[When not present, the values of ph_cr_beta_offset_div2 and ph_cr_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively.]]

7.4.8.1 General slice header semantics slice deblocking filter override flag equal to 1 specifies that deblocking parameters are present in the slice header slice deblocking filter ovemde flag equal to 0 specifies that deblocking parameters are not present in the slice header. When not present, the value of slice deblocking filter override flag is inferred to be equal to 0. slice deblocking filter disabled flag equal to 1 specifies that the operation of the deblocking filter is not applied for the current slice slice deblocking filter disabled flag equal to 0 specifies that the operation of the deblocking filter is applied for the current slice.

When slice deblocking filter disabled flag is not present, it is inferred as follows:

If pps deblocking filter disabled flag and slice deblocking filter ovemde flag are both equal to 1, the value of slice deblocking filter disabled flag is inferred to be equal to 0.

Otherwise (pps deblocking filter disabled flag or slice deblocking filter ovemde flag is equal to 0), the value of slice deblocking filter disabled flag is inferred to be equal to ph deblocking filter disabled flag. slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the luma component for the current slice. The values of slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 shall both be in the range of -12 to 12, inclusive. When not present, the values of slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2 are inferred to be equal to ph_luma_beta_offset_div2 and ph_luma_tc_offset_div2, respectively. slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cb component for the current slice. The values of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 shall both be in the range of -12 to 12, inclusive.

When not present, the values of slice cb beta offset div2 and slice cb tc offset div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, slice cb beta offset div2 and slice cb tc offset div2 are inferred to be equal to slice luma beta offset div2 and slice luma tc offset div2, respectively. Otherwise, slice cb beta offset div2 and slice cb tc offset div2 are inferred to be equal to ph cb beta offset div2 and ph cb tc offset div2, respectively.

[[When not present, the values of slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively.]] slice_cb_beta_offset_div2 and slice_cb_tc_offset_div2 specify the deblocking parameter offsets for b and tC (divided by 2) that are applied to the Cr component for the current slice. The values of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 shall both be in the range of -12 to 12, inclusive.

When not present, the values of slice cr beta offset div2 and slice cr tc offset div2 are inferred as follows. If pps chroma tool offsets present flag is equal to 0, slice cr beta offset div2 and slice cr tc offset div2 are inferred to be equal to slice luma beta offset div2 and slice luma tc offset div2, respectively. Otherwise, slice cr beta offset div2 and slice cr tc offset div2 are inferred to be equal to ph cr beta offset div2 and ph cr tc offset div2, respectively.

[[When not present, the values of slice_cr_beta_offset_div2 and slice_cr_tc_offset_div2 are inferred to be equal to slice_luma_beta_offset_div2 and slice_luma_tc_offset_div2, respectively.]]

[0034] FIG. 1 is a block diagram showing an example video processing system 1900 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of the system 1900. The system 1900 may include input 1902 for receiving video content. The video content may be received in a raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format.

The input 1902 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interface include wired interfaces such as Ethernet, passive optical network (PON), etc. and wireless interfaces such as Wi-Fi or cellular interfaces.

[0035] The system 1900 may include a coding component 1904 that may implement the various coding or encoding methods described in the present document. The coding component 1904 may reduce the average bitrate of video from the input 1902 to the output of the coding component 1904 to produce a coded representation of the video. The coding techniques are therefore sometimes called video compression or video transcoding techniques. The output of the coding component 1904 may be either stored, or transmitted via a communication connected, as represented by the component 1906. The stored or communicated bitstream (or coded) representation of the video received at the input 1902 may be used by the component 1908 for generating pixel values or displayable video that is sent to a display interface 1910. The process of generating user-viewable video from the bitstream representation is sometimes called video decompression. Furthermore, while certain video processing operations are referred to as “coding” operations or tools, it will be appreciated that the coding tools or operations are used at an encoder and corresponding decoding tools or operations that reverse the results of the coding will be performed by a decoder.

[0036] Examples of a peripheral bus interface or a display interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on. Examples of storage interfaces include SATA (serial advanced technology attachment), PCI, IDE interface, and the like. The techniques described in the present document may be embodied in various electronic devices such as mobile phones, laptops, smartphones or other devices that are capable of performing digital data processing and/or video display.

[0037] FIG. 2 is a block diagram of a video processing apparatus 3600. The apparatus 3600 may be used to implement one or more of the methods described herein. The apparatus 3600 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on. The apparatus 3600 may include one or more processors 3602, one or more memories 3604 and video processing hardware 3606. The processor(s) 3602 may be configured to implement one or more methods described in the present document. The memory (memories) 3604 may be used for storing data and code used for implementing the methods and techniques described herein. The video processing hardware 3606 may be used to implement, in hardware circuitry, some techniques described in the present document.

[0038] FIG. 4 is a block diagram that illustrates an example video coding system 100 that may utilize the techniques of this disclosure.

[0039] As shown in FIG. 4, video coding system 100 may include a source device 110 and a destination device 120. Source device 110 generates encoded video data which may be referred to as a video encoding device. Destination device 120 may decode the encoded video data generated by source device 110 which may be referred to as a video decoding device.

[0040] Source device 110 may include a video source 112, a video encoder 114, and an input/output (I/O) interface 116.

[0041] Video source 112 may include a source such as a video capture device, an interface to receive video data from a video content provider, and/or a computer graphics system for generating video data, or a combination of such sources. The video data may comprise one or more pictures. Video encoder 114 encodes the video data from video source 112 to generate a bitstream. The bitstream may include a sequence of bits that form a coded representation of the video data. The bitstream may include coded pictures and associated data. The coded picture is a coded representation of a picture. The associated data may include sequence parameter sets, picture parameter sets, and other syntax structures. I/O interface 116 may include a modulator/demodulator (modem) and/or a transmitter. The encoded video data may be transmitted directly to destination device 120 via I/O interface 116 through network 130a. The encoded video data may also be stored onto a storage medium/server 130b for access by destination device 120.

[0042] Destination device 120 may include an I/O interface 126, a video decoder 124, and a display device 122.

[0043] I/O interface 126 may include a receiver and/or a modem. I/O interface 126 may acquire encoded video data from the source device 110 or the storage medium/ server 130b. Video decoder 124 may decode the encoded video data. Display device 122 may display the decoded video data to a user. Display device 122 may be integrated with the destination device 120, or may be external to destination device 120 which be configured to interface with an external display device. [0044] Video encoder 114 and video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, Versatile Video Coding (VVC) standard and other current and/or further standards.

[0045] FIG. 5 is a block diagram illustrating an example of video encoder 200, which may be video encoder 114 in the system 100 illustrated in FIG. 4.

[0046] Video encoder 200 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 5, video encoder 200 includes a plurality of functional components. The techniques described in this disclosure may be shared among the various components of video encoder 200. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.

[0047] The functional components of video encoder 200 may include a partition unit 201, a predication unit 202 which may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214. [0048] In other examples, video encoder 200 may include more, fewer, or different functional components. In an example, predication unit 202 may include an intra block copy (IBC) unit.

The IBC unit may perform predication in an IBC mode in which at least one reference picture is a picture where the current video block is located.

[0049] Furthermore, some components, such as motion estimation unit 204 and motion compensation unit 205 may be highly integrated, but are represented in the example of FIG. 5 separately for purposes of explanation.

[0050] Partition unit 201 may partition a picture into one or more video blocks. Video encoder 200 and video decoder 300 may support various video block sizes.

[0051] Mode select unit 203 may select one of the coding modes, intra or inter, e.g., based on error results, and provide the resulting intra- or inter-coded block to a residual generation unit 207 to generate residual block data and to a reconstruction unit 212 to reconstruct the encoded block for use as a reference picture. In some example, Mode select unit 203 may select a combination of intra and inter predication (CIIP) mode in which the predication is based on an inter predication signal and an intra predication signal. Mode select unit 203 may also select a resolution for a motion vector (e.g., a sub-pixel or integer pixel precision) for the block in the case of inter-predication.

[0052] To perform inter prediction on a current video block, motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 to the current video block. Motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from buffer 213 other than the picture associated with the current video block.

[0053] Motion estimation unit 204 and motion compensation unit 205 may perform different operations for a current video block, for example, depending on whether the current video block is in an I slice, a P slice, or a B slice.

[0054] In some examples, motion estimation unit 204 may perform uni-directional prediction for the current video block, and motion estimation unit 204 may search reference pictures of list 0 or list 1 for a reference video block for the current video block. Motion estimation unit 204 may then generate a reference index that indicates the reference picture in list 0 or list 1 that contains the reference video block and a motion vector that indicates a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, a prediction direction indicator, and the motion vector as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current block based on the reference video block indicated by the motion information of the current video block.

[0055] In other examples, motion estimation unit 204 may perform bi-directional prediction for the current video block, motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block and may also search the reference pictures in list 1 for another reference video block for the current video block. Motion estimation unit 204 may then generate reference indexes that indicate the reference pictures in list 0 and list 1 containing the reference video blocks and motion vectors that indicate spatial displacements between the reference video blocks and the current video block. Motion estimation unit 204 may output the reference indexes and the motion vectors of the current video block as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video blocks indicated by the motion information of the current video block.

[0056] In some examples, motion estimation unit 204 may output a full set of motion information for decoding processing of a decoder.

[0057] In some examples, motion estimation unit 204 may do not output a full set of motion information for the current video. Rather, motion estimation unit 204 may signal the motion information of the current video block with reference to the motion information of another video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.

[0058] In one example, motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to the video decoder 300 that the current video block has the same motion information as the another video block.

[0059] In another example, motion estimation unit 204 may identify, in a syntax structure associated with the current video block, another video block and a motion vector difference (MVD). The motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.

[0060] As discussed above, video encoder 200 may predictively signal the motion vector. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector predication (AMVP) and merge mode signaling.

[0061] Intra prediction unit 206 may perform intra prediction on the current video block. When intra prediction unit 206 performs intra prediction on the current video block, intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a predicted video block and various syntax elements.

[0062] Residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by the minus sign) the predicted video block(s) of the current video block from the current video block. The residual data of the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.

[0063] In other examples, there may be no residual data for the current video block for the current video block, for example in a skip mode, and residual generation unit 207 may not perform the subtracting operation.

[0064] Transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.

[0065] After transform processing unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.

[0066] Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transforms to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block. Reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more predicted video blocks generated by the predication unit 202 to produce a reconstructed video block associated with the current block for storage in the buffer 213.

[0067] After reconstruction unit 212 reconstructs the video block, loop filtering operation may be performed reduce video blocking artifacts in the video block.

[0068] Entropy encoding unit 214 may receive data from other functional components of the video encoder 200. When entropy encoding unit 214 receives the data, entropy encoding unit 214 may perform one or more entropy encoding operations to generate entropy encoded data and output a bitstream that includes the entropy encoded data.

[0069] FIG. 6 is a block diagram illustrating an example of video decoder 300 which may be video decoder 114 in the system 100 illustrated in FIG. 4.

[0070] The video decoder 300 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 6, the video decoder 300 includes a plurality of functional components. The techniques described in this disclosure may be shared among the various components of the video decoder 300. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure. [0071] In the example of FIG. 6, video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transformation unit 305, and a reconstruction unit 306 and a buffer 307. Video decoder 300 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 200 (FIG. 5).

[0072] Entropy decoding unit 301 may retrieve an encoded bitstream. The encoded bitstream may include entropy coded video data (e.g., encoded blocks of video data). Entropy decoding unit 301 may decode the entropy coded video data, and from the entropy decoded video data, motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. Motion compensation unit 302 may, for example, determine such information by performing the AMVP and merge mode.

[0073] Motion compensation unit 302 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used with sub-pixel precision may be included in the syntax elements.

[0074] Motion compensation unit 302 may use interpolation filters as used by video encoder 200 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 302 may determine the interpolation filters used by video encoder 200 according to received syntax information and use the interpolation filters to produce predictive blocks.

[0075] Motion compensation unit 302 may uses some of the syntax information to determine sizes of blocks used to encode frame(s) and/or slice(s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-encoded block, and other information to decode the encoded video sequence.

[0076] Intra prediction unit 303 may use intra prediction modes for example received in the bitstream to form a prediction block from spatially adjacent blocks. Inverse quantization unit 303 inverse quantizes, i.e., de-quantizes, the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 301. Inverse transform unit 303 applies an inverse transform. [0077] Reconstruction unit 306 may sum the residual blocks with the corresponding prediction blocks generated by motion compensation unit 202 or intra-prediction unit 303 to form decoded blocks. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in buffer 307, which provides reference blocks for subsequent motion compensation/intra predication and also produces decoded video for presentation on a display device.

[0078] A listing of solutions preferred by some embodiments is provided next.

[0079] The following solutions show example embodiments of techniques discussed in the previous section (e.g., items 1-4).

[0080] 1. A video processing method (e.g., method 3000 shown in FIG. 3), comprising performing (3002) a conversion between a video comprising one or more video blocks and a coded representation of the video; wherein the conversion comprises performing a deblocking filtering operation in which reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are signaled in the coded representation according to a format rule, wherein the format rule includes an inference rule by which parameters of a deblocking filter used for a chroma component are inferred from the coded representation.

[0081] 2. The method of solution 1, wherein the chroma component in a cr component.

[0082] 3. The method of any of solutions 1-2, wherein the chroma component is a cb component. [0083] 4. The method of any of solutions 1-3, wherein the inference rule specifies that a beta parameter for the deblocking filter and an offset parameter for the deblocking filter are inferred based on a value of a flag included in the coded representation.

[0084] 5. The method of solution 4, wherein the inference rule specifies that, for a first value of the flag, the beta parameter and the offset parameter are inferred to be zero.

[0085] 6. The method of any of solutions 4-5, wherein the inference rule specifies that, for a second value of the flag, the beta parameter and the offset parameter are derived from beta and offset parameters for a corresponding luma block.

[0086] 7. The method of any of solutions 1 to 6, wherein the conversion comprises encoding the video into the coded representation.

[0087] 8. The method of any of solutions 1 to 6, wherein the conversion comprises decoding the coded representation to generate pixel values of the video. [0088] 9. A video decoding apparatus comprising a processor configured to implement a method recited in one or more of solutions 1 to 8.

[0089] 10. A video encoding apparatus comprising a processor configured to implement a method recited in one or more of solutions 1 to 8.

[0090] 11. A computer program product having computer code stored thereon, the code, when executed by a processor, causes the processor to implement a method recited in any of solutions 1 to 8.

[0091] 12. A method, apparatus or system described in the present document.

[0092] FIG. 7 is a flowchart representation of a method 700 of video processing in accordance with the present technology. The method 700 includes, at operation 710, performing a conversion between a video picture of a video and a bitstream of the video. The conversion comprises performing a deblocking filtering operation in which at least some samples of reconstructed video blocks are selectively filtered using a deblocking filter whose parameters are indicated. A first syntax element in a first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component for one or more slices in a first video unit and a second syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component for the one or more slices in the first video unit are determined according to a rule in response to the first syntax element and the second syntax element not included in the bitstream. The rule specifies that (1) in case a syntax flag indicating that chroma tool offsets are present in a picture parameter set, the first syntax element is equal to a third syntax element in a second video unit level specifying a deblocking parameter offset for b divided by 2 applied to a chroma component associated with a second video unit, and the second syntax element is equal to a fourth syntax element in the second video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the chroma component associated with the second video unit, and (2) in case the syntax flag indicating that the chroma tool offsets are not present in the picture parameter set, the first syntax element is equal to a fifth syntax element in the first video unit level specifying a deblocking parameter offset for b divided by 2 applied to a luma component for the one or more slices in the first video unit, and the second syntax element is equal to a sixth syntax element in the first video unit level specifying a deblocking parameter offset for tC divided by 2 applied to the luma component for the one or more slices in the first video unit. [0093] In some embodiments, the chroma component is a cb component. In some embodiments, the chroma component is a cr component. In some embodiments, the first video unit level is a picture header, and the second video unit level is a picture parameter set. In some embodiments, the first video unit is a picture, and the second video unit comprises one or more pictures. In some embodiments, the first video unit level is a slice header, and the second video unit level is a picture header. In some embodiments, the first video unit is a slice, and the second video unit is a picture.

[0094] In some embodiments, the syntax flag is equal to 1 in response to the chroma tool offsets being present in the picture parameter set. In some embodiments, the syntax flag is equal to 0 in response to the chroma tool offsets being omitted in the picture parameter set.

[0095] In some embodiments, the conversion comprises encoding the video into the bitstream. In some embodiments, the conversion comprises decoding the video from the bitstream.

[0096] In the present document, the term “video processing” may refer to video encoding, video decoding, video compression or video decompression. For example, video compression algorithms may be applied during conversion from pixel representation of a video to a corresponding bitstream representation or vice versa. The bitstream representation of a current video block may, for example, correspond to bits that are either co-located or spread in different places within the bitstream, as is defined by the syntax. For example, a macroblock may be encoded in terms of transformed and coded error residual values and also using bits in headers and other fields in the bitstream. Furthermore, during conversion, a decoder may parse a bitstream with the knowledge that some fields may be present, or absent, based on the determination, as is described in the above solutions. Similarly, an encoder may determine that certain syntax fields are or are not to be included and generate the coded representation accordingly by including or excluding the syntax fields from the coded representation.

[0097] The disclosed and other solutions, examples, embodiments, modules and the functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or in combinations of one or more of them. The disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. A propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.

[0098] A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.

[0099] The processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). [00100] Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random-access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[00101] While this patent document contains many specifics, these should not be construed as limitations on the scope of any subject matter or of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular techniques. Certain features that are described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.

[00102] Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments. [00103] Only a few implementations and examples are described and other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.