WO2020182219A1 - Signalisation et syntaxe d'informations de remise en forme en boucle - Google Patents

Signalisation et syntaxe d'informations de remise en forme en boucle Download PDF

Info

Publication number
WO2020182219A1
WO2020182219A1 PCT/CN2020/079429 CN2020079429W WO2020182219A1 WO 2020182219 A1 WO2020182219 A1 WO 2020182219A1 CN 2020079429 W CN2020079429 W CN 2020079429W WO 2020182219 A1 WO2020182219 A1 WO 2020182219A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
block
domain
video block
conversion
Prior art date
Application number
PCT/CN2020/079429
Other languages
English (en)
Inventor
Li Zhang
Kai Zhang
Hongbin Liu
Jizheng Xu
Yue Wang
Original Assignee
Beijing Bytedance Network Technology Co., Ltd.
Bytedance Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bytedance Network Technology Co., Ltd., Bytedance Inc. filed Critical Beijing Bytedance Network Technology Co., Ltd.
Priority to CN202080021276.1A priority Critical patent/CN113574889B/zh
Priority to CN202311451186.8A priority patent/CN117499644A/zh
Publication of WO2020182219A1 publication Critical patent/WO2020182219A1/fr
Priority to US17/357,244 priority patent/US11412238B2/en
Priority to US17/714,480 priority patent/US20220239932A1/en
Priority to US18/492,937 priority patent/US20240107035A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component

Definitions

  • This patent document relates to video processing techniques, devices and systems.
  • Devices, systems and methods related to digital video processing, and specifically, to in-loop reshaping (ILR) for video processing are described.
  • the described methods may be applied to both the existing video processing standards (e.g., High Efficiency Video Coding (HEVC) ) and future video processing standards or video processors including video codecs.
  • HEVC High Efficiency Video Coding
  • video processors including video codecs.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing, for a conversion between a current video block of a video and a coded representation of the video, a motion information refinement process based on samples in a first domain or a second domain; and performing the conversion based on a result of the motion information refinement process, wherein, during the conversion, the samples are obtained for the current video block from a first prediction block in the first domain using an unrefined motion information, at least a second prediction block is generated in the second domain using a refined motion information used for determining a reconstruction block, and reconstructed samples of the current video block are generated based on the at least the second prediction block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the video, wherein, during the conversion, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, wherein a coding tool is applied during the conversion using parameters that are derived at least based on first set of samples in a video region of the video and second set of samples in a reference picture of the current video block, and wherein a domain for the first samples and a domain for the second samples are aligned.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes determining, for a current video block of a current video region of a video, a parameter for a coding mode of the current video block based on one or more parameters for a coding mode of a previous video region; and performing a coding for the current video block to generate a coded representation of the video based on the determining, and wherein the parameter for the coding mode is included in a parameter set in the coded representation of the video, and wherein the performing of the coding comprises transforming a representation of the current video block in a first domain to a representation of the current video block in a second domain, and wherein, during the performing of the coding using the coding mode, the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes receiving a coded representation of a video including a parameter set including parameter information for a coding mode; and performing a decoding of the coded representation by using the parameter information to generate a current video block of a current video region of the video from the coded representation, and wherein the parameter information for the coding mode is based on one or more parameters for the coding mode of a previous video region, wherein, in the coding mode, the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the video, and wherein the conversion includes applying a filtering operation to a prediction block in a first domain or in a second domain different from the first domain.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the video, wherein, during the conversion, a final reconstruction block is determined for the current video block, and wherein the temporary reconstruction block is generated using a prediction method and represented in the second domain.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein a parameter set in the coded representation comprises parameter information for the coding mode
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video that is a chroma block and a coded representation of the video, wherein, during the conversion, the current video block is constructed based on a first domain and a second domain, and wherein the conversion further includes applying a forward reshaping process and/or an inverse reshaping process to one or more chroma components of the current video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video chroma block of a video and a coded representation of the video, wherein the performing of the conversion includes: determining whether luma-dependent chroma residue scaling (LCRS) is enabled or disabled based on a rule, and reconstructing the current video chroma block based on the determination.
  • LCRS luma-dependent chroma residue scaling
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on one or more coefficient values of the current video block; and performing the conversion based on the determining, wherein, during the conversion using the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes dividing, for a conversion between a current video block of a video that exceeds a virtual pipeline data unit (VPDU) of the video, the current video block into regions; and performing the conversion by applying a coding mode separately to each region, wherein, during the conversion by applying the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner
  • VPDU virtual pipeline data unit
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on a size or a color format of the current video block; and performing the conversion based on the determining, wherein, during the conversion using the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein at least one syntax element in the coded representation provides an indication of a usage of the coding mode and an indication of a reshaper model.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes determining that a coding mode is disabled for a conversion between a current video block of a video and a coded representation of the video; and conditionally skipping a forward reshaping and/or inverse reshaping based on the determining, wherein, in the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein multiple forward reshaping and/or multiple inverse reshaping are applied in the reshaping mode for the video region.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a palette mode wherein at least a palette of representative sample values is used for the current video block, and wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a palette mode in which at least a palette of representative sample values is used for coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein, when the coding mode is applied to a video block, the video block is constructed based on chroma residue that is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses a first coding mode and a palette coding mode in which at least a palette of representative pixel values is used for coding the current video block; and performing a conversion between a second video block of the video that is coded without using the palette coding mode and a coded representation of the video, and wherein the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and second video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video, and performing the conversion using an intra block copy mode which generates a prediction block using at least a block vector pointing to a picture that includes the current video block, and wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in an intra block copy (IBC) mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block for coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • IBC intra block copy
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses an intra block copy mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block and a first coding mode; and performing a conversion between a second video block of the video that is coded without using the intra block copy mode and a coded representation of the video, wherein the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and to the second video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a block-based delta pulse code modulation (BDPCM) mode, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • BDPCM block-based delta pulse code modulation
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded using a block-based delta pulse code modulation (BDPCM) mode; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • BDPCM block-based delta pulse code modulation
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a block-based delta pulse code modulation (BDPCM) mode; and performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the BDPCM mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • BDPCM block-based delta pulse code modulation
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block; and performing a conversion between a second video block of the video and a coded representation of the video, wherein the second video block is coded without using the transform skip mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization; and performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the intra pulse code modulation mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a modified transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization; and performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the transquant-bypass mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the current video block, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in a parameter set that is different from a sequence parameter set (SPS) , a video parameter set (VPS) , a picture parameter set (PPS) , or an adaptation parameter set (APS) used for carrying adaptive loop filtering (ALF) parameters.
  • SPS sequence parameter set
  • VPS video parameter set
  • PPS picture parameter set
  • APS adaptation parameter set
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the current video block, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in an adaptation parameter set (APS) together with adaptive loop filtering (ALF) information, wherein the information used for the coding mode and the ALF information are included in one NAL unit.
  • APS adaptation parameter set
  • ALF adaptive loop filtering
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video region of a video and a coded representation of the current video blok, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in a first type of adaptation parameter set (APS) that is different from a second type of APS used for signaling adaptive loop filtering (ALF) information.
  • APS adaptation parameter set
  • ALF adaptive loop filtering
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video region of a video and a coded representation of the current video block, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the video region is disallowed to refer to an adaptation parameter set or an parameter set that is signaled before a specified type of data structure used for processing the video, and wherein the specified type of the data structure is signaled before the video region.
  • the disclosed technology may be used to provide a method for video processing.
  • This method includes performing a conversion between a current video block of a video and a coded representation of the current video block, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein a syntax element of a parameter set including parameters used for processing the video has predefined values in a conformance bitstream.
  • the above-described method is embodied in the form of processor-executable code and stored in a computer-readable program medium.
  • a device that is configured or operable to perform the above-described method.
  • the device may include a processor that is programmed to implement this method.
  • a video decoder apparatus may implement a method as described herein.
  • FIG. 1 shows an example of constructing a merge candidate list.
  • FIG. 2 shows an example of positions of spatial candidates.
  • FIG. 3 shows an example of candidate pairs subject to a redundancy check of spatial merge candidates.
  • FIGS. 4A and 4B show examples of the position of a second prediction unit (PU) based on the size and shape of the current block.
  • FIG. 5 shows an example of motion vector scaling for temporal merge candidates.
  • FIG. 6 shows an example of candidate positions for temporal merge candidates.
  • FIG. 7 shows an example of generating a combined bi-predictive merge candidate.
  • FIG. 8 shows an example of constructing motion vector prediction candidates.
  • FIG. 9 shows an example of motion vector scaling for spatial motion vector candidates.
  • FIG. 10 shows an example of motion prediction using the alternative temporal motion vector prediction (ATMVP) algorithm for a coding unit (CU) .
  • ATMVP alternative temporal motion vector prediction
  • FIG. 11 shows an example of a coding unit (CU) with sub-blocks and neighboring blocks used by the spatial-temporal motion vector prediction (STMVP) algorithm.
  • CU coding unit
  • STMVP spatial-temporal motion vector prediction
  • FIG. 12 shows an example of neighboring samples for deriving illumination compensation (IC) parameters.
  • FIGS. 13A and 13B show examples of the simplified 4-parameter affine model and the simplified 6-parameter affine model, respectively.
  • FIG. 14 shows an example of an affine motion vector field (MVF) per sub-block.
  • FIGS. 15A and 15B show examples of the 4-parameter and 6-parameter affine models, respectively.
  • FIG. 16 shows an example of motion vector prediction for AF_INTER for inherited affine candidates.
  • FIG. 17 shows an example of motion vector prediction for AF_INTER for constructed affine candidates.
  • FIGS. 18A and 18B show example candidate blocks and the CPMV predictor derivation, respectively, for the AF_MERGE mode.
  • FIG. 19 shows an example of candidate positions for affine merge mode.
  • FIG. 20 shows an example of an UMVE search process.
  • FIG. 21 shows an example of an UMVE search point.
  • FIG. 22 shows an example of decoder side motion vector refinement (DMVR) based on bilateral template matching.
  • FIG. 23 shows an exemplary flowchart of a decoding flow with reshaping.
  • FIG. 24 shows an example of neighboring samples utilized in a bilateral filter.
  • FIG. 25 shows an example of windows covering two samples utilized in weight calculations.
  • FIG. 26 shows an example of a scan pattern.
  • FIG. 27 shows an example of an inter-mode decoding process.
  • FIG. 28 shows another example of an inter-mode decoding process.
  • FIG. 29 shows an example of an inter-mode decoding process with post-reconstruction filters.
  • FIG. 30 shows another example of an inter-mode decoding process with post-reconstruction filters.
  • FIGS. 31A and 31B show flowcharts of example methods for video processing.
  • FIGS. 32A to 32D show flowcharts of example methods for video processing.
  • FIG. 33 shows a flowchart of an example method for video processing.
  • FIGS. 34A and 34B show flowcharts of example methods for video processing.
  • FIGS. 35A to 35F show flowcharts of example methods for video processing.
  • FIGS. 36A to 36C show flowcharts of example methods for video processing.
  • FIGS. 37A to 37C show flowcharts of example methods for video processing.
  • FIGS. 38A to 38L show flowcharts of example methods for video processing.
  • FIGS. 39A to 39E show flowcharts of example methods for video processing.
  • FIGS. 40A and 40B show examples of hardware platforms for implementing a visual media decoding or a visual media encoding technique described in the present document.
  • Video codecs typically include an electronic circuit or software that compresses or decompresses digital video, and are continually being improved to provide higher coding efficiency.
  • a video codec converts uncompressed video to a compressed format or vice versa.
  • the compressed format usually conforms to a standard video compression specification, e.g., the High Efficiency Video Coding (HEVC) standard (also known as H. 265 or MPEG-H Part 2) , the Versatile Video Coding standard to be finalized, or other current and/or future video coding standards.
  • HEVC High Efficiency Video Coding
  • MPEG-H Part 2 MPEG-H Part 2
  • Embodiments of the disclosed technology may be applied to existing video coding standards (e.g., HEVC, H. 265) and future standards to improve compression performance. Section headings are used in the present document to improve readability of the description and do not in any way limit the discussion or the embodiments (and/or implementations) to the respective sections only.
  • Video coding standards have significantly improved over the years, and now provide, in part, high coding efficiency and support for higher resolutions.
  • Recent standards such as HEVC and H. 265 are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized.
  • Each inter-predicted PU has motion parameters for one or two reference picture lists.
  • motion parameters include a motion vector and a reference picture index.
  • the usage of one of the two reference picture lists may also be signaled using inter_pred_idc.
  • motion vectors may be explicitly coded as deltas relative to predictors.
  • a merge mode is specified whereby the motion parameters for the current PU are obtained from neighboring PUs, including spatial and temporal candidates.
  • the merge mode can be applied to any inter-predicted PU, not only for skip mode.
  • the alternative to merge mode is the explicit transmission of motion parameters, where motion vectors (to be more precise, motion vector differences (MVD) compared to a motion vector predictor) , corresponding reference picture index for each reference picture list and reference picture list usage are signaled explicitly per each PU.
  • MDV motion vector differences
  • AMVP advanced motion vector prediction
  • the PU When signaling indicates that one of the two reference picture lists is to be used, the PU is produced from one block of samples. This is referred to as ‘uni-prediction’ . Uni-prediction is available both for P-slices and B-slices.
  • Bi-prediction When signaling indicates that both of the reference picture lists are to be used, the PU is produced from two blocks of samples. This is referred to as ‘bi-prediction’ . Bi-prediction is available for B-slices only.
  • inter prediction is used to denote prediction derived from data elements (e.g., sample values or motion vectors) of reference pictures other than the current decoded picture.
  • data elements e.g., sample values or motion vectors
  • a picture can be predicted from multiple reference pictures.
  • the reference pictures that are used for inter prediction are organized in one or more reference picture lists.
  • the reference index identifies which of the reference pictures in the list should be used for creating the prediction signal.
  • a single reference picture list, List 0 is used for a P slice and two reference picture lists, List 0 and List 1 are used for B slices. It should be noted reference pictures included in List 0/1 could be from past and future pictures in terms of capturing/display order.
  • Step 1 Initial candidates derivation
  • Step 1.1 Spatial candidates derivation
  • Step 1.2 Redundancy check for spatial candidates
  • Step 1.3 Temporal candidates derivation
  • Step 2 Additional candidates insertion
  • Step 2.1 Creation of bi-predictive candidates
  • Step 2.2 Insertion of zero motion candidates
  • FIG. 1 shows an example of constructing a merge candidate list based on the sequence of steps summarized above.
  • For spatial merge candidate derivation a maximum of four merge candidates are selected among candidates that are located in five different positions.
  • temporal merge candidate derivation a maximum of one merge candidate is selected among two candidates. Since constant number of candidates for each PU is assumed at decoder, additional candidates are generated when the number of candidates does not reach to maximum number of merge candidate (MaxNumMergeCand) which is signaled in slice header. Since the number of candidates is constant, index of best merge candidate is encoded using truncated unary binarization (TU) . If the size of CU is equal to 8, all the PUs of the current CU share a single merge candidate list, which is identical to the merge candidate list of the 2N ⁇ 2N prediction unit.
  • TU truncated unary binarization
  • a maximum of four merge candidates are selected among candidates located in the positions depicted in FIG. 2.
  • the order of derivation is A 1 , B 1 , B 0 , A 0 and B 2 .
  • Position B 2 is considered only when any PU of position A 1 , B 1 , B 0 , A 0 is not available (e.g. because it belongs to another slice or tile) or is intra coded.
  • candidate at position A 1 is added, the addition of the remaining candidates is subject to a redundancy check which ensures that candidates with same motion information are excluded from the list so that coding efficiency is improved.
  • FIG. 4A and 4B depict the second PU for the case of N ⁇ 2N and 2N ⁇ N, respectively.
  • candidate at position A 1 is not considered for list construction.
  • adding this candidate may lead to two prediction units having the same motion information, which is redundant to just have one PU in a coding unit.
  • position B 1 is not considered when the current PU is partitioned as 2N ⁇ N.
  • a scaled motion vector is derived based on co-located PU belonging to the picture which has the smallest POC difference with current picture within the given reference picture list.
  • the reference picture list to be used for derivation of the co-located PU is explicitly signaled in the slice header.
  • FIG. 5 shows an example of the derivation of the scaled motion vector for a temporal merge candidate (as the dotted line) , which is scaled from the motion vector of the co-located PU using the POC distances, tb and td, where tb is defined to be the POC difference between the reference picture of the current picture and the current picture and td is defined to be the POC difference between the reference picture of the co-located picture and the co-located picture.
  • the reference picture index of temporal merge candidate is set equal to zero. For a B-slice, two motion vectors, one is for reference picture list 0 and the other is for reference picture list 1, are obtained and combined to make the bi-predictive merge candidate.
  • the position for the temporal candidate is selected between candidates C 0 and C 1 , as depicted in FIG. 6. If PU at position C 0 is not available, is intra coded, or is outside of the current CTU, position C 1 is used. Otherwise, position C 0 is used in the derivation of the temporal merge candidate.
  • merge candidates there are two additional types of merge candidates: combined bi-predictive merge candidate and zero merge candidate.
  • Combined bi-predictive merge candidates are generated by utilizing spatio-temporal merge candidates.
  • Combined bi-predictive merge candidate is used for B-Slice only.
  • the combined bi-predictive candidates are generated by combining the first reference picture list motion parameters of an initial candidate with the second reference picture list motion parameters of another. If these two tuples provide different motion hypotheses, they will form a new bi-predictive candidate.
  • FIG. 7 shows an example of this process, wherein two candidates in the original list (710, on the left) , which have mvL0 and refIdxL0 or mvL1 and refIdxL1, are used to create a combined bi-predictive merge candidate added to the final list (720, on the right) . There are numerous rules regarding the combinations that are considered to generate these additional merge candidates.
  • Zero motion candidates are inserted to fill the remaining entries in the merge candidates list and therefore hit the MaxNumMergeCand capacity. These candidates have zero spatial displacement and a reference picture index which starts from zero and increases every time a new zero motion candidate is added to the list. The number of reference frames used by these candidates is one and two for uni-and bi-directional prediction, respectively. In some embodiments, no redundancy check is performed on these candidates.
  • AMVP advanced motion vector prediction
  • AMVP exploits spatio-temporal correlation of motion vector with neighboring PUs, which is used for explicit transmission of motion parameters. It constructs a motion vector candidate list by firstly checking availability of left, above temporally neighboring PU positions, removing redundant candidates and adding zero vector to make the candidate list to be constant length. Then, the encoder can select the best predictor from the candidate list and transmit the corresponding index indicating the chosen candidate. Similarly with merge index signaling, the index of the best motion vector candidate is encoded using truncated unary. The maximum value to be encoded in this case is 2 (see FIG. 8) . In the following sections, details about derivation process of motion vector prediction candidate are provided.
  • FIG. 8 summarizes derivation process for motion vector prediction candidate, and may be implemented for each reference picture list with refidx as an input.
  • motion vector candidate two types are considered: spatial motion vector candidate and temporal motion vector candidate.
  • spatial motion vector candidate derivation two motion vector candidates are eventually derived based on motion vectors of each PU located in five different positions as previously shown in FIG. 2.
  • one motion vector candidate is selected from two candidates, which are derived based on two different co-located positions. After the first list of spatio-temporal candidates is made, duplicated motion vector candidates in the list are removed. If the number of potential candidates is larger than two, motion vector candidates whose reference picture index within the associated reference picture list is larger than 1 are removed from the list. If the number of spatio-temporal motion vector candidates is smaller than two, additional zero motion vector candidates is added to the list.
  • a maximum of two candidates are considered among five potential candidates, which are derived from PUs located in positions as previously shown in FIG. 2, those positions being the same as those of motion merge.
  • the order of derivation for the left side of the current PU is defined as A 0 , A 1 , and scaled A 0 , scaled A 1 .
  • the order of derivation for the above side of the current PU is defined as B 0 , B 1 , B 2 , scaled B 0 , scaled B 1 , scaled B 2 .
  • the no-spatial-scaling cases are checked first followed by the cases that allow spatial scaling. Spatial scaling is considered when the POC is different between the reference picture of the neighboring PU and that of the current PU regardless of reference picture list. If all PUs of left candidates are not available or are intra coded, scaling for the above motion vector is allowed to help parallel derivation of left and above MV candidates. Otherwise, spatial scaling is not allowed for the above motion vector.
  • the motion vector of the neighboring PU is scaled in a similar manner as for temporal scaling.
  • One difference is that the reference picture list and index of current PU is given as input; the actual scaling process is the same as that of temporal scaling.
  • the reference picture index is signaled to the decoder.
  • JEM Joint Exploration Model
  • affine prediction alternative temporal motion vector prediction
  • STMVP spatial-temporal motion vector prediction
  • BIO bi-directional optical flow
  • FRUC Frame-Rate Up Conversion
  • LAMVR Locally Adaptive Motion Vector Resolution
  • OBMC Overlapped Block Motion Compensation
  • LIC Local Illumination Compensation
  • DMVR Decoder-side Motion Vector Refinement
  • each CU can have at most one set of motion parameters for each prediction direction.
  • two sub-CU level motion vector prediction methods are considered in the encoder by splitting a large CU into sub-CUs and deriving motion information for all the sub-CUs of the large CU.
  • Alternative temporal motion vector prediction (ATMVP) method allows each CU to fetch multiple sets of motion information from multiple blocks smaller than the current CU in the collocated reference picture.
  • STMVP spatial-temporal motion vector prediction
  • motion vectors of the sub-CUs are derived recursively by using the temporal motion vector predictor and spatial neighbouring motion vector.
  • the motion compression for the reference frames may be disabled.
  • the temporal motion vector prediction (TMVP) method is modified by fetching multiple sets of motion information (including motion vectors and reference indices) from blocks smaller than the current CU.
  • FIG. 10 shows an example of ATMVP motion prediction process for a CU 1000.
  • the ATMVP method predicts the motion vectors of the sub-CUs 1001 within a CU 1000 in two steps.
  • the first step is to identify the corresponding block 1051 in a reference picture 1050 with a temporal vector.
  • the reference picture 1050 is also referred to as the motion source picture.
  • the second step is to split the current CU 1000 into sub-CUs 1001 and obtain the motion vectors as well as the reference indices of each sub-CU from the block corresponding to each sub-CU.
  • a reference picture 1050 and the corresponding block is determined by the motion information of the spatial neighboring blocks of the current CU 1000.
  • the first merge candidate in the merge candidate list of the current CU 1000 is used.
  • the first available motion vector as well as its associated reference index are set to be the temporal vector and the index to the motion source picture. This way, the corresponding block may be more accurately identified, compared with TMVP, wherein the corresponding block (sometimes called collocated block) is always in a bottom-right or center position relative to the current CU.
  • a corresponding block of the sub-CU 1051 is identified by the temporal vector in the motion source picture 1050, by adding to the coordinate of the current CU the temporal vector.
  • the motion information of its corresponding block e.g., the smallest motion grid that covers the center sample
  • the motion information of a corresponding N ⁇ N block is identified, it is converted to the motion vectors and reference indices of the current sub-CU, in the same way as TMVP of HEVC, wherein motion scaling and other procedures apply.
  • the decoder checks whether the low-delay condition (e.g.
  • motion vector MVx e.g., the motion vector corresponding to reference picture list X
  • motion vector MVy e.g., with X being equal to 0 or 1 and Y being equal to 1-X
  • FIG. 11 shows an example of one CU with four sub-blocks and neighboring blocks.
  • an 8 ⁇ 8 CU 1100 that includes four 4 ⁇ 4 sub-CUs A (1101) , B (1102) , C (1103) , and D (1104) .
  • the neighboring 4 ⁇ 4 blocks in the current frame are labelled as a (1111) , b (1112) , c (1113) , and d (1114) .
  • the motion derivation for sub-CU A starts by identifying its two spatial neighbors.
  • the first neighbor is the N ⁇ N block above sub-CU A 1101 (block c 1113) . If this block c (1113) is not available or is intra coded the other N ⁇ N blocks above sub-CU A (1101) are checked (from left to right, starting at block c 1113) .
  • the second neighbor is a block to the left of the sub-CU A 1101 (block b 1112) . If block b (1112) is not available or is intra coded other blocks to the left of sub-CU A 1101 are checked (from top to bottom, staring at block b 1112) .
  • the motion information obtained from the neighboring blocks for each list is scaled to the first reference frame for a given list.
  • temporal motion vector predictor (TMVP) of sub-block A 1101 is derived by following the same procedure of TMVP derivation as specified in HEVC.
  • the motion information of the collocated block at block D 1104 is fetched and scaled accordingly.
  • all available motion vectors are averaged separately for each reference list. The averaged motion vector is assigned as the motion vector of the current sub-CU.
  • the sub-CU modes are enabled as additional merge candidates and there is no additional syntax element required to signal the modes.
  • Two additional merge candidates are added to merge candidates list of each CU to represent the ATMVP mode and STMVP mode. In other embodiments, up to seven merge candidates may be used, if the sequence parameter set indicates that ATMVP and STMVP are enabled.
  • the encoding logic of the additional merge candidates is the same as for the merge candidates in the HM, which means, for each CU in P or B slice, two more RD checks may be needed for the two additional merge candidates.
  • all bins of the merge index are context coded by CABAC (Context-based Adaptive Binary Arithmetic Coding) .
  • CABAC Context-based Adaptive Binary Arithmetic Coding
  • LIC Local Illumination Compensation
  • CU inter-mode coded coding unit
  • a least square error method is employed to derive the parameters a and b by using the neighbouring samples of the current CU and their corresponding reference samples. More specifically, as illustrated in FIG. 12, the subsampled (2: 1 subsampling) neighbouring samples of the CU and the corresponding samples (identified by motion information of the current CU or sub-CU) in the reference picture are used.
  • the IC parameters are derived and applied for each prediction direction separately. For each prediction direction, a first prediction block is generated with the decoded motion information, then a temporary prediction block is obtained via applying the LIC model. Afterwards, the two temporary prediction blocks are utilized to derive the final prediction block.
  • the LIC flag is copied from neighbouring blocks, in a way similar to motion information copy in merge mode; otherwise, an LIC flag is signalled for the CU to indicate whether LIC applies or not.
  • LIC When LIC is enabled for a picture, additional CU level RD check is needed to determine whether LIC is applied or not for a CU.
  • MR-SAD mean-removed sum of absolute difference
  • MR-SATD mean-removed sum of absolute Hadamard-transformed difference
  • LIC is disabled for the entire picture when there is no obvious illumination change between a current picture and its reference pictures.
  • histograms of a current picture and every reference picture of the current picture are calculated at the encoder. If the histogram difference between the current picture and every reference picture of the current picture is smaller than a given threshold, LIC is disabled for the current picture; otherwise, LIC is enabled for the current picture.
  • AMVR Adaptive motion vector difference resolution
  • TPM Triangular prediction mode
  • GPI Generalized Bi-Prediction
  • BIO Bi-directional Optical flow
  • QuadTree/BinaryTree/MulitpleTree (QT/BT/TT) structure is adopted to divide a picture into square or rectangle blocks.
  • QT/BT/TT separate tree (a.k.a. Dual coding tree) is also adopted in VVC for I-frames. With separate tree, the coding block structure are signaled separately for the luma and chroma components.
  • motion vector differences (between the motion vector and predicted motion vector of a PU) are signalled in units of quarter luma samples when use_integer_mv_flag is equal to 0 in the slice header.
  • LAMVR locally adaptive motion vector resolution
  • MVD can be coded in units of quarter luma samples, integer luma samples or four luma samples.
  • the MVD resolution is controlled at the coding unit (CU) level, and MVD resolution flags are conditionally signalled for each CU that has at least one non-zero MVD components.
  • a first flag is signalled to indicate whether quarter luma sample MV precision is used in the CU.
  • the first flag (equal to 1) indicates that quarter luma sample MV precision is not used, another flag is signalled to indicate whether integer luma sample MV precision or four luma sample MV precision is used.
  • the quarter luma sample MV resolution is used for the CU.
  • the MVPs in the AMVP candidate list for the CU are rounded to the corresponding precision.
  • HEVC motion compensation prediction
  • MCP motion compensation prediction
  • the camera and objects may have many kinds of motion, e.g. zoom in/out, rotation, perspective motions, and/or other irregular motions.
  • a simplified affine transform motion compensation prediction is applied with 4-parameter affine model and 6-parameter affine model.
  • FIGS. 13A and 13B the affine motion field of the block is described by two (in the 4-parameter affine model that uses the variables a, b, e and f) or three (in the 6-parameter affine model that uses the variables a, b, c, d, e and f) control point motion vectors, respectively.
  • the motion vector field (MVF) of a block is described by the following equation with the 4-parameter affine model and 6-parameter affine model respectively:
  • (mv h 0 , mv h 0 ) is motion vector of the top-left corner control point (CP)
  • (mv h 1 , mv h 1 ) is motion vector of the top-right corner control point
  • (mv h 2 , mv h 2 ) is motion vector of the bottom-left corner control point
  • (x, y) represents the coordinate of a representative point relative to the top-left sample within current block.
  • the CP motion vectors may be signaled (like in the affine AMVP mode) or derived on-the-fly (like in the affine merge mode) .
  • w and h are the width and height of the current block.
  • the division is implemented by right-shift with a rounding operation.
  • the representative point is defined to be the center position of a sub-block, e.g., when the coordinate of the left-top corner of a sub-block relative to the top-left sample within current block is (xs, ys) , the coordinate of the representative point is defined to be (xs+2, ys+2) .
  • the representative point is utilized to derive the motion vector for the whole sub-block.
  • FIG. 14 shows an example of affine MVF per sub-block for a block 1300, wherein in order to further simplify the motion compensation prediction, sub-block based affine transform prediction is applied.
  • the motion vector of the center sample of each sub-block can be calculated according to Eqs. (1) and (2) , and rounded to the motion vector fraction accuracy (e.g., 1/16 in JEM) .
  • the motion compensation interpolation filters can be applied to generate the prediction of each sub-block with derived motion vector.
  • the interpolation filters for 1/16-pel are introduced by the affine mode.
  • the high accuracy motion vector of each sub-block is rounded and saved as the same accuracy as the normal motion vector.
  • AFFINE_INTER Similar to the translational motion model, there are also two modes for signaling the side information due affine prediction. They are AFFINE_INTER and AFFINE_MERGE modes.
  • AF_INTER mode can be applied.
  • An affine flag in CU level is signaled in the bitstream to indicate whether AF_INTER mode is used.
  • an affine AMVP candidate list is constructed with three types of affine motion predictors in the following order, wherein each candidate includes the estimated CPMVs of the current block.
  • the differences of the best CPMVs found at the encoder side (such as mv 0 mv 1 mv 2 in FIG. 17) and the estimated CPMVs are signalled.
  • the index of affine AMVP candidate from which the estimated CPMVs are derived is further signalled.
  • the checking order is similar to that of spatial MVPs in HEVC AMVP list construction.
  • a left inherited affine motion predictor is derived from the first block in ⁇ A1, A0 ⁇ that is affine coded and has the same reference picture as in current block.
  • an above inherited affine motion predictor is derived from the first block in ⁇ B1, B0, B2 ⁇ that is affine coded and has the same reference picture as in current block.
  • the five blocks A1, A0, B1, B0, B2 are depicted in FIG. 16.
  • the CPMVs of the coding unit covering the neighboring block are used to derive predictors of CPMVs of current block. For example, if A1 is coded with non-affine mode and A0 is coded with 4-parameter affine mode, the left inherited affine MV predictor will be derived from A0. In this case, the CPMVs of a CU covering A0, as denoted by for the top-left CPMV and for the top-right CPMV in FIG.
  • top-left with coordinate (x0, y0)
  • top-right with coordinate (x1, y1)
  • bottom-right positions with coordinate (x2, y2)
  • a constructed affine motion predictor consists of control-point motion vectors (CPMVs) that are derived from neighboring inter coded blocks, as shown in FIG. 17, that have the same reference picture.
  • CPMVs control-point motion vectors
  • the number of CPMVs is 2, otherwise if the current affine motion model is 6-parameter affine, the number of CPMVs is 3.
  • the top-left CPMV is derived by the MV at the first block in the group ⁇ A, B, C ⁇ that is inter coded and has the same reference picture as in current block.
  • the top-right CPMV is derived by the MV at the first block in the group ⁇ D, E ⁇ that is inter coded and has the same reference picture as in current block.
  • the bottom-left CPMV is derived by the MV at the first block in the group ⁇ F, G ⁇ that is inter coded and has the same reference picture as in current block.
  • a constructed affine motion predictor is inserted into the candidate list only if both and are founded, that is, and are used as the estimated CPMVs for top-left (with coordinate (x0, y0) ) , top-right (with coordinate (x1, y1) ) positions of current block.
  • a constructed affine motion predictor is inserted into the candidate list only if and are all founded, that is, and are used as the estimated CPMVs for top-left (with coordinate (x0, y0) ) , top-right (with coordinate (x1, y1) ) and bottom-right (with coordinate (x2, y2) ) positions of current block.
  • the MV may be derived as follows, e.g., it predicts mvd 1 and mvd 2 from mvd 0 .
  • the addition of two motion vectors e.g., mvA (xA, yA) and mvB (xB, yB)
  • mvA + mvB implies that the two components of newMV are set to (xA +xB) and (yA + yB) , respectively.
  • a CU When a CU is applied in AF_MERGE mode, it gets the first block coded with an affine mode from the valid neighboring reconstructed blocks. And the selection order for the candidate block is from left, above, above right, left bottom to above left as shown in FIG. 18A (denoted by A, B, C, D, E in order) . For example, if the neighbour left bottom block is coded in affine mode as denoted by A0 in FIG. 18B, the Control Point (CP) motion vectors mv 0 N , mv 1 N and mv 2 N of the top left corner, above right corner and left bottom corner of the neighbouring CU/PU which contains the block A are fetched.
  • CP Control Point
  • the motion vector mv 0 C , mv 1 C and mv 2 C (which is only used for the 6-parameter affine model) of the top left corner/top right/bottom left on the current CU/PU is calculated based on mv 0 N , mv 1 N and mv 2 N .
  • sub-block e.g. 4 ⁇ 4 block in VTM located at the top-left corner stores mv0
  • the sub- block located at the top-right corner stores mv1 if the current block is affine coded.
  • the sub-block located at the bottom-left corner stores mv2; otherwise (with the 4-parameter affine model) , LB stores mv2’ .
  • Other sub-blocks stores the MVs used for MC.
  • the MVF of the current CU can be generated.
  • an affine flag can be signaled in the bitstream when there is at least one neighboring block is coded in affine mode.
  • an affine merge candidate list may be constructed with following steps:
  • Inherited affine candidate means that the candidate is derived from the affine motion model of its valid neighbor affine coded block.
  • the maximum two inherited affine candidates are derived from affine motion model of the neighboring blocks and inserted into the candidate list.
  • the scan order is ⁇ A0, A1 ⁇ ; for the above predictor, the scan order is ⁇ B0, B1, B2 ⁇ .
  • Constructed affine candidate means the candidate is constructed by combining the neighbor motion information of each control point.
  • T is temporal position for predicting CP4.
  • the coordinates of CP1, CP2, CP3 and CP4 is (0, 0) , (W, 0) , (H, 0) and (W, H) , respectively, where W and H are the width and height of current block.
  • the motion information of each control point is obtained according to the following priority order:
  • the checking priority is B2 ⁇ B3 ⁇ A2.
  • B2 is used if it is available. Otherwise, if B2 is available, B3 is used. If both B2 and B3 are unavailable, A2 is used. If all the three candidates are unavailable, the motion information of CP1 cannot be obtained.
  • the checking priority is B1 ⁇ B0.
  • the checking priority is A1 ⁇ A0.
  • Motion information of three control points are needed to construct a 6-parameter affine candidate.
  • the three control points can be selected from one of the following four combinations ( ⁇ CP1, CP2, CP4 ⁇ , ⁇ CP1, CP2, CP3 ⁇ , ⁇ CP2, CP3, CP4 ⁇ , ⁇ CP1, CP3, CP4 ⁇ ) .
  • Combinations ⁇ CP1, CP2, CP3 ⁇ , ⁇ CP2, CP3, CP4 ⁇ , ⁇ CP1, CP3, CP4 ⁇ will be converted to a 6-parameter motion model represented by top-left, top-right and bottom-left control points.
  • Motion information of two control points are needed to construct a 4-parameter affine candidate.
  • the two control points can be selected from one of the following six combinations ( ⁇ CP1, CP4 ⁇ , ⁇ CP2, CP3 ⁇ , ⁇ CP1, CP2 ⁇ , ⁇ CP2, CP4 ⁇ , ⁇ CP1, CP3 ⁇ , ⁇ CP3, CP4 ⁇ ) .
  • Combinations ⁇ CP1, CP4 ⁇ , ⁇ CP2, CP3 ⁇ , ⁇ CP2, CP4 ⁇ , ⁇ CP1, CP3 ⁇ , ⁇ CP3, CP4 ⁇ will be converted to a 4-parameter motion model represented by top-left and top-right control points.
  • reference index X (X being 0 or 1) of a combination
  • the reference index with highest usage ratio in the control points is selected as the reference index of list X, and motion vectors point to difference reference picture will be scaled.
  • full pruning process is performed to check whether same candidate has been inserted into the list. If a same candidate exists, the derived candidate is discarded.
  • UMVE ultimate motion vector expression
  • MMVD ultimate motion vector expression
  • UMVE re-uses merge candidate as same as those included in the regular merge candidate list in VVC.
  • a base candidate can be selected, and is further expanded by the proposed motion vector expression method.
  • UMVE provides a new motion vector difference (MVD) representation method, in which a starting point, a motion magnitude and a motion direction are used to represent a MVD.
  • MVD motion vector difference
  • This proposed technique uses a merge candidate list as it is. But only candidates which are default merge type (MRG_TYPE_DEFAULT_N) are considered for UMVE’s expansion.
  • Base candidate index defines the starting point.
  • Base candidate index indicates the best candidate among candidates in the list as follows.
  • Base candidate IDX is not signaled.
  • Distance index is motion magnitude information.
  • Distance index indicates the pre-defined distance from the starting point information. Pre-defined distance is as follows:
  • Direction index represents the direction of the MVD relative to the starting point.
  • the direction index can represent of the four directions as shown below.
  • the UMVE flag is signaled right after sending a skip flag or merge flag. If skip or merge flag is true, UMVE flag is parsed. If UMVE flage is equal to 1, UMVE syntaxes are parsed. But, if not 1, AFFINE flag is parsed. If AFFINE flag is equal to 1, that is AFFINE mode, But, if not 1, skip/merge index is parsed for VTM’s skip/merge mode.
  • either the first or the second merge candidate in the merge candidate list could be selected as the base candidate.
  • bi-prediction operation for the prediction of one block region, two prediction blocks, formed using a motion vector (MV) of list0 and a MV of list1, respectively, are combined to form a single prediction signal.
  • MV motion vector
  • DMVR decoder-side motion vector refinement
  • the motion vectors are refined by a bilateral template matching process.
  • the bilateral template matching applied in the decoder to perform a distortion-based search between a bilateral template and the reconstruction samples in the reference pictures in order to obtain a refined MV without transmission of additional motion information.
  • An example is depicted in FIG. 22.
  • the bilateral template is generated as the weighted combination (i.e. average) of the two prediction blocks, from the initial MV0 of list0 and MV1 of list1, respectively, as shown in FIG. 22.
  • the template matching operation consists of calculating cost measures between the generated template and the sample region (around the initial prediction block) in the reference picture. For each of the two reference pictures, the MV that yields the minimum template cost is considered as the updated MV of that list to replace the original one.
  • the nine MV candidates are searched for each list.
  • the nine MV candidates include the original MV and 8 surrounding MVs with one luma sample offset to the original MV in either the horizontal or vertical direction, or both.
  • the two new MVs i.e., MV0′and MV1′as shown in FIG. 22, are used for generating the final bi-prediction results.
  • a sum of absolute differences (SAD) is used as the cost measure.
  • SAD sum of absolute differences
  • JVET-M0147 proposed several changes to the design in JEM. More specifically, the adopted DMVR design to VTM-4.0 (to be released soon) has the following main features:
  • JVET-L0100 multi-hypothesis prediction is proposed, wherein combined intra and inter prediction is one way to generate multiple hypotheses.
  • multi-hypothesis prediction When the multi-hypothesis prediction is applied to improve intra mode, multi-hypothesis prediction combines one intra prediction and one merge indexed prediction.
  • a merge CU In a merge CU, one flag is signaled for merge mode to select an intra mode from an intra candidate list when the flag is true.
  • the intra candidate list is derived from 4 intra prediction modes including DC, planar, horizontal, and vertical modes, and the size of the intra candidate list can be 3 or 4 depending on the block shape.
  • horizontal mode is exclusive of the intra mode list and when the CU height is larger than the double of CU width, vertical mode is removed from the intra mode list.
  • One intra prediction mode selected by the intra mode index and one merge indexed prediction selected by the merge index are combined using weighted average.
  • DM is always applied without extra signaling.
  • the weights for combining predictions are described as follow. When DC or planar mode is selected, or the CB width or height is smaller than 4, equal weights are applied. For those CBs with CB width and height larger than or equal to 4, when horizontal/vertical mode is selected, one CB is first vertically/horizontally split into four equal-area regions.
  • (w_intra 1 , w_inter 1 ) is for the region closest to the reference samples and (w_intra 4 , w_inter 4 ) is for the region farthest away from the reference samples.
  • the combined prediction can be calculated by summing up the two weighted predictions and right-shifting 3 bits.
  • the intra prediction mode for the intra hypothesis of predictors can be saved for reference of the following neighboring CUs.
  • in-loop reshaping is to convert the original (in the first domain) signal (prediction/reconstruction signal) to a second domain (reshaped domain) .
  • the in-loop luma reshaper is implemented as a pair of look-up tables (LUTs) , but only one of the two LUTs need to be signaled as the other one can be computed from the signaled LUT.
  • Each LUT is a one-dimensional, 10-bit, 1024-entry mapping table (1D-LUT) .
  • the other LUT is an inverse LUT, InvLUT, that maps altered code values Y r to ( represents the reconstruction values of Y i . ) .
  • piece-wise linear is implemented in the following way:
  • m is scalar
  • c is an offset
  • FP_PREC is a constant value to specify the precision.
  • the PWL model is used to precompute the 1024-entry FwdLUT and InvLUT mapping tables; but the PWL model also allows implementations to calculate identical mapping values on-the-fly without pre-computing the LUTs.
  • Test 2 of the in-loop luma reshaping (i.e., CE12-2 in the proposal) provides a lower complexity pipeline that also eliminates decoding latency for block-wise intra prediction in inter slice reconstruction. Intra prediction is performed in reshaped domain for both inter and intra slices.
  • Intra prediction is always performed in reshaped domain regardless of slice type. With such arrangement, intra prediction can start immediately after previous TU reconstruction is done. Such arrangement can also provide a unified process for intra mode instead of being slice dependent.
  • FIG. 23 shows the block diagram of the CE12-2 decoding process based on mode.
  • CE12-2 also tests 16-piece piece-wise linear (PWL) models for luma and chroma residue scaling instead of the 32-piece PWL models of CE12-1.
  • PWL piece-wise linear
  • Inter slice reconstruction with in-loop luma reshaper in CE12-2 (light-green shaded blocks indicate signal in reshaped domain: luma residue; intra luma predicted; and intra luma reconstructed) .
  • Luma-dependent chroma residue scaling is a multiplicative process implemented with fixed-point integer operation. Chroma residue scaling compensates for luma signal interaction with the chroma signal. Chroma residue scaling is applied at the TU level. More specifically, the following applies:
  • the reconstructed luma is averaged.
  • the prediction luma is averaged.
  • the average is used to identify an index in a PWL model.
  • the index identifies a scaling factor cScaleInv.
  • the chroma residual is multiplied by that number.
  • chroma scaling factor is calculated from forward-mapped predicted luma values rather than reconstructed luma values.
  • the parameters are (currently) sent in the tile group header (similar to ALF) . These reportedly take 40-100 bits.
  • a tile group can be another way to represent a picture. The following table is based on version 9 of JVET-L1001. The added syntax is highlighted in italics.
  • sps_reshaper_enabled_flag 1 specifies that reshaper is used in the coded video sequence (CVS) .
  • sps_reshaper_enabled_flag 0 specifies that reshaper is not used in the CVS.
  • tile_group_reshaper_model_present_flag 1 specifies tile_group_reshaper_model () is present in tile group header.
  • tile_group_reshaper_model_present_flag 0 specifies tile_group_reshaper_model () is not present in tile group header.
  • tile_group_reshaper_model_present_flag not present, it is inferred to be equal to 0.
  • tile_group_reshaper_enabled_flag 1 specifies that reshaper is enabled for the current tile group.
  • tile_group_reshaper_enabled_flag 0 specifies that reshaper is not enabled for the current tile group.
  • tile_group_reshaper_enable_flag not present, it is inferred to be equal to 0.
  • tile_group_reshaper_chroma_residual_scale_flag 1 specifies that chroma residual scaling is enabled for the current tile group.
  • tile_group_reshaper_chroma_residual_scale_flag 0 specifies that chroma residual scaling is not enabled for the current tile group.
  • tile_group_reshaper_chroma_residual_scale_flag not present, it is inferred to be equal to 0.
  • reshape_model_min_bin_idx specifies the minimum bin (or piece) index to be used in the reshaper construction process.
  • the value of reshape_model_min_bin_idx shall be in the range of 0 to MaxBinIdx, inclusive.
  • the value of MaxBinIdx shall be equal to 15.
  • reshape_model_delta_max_bin_idx specifies the maximum allowed bin (or piece) index MaxBinIdx minus the maximum bin index to be used in the reshaper construction process.
  • the value of reshape_model_max_bin_idx is set equal to MaxBinIdx –reshape_model_delta_max_bin_idx.
  • reshaper_model_bin_delta_abs_cw_prec_minus1 plus 1 specifies the number of bits used for the representation of the syntax reshape_model_bin_delta_abs_CW [i] .
  • reshape_model_bin_delta_abs_CW [i] specifies the absolute delta codeword value for the ith bin.
  • reshaper_model_bin_delta_sign_CW_flag [i] specifies the sign of reshape_model_bin_delta_abs_CW [i] as follows:
  • the variable OrgCW is set equal to (1 ⁇ BitDepth Y ) / (MaxBinIdx+1) .
  • RspCW [i] shall be in the range of 32 to 2*OrgCW-1 if the value of BitDepth Y is equal to 10.
  • InputPivot [i] i*OrgCW
  • variable ReshapePivot [i] with i in the range of 0 to MaxBinIdx+1, inclusive are derived as follows:
  • ChromaScaleCoef [i] with i in the range of 0 to MaxBinIdx, inclusive, are derived as follows:
  • ChromaResidualScaleLut [64] ⁇ 16384, 16384, 16384, 16384, 16384, 16384, 8192, 8192, 8192, 8192, 8192, 5461, 5461, 5461, 5461, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 3296, 3277, 3277, 3277, 2731, 2731, 2731, 2731, 2341, 2341, 2341, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 2048, 1820, 1820, 1820, 1638, 1638, 1638, 1638, 1638, 1489, 1489, 1489, 1489, 1365, 1365, 1365, 1260, 1260, 1260, 1170, 1170, 1170, 1092, 1092, 1092, 1024, 1024, 1024 ⁇ ;
  • ChromaScaleCoef [i] (1 ⁇ shiftC)
  • ChromaScaleCoef [i] ChromaResidualScaleLut [RspCW [i] >>1]
  • each picture (or tile group) is firstly converted to the reshaped domain. And all the coding process is performed in the reshaped domain.
  • the neighboring block is in the reshaped domain;
  • the reference blocks (generated from the original domain from decoded picture buffer) are firstly converted to the reshaped domain. Then the residual is generated and coded to the bitstream.
  • samples in the reshaped domain are converted to the original domain, then deblocking filter and other filters are applied.
  • CPR current picture referencing, aka intra block copy, IBC
  • ⁇ Current block is coded as combined inter-intra mode (CIIP) and the forward reshaping is disabled for the intra prediction block
  • JVET-N0805 To avoid signaling the side information of ILR in tile group header, in JVET-N0805, it is proposed to signal them in APS. It includes the following main ideas:
  • LMCS refers to a luma mapping with chroma scaling (LMCS) techniques as defined in relevant video coding standards.
  • Each APS has only one type.
  • sps_lmcs_enabled_flag 1 specifies that luma mapping with chroma scaling is used in the coded video sequence (CVS) .
  • sps_lmcs_enabled_flag 0 specifies that luma mapping with chroma scaling is not used in the CVS.
  • sps_lmcs_default_model_present_flag 1 specifies that default lmcs data is present in this SPS.
  • sps_lmcs_default_model_flag 0 specifies that default lmcs data is not present in this SPS.
  • the value of sps_lmcs_default_model_present_flag is inferred to be equal to 0.
  • aps_params_type specifies the type of APS parameters carried in the APS as specified in the following table:
  • ALF APS An APS that has aps_params_type equal to ALF_APS.
  • LMCS APS An APS that has aps_params_type equal to LMCS_APS.
  • tile_group_alf_aps_id specifies the adaptation_parameter_set_id of the ALF APS that the tile group refers to.
  • the TemporalId of the ALF APS NAL unit having adaptation_parameter_set_id equal to tile_group_alf_aps_id shall be less than or equal to the TemporalId of the coded tile group NAL unit.
  • the multiple ALF APSs with the same value of adaptation_parameter_set_id shall have the same content.
  • tile_group_reshaper_model_present_flag 1 specifies tile_group_reshaper_model () is present in tile group header.
  • tile_group_reshaper_model_present_flag 0 specifies tile_group_reshaper_model () is not present in tile group header.
  • tile_group_reshaper_model_present_flag not present, it is inferred to be equal to 0.
  • tile_group_reshaper_model_present_flag is not present, it is inferred to be equal to 0. ]
  • tile_group_lmcs_enabled_flag 1 specifies that luma mapping with chroma scaling is enabled for the current tile group.
  • tile_group_lmcs_enabled_flag 0 specifies that luma mapping with chroma scaling is not enabled for the current tile group.
  • tile_group_lmcs_enable_flag not present, it is inferred to be equal to 0.
  • tile_group_lmcs_use_default_model_flag 1 specifies that luma mappin with chroma scaling operation for the tile group uses default lmcs model.
  • tile_group_lmcs_use_default_model_flag 0 specifies that that luma mappin with chroma scaling opertation for the tile group uses lmcs model in the LMCS APS referred to by tile_group_lmcs_aps_id.
  • tile_group_reshaper_use_default_model_flag is not present, it is inferred to be equal to 0.
  • tile_group_lmcs_aps_id specifies the adaptation_parameter_set_id of the LMCS APS that the tile group refers to.
  • the TemporalId of the LMCS APS NAL unit having adaptation_parameter_set_id equal to tile_group_lmcs_aps_id shall be less than or equal to the TemporalId of the coded tile group NAL unit.
  • the multiple LMCS APSs with the same value of adaptation_parameter_set_id shall have the same content.
  • tile_group_chroma_residual_scale_flag 1 specifies that chroma residual scaling is enabled for the current tile group.
  • tile_group_chroma_residual_scale_flag 0 specifies that chroma residual scaling is not enabled for the current tile group.
  • tile_group_chroma_residual_scale_flag not present, it is inferred to be equal to 0.
  • adaptation_parameter_set_type identifies the type of parameters in APS.
  • the value of adaptation_parameter_set_type shall be in the range of 0 to 1, inclusive. If adaptation_parameter_set_type is equal to 0, the ALF parameters are signaled. Otherwise, reshaper model parameters are signaled.
  • Virtual pipeline data units are defined as non-overlapping MxM-luma (L) /NxN-chroma (C) units in a picture.
  • L latitude
  • C NxN-chroma
  • VPDU size is roughly proportional to the buffer size in most pipeline stages, so it is said to be very important to keep the VPDU size small.
  • the VPDU size is set to the maximum transform block (TB) size.
  • Enlarging the maximum TB size from 32x32-L/16x16-C (as in HEVC) to 64x64-L/32x32-C (as in the current VVC) can bring coding gains, which results in 4X of VPDU size (64x64-L/32x32-C) expectedly in comparison with HEVC.
  • TT and BT splits can be applied to 128x128-L/64x64-C coding tree blocks (CTUs) recursively, which is said to lead to 16X of VPDU size (128x128-L/64x64-C) in comparison with HEVC.
  • the VPDU size is defined as 64x64-L/32x32-C.
  • An Adaptation Parameter Set (APS) is adopted in VVC to carry ALF parameters.
  • the tile group header contains an aps_id which is conditionally present when ALF is enabled.
  • the APS contains an aps_id and the ALF parameters.
  • a new NUT (NAL unit type, as in AVC and HEVC) value is assigned for APS (from JVET-M0132) .
  • aps_id 0 and sending the APS with each picture.
  • the range of APS ID values will be 0.. 31 and APSs can be shared across pictures (and can be different in different tile groups within a picture) .
  • the ID value should be fixed-length coded when present. ID values cannot be re-used with different content within the same picture.
  • diffusion filter is proposed, wherein the intra/inter prediction signal of the CU may be further modified by diffusion filters.
  • the Uniform Diffusion Filter is realized by convolving the prediction signal with a fixed mask that is either given as h I or as h IV , defined below. Besides the prediction signal itself, one line of reconstructed samples left and above of the block are used as an input for the filtered signal, where the use of these reconstructed samples can be avoided on inter blocks.
  • pred be the prediction signal on a given block obtained by intra or motion compensated prediction.
  • the prediction signal needs to be extended to a prediction signal pred ext .
  • This extended prediction can be formed in two ways:
  • one line of reconstructed samples left and above the block are added to the prediction signal and then the resulting signal is mirrored in all directions. Or only the prediction signal itself is mirrored in all directions.
  • the latter extension is used for inter blocks. In this case, only the prediction signal itself comprises the input for the extended prediction signal pred ext .
  • the filter mask h I is given as
  • h IV h I *h I *h I *h I .
  • Directional diffusion filter Instead of using signal adaptive diffusion filters, directional filters, a horizontal filter h hor and a vertical filter h ver , are used which still have a fixed mask. More precisely, the uniform diffusion filtering corresponding to the mask h I of the previous section is simply restricted to be either applied only along the vertical or along the horizontal direction.
  • the vertical filter is realized by applying the fixed filter mask
  • Bilateral filter is proposed in JVET-L0406, and it is always applied to luma blocks with non-zero transform coefficients and slice quantization parameter larger than 17. Therefore, there is no need to signal the usage of the bilateral filter.
  • Bilateral filter if applied, is performed on decoded samples right after the inverse transform.
  • the filter parameters i.e., weights are explicitly derived from the coded information.
  • the filtering process is defined as:
  • P 0, 0 is the intensity of the current sample and P′ 0, 0 is the modified intensity of the current sample, P k, 0 and W k are the intensity and weighting parameter for the k-th neighboring sample, respectively.
  • weight W k (x) associated with the k-th neighboring sample is defined as follows:
  • ⁇ d is dependent on the coded mode and coding block sizes.
  • the described filtering process is applied to intra-coded blocks, and inter-coded blocks when TU is further split, to enable parallel processing.
  • weights function resulted from Equation (2) are being adjusted by the ⁇ d parameter, tabulated in Table 4 as being dependent on coding mode and parameters of block partitioning (minimal size) .
  • Table 4 Value of ⁇ d for different block sizes and coding modes
  • P k, m and P 0, m represent the m-th sample value within the windows centered at P k, 0 and P 0, 0 , respectively.
  • the window size is set to 3 ⁇ 3.
  • An example of two windows covering P 2, 0 and P 0, 0 are depicted in FIG. 25.
  • JVET-K0068 in-loop filter in 1D Hadamard transform domain which is applied on CU level after reconstruction and has multiplication free implementation. Proposed filter is applied for all CU blocks that meet the predefined condition and filter parameters are derived from the coded information.
  • Proposed filtering is always applied to luma reconstructed blocks with non-zero transform coefficients, excluding 4x4 blocks and if slice quantization parameter is larger than 17.
  • the filter parameters are explicitly derived from the coded information.
  • Proposed filter, if applied, is performed on decoded samples right after inverse transform.
  • For each pixel from reconstructed block pixel processing comprises the following steps:
  • (i) is index of spectrum component in Hadamard spectrum
  • R (i) is spectrum component of reconstructed pixels corresponding to index
  • is filtering parameter deriving from codec quantization parameter QP using following equation:
  • A is the current pixel and ⁇ B, C, D ⁇ are surrounding pixels.
  • the scan pattern is adjusted ensuring all required pixels are within current CU.
  • ILR Interaction between ILR and DMVR (or other newly introduced coding tools) is unclear.
  • ILR is applied to the inter-prediction signal to convert the original signal to the reshaped domain and decoded residuals are in the reshaped domain.
  • DMVR also relies on the prediction signal to refine motion vectors for one block. Whether to apply DMVR in original domain or the reshaped domain is unclear.
  • ILR Interaction between ILR and screen content coding tools, e.g. palette, B-DPCM, IBC, transform skip, transquant-bypass, I-PCM modes, is not clear.
  • screen content coding tools e.g. palette, B-DPCM, IBC, transform skip, transquant-bypass, I-PCM modes
  • Luma-dependent chroma residue scaling is used in ILR. Therefore, additional delay (due to dependency between luma and chroma) is introduced which is not beneficial for hardware design.
  • VPDU The goal of VPDU is to guarantee completion of the processing of one 64x64 square region before starting the processing of other 64x64 square regions.
  • ILR there is no restriction on the usage of ILR which may cause violation of VPDU since chroma relies on the luma’s prediction signal.
  • Embodiments of the presently disclosed technology overcome the drawbacks of existing implementations, thereby providing video coding with higher coding efficiencies.
  • the methods of in-loop reshaping, based on the disclosed technology, may enhance both existing and future video coding standards, is elucidated in the following examples described for various implementations.
  • the examples of the disclosed technology provided below explain general concepts, and are not meant to be interpreted as limiting. In an example, unless explicitly indicated to the contrary, the various features described in these examples may be combined. It should be noted that some of the proposed technologies could be applied to existing candidate list construction process.
  • decoder side motion vector derivation includes methods like DMVR and FRUC which perform motion estimation to derive or refine the block/sub-block motion information, and BIO which performs sample-wise motion refinement.
  • DMVR decoder side motion vector derivation
  • BIO which performs sample-wise motion refinement.
  • Motion information refinement process in the DMVD technologies may depend on information in the reshaped domain.
  • the prediction blocks generated from reference pictures in the original domain may be firstly converted to the reshaped domain before being used for motion information refinement.
  • the cost calculations e.g., SAD, MR-SAD
  • gradient calculations are performed in the reshaped domain.
  • the reshaping process is disabled for prediction blocks generated with the refined motion information.
  • motion information refinement process in the DMVD technologies may depend on information in the original domain.
  • DMVD processes may be invoked with prediction blocks in the original domain.
  • the prediction blocks obtained with the refined motion information or the final prediction block may be further converted to the reshaped domain to generate the final reconstruction block.
  • the reshaping process is disabled for prediction blocks generated with the refined motion information.
  • the reshaped domain is utilized to derive LIC parameters.
  • the samples e.g., reference samples in reference pictures (via interpolation or not) as well as neighboring/non-adjacent samples of the reference samples (via interpolation or not)
  • the samples may be firstly converted to the reshaped domain before being used to derive LIC parameters.
  • the original domain is utilized to derive LIC parameters.
  • the spatially neighboring/non-adjacent samples of current block may be firstly converted to the original domain before being used to derive LIC parameters.
  • the reference blocks may be converted to the reshaped domain, and LIC model is applied to the reshaped reference blocks.
  • the reference blocks are kept in the original domain, and LIC model is applied to the reference blocks in the original domain.
  • LIC model is applied to the prediction blocks in the reshaped domain (e.g., prediction blocks are firstly converted to the reshaped domain via forward reshaping) .
  • LIC model is firstly applied to the prediction blocks in the original domain, afterwards, the final prediction block dependent on the LIC-applied prediction blocks may be then converted to the reshaped domain (e.g., via forward reshaping) and utilized to derive the reconstruction block.
  • the above methods may be extended to other coding tools which rely on both spatially neighboring/non-adjacent samples and reference samples in reference pictures.
  • filter is applied to the prediction block in the original domain.
  • reshaping is applied to the filtered prediction signal to generate the reconstruction block.
  • FIG. 27 An example of the process for inter-coding is depicted in FIG. 27.
  • filters are applied to the prediction signal in the reshape domain.
  • reshaping is firstly applied to the prediction block; afterwards, the filtering methods may be further applied to the reshaped prediction block to generate the reconstruction block.
  • Filter parameters may depend on whether ILR is enabled or not.
  • filters applied to reconstruction blocks e.g., bilateral filter (BF) , Hadamard transform domain filter (HF) .
  • filters are applied to the reconstruction blocks in the original domain instead of reshaped domain.
  • the reconstruction block in the reshaped domain is firstly converted to the original domain, afterwards, filters may be applied and utilized to generate the reconstruction block.
  • FIG. 29 An example of the process for inter-coding is depicted in FIG. 29.
  • filters may be applied to the reconstruction block in the reshaped domain.
  • filters may be applied firstly. Afterwards, the filtered reconstruction block may be then converted to the original domain.
  • FIG. 30 An example of the process for inter-coding is depicted in FIG. 30.
  • Filter parameters may depend on whether ILR is enabled or not.
  • the deblocking filter (DBF) process is performed in the reshaped domain.
  • inverse reshaping is not applied before DBF.
  • the DBF parameters may be different depending on whether reshaping is applied or not.
  • DBF process may depend on whether reshaping is enabled or not.
  • this method is applied when DBF is invoked in the original domain.
  • this method is applied when DBF is invoked in the reshaped domain.
  • the sample adaptive offset (SAO) filtering process is performed in the reshaped domain.
  • SAO sample adaptive offset
  • the adaptive loop filter (ALF) filtering process is performed in the reshaped domain.
  • ALF adaptive loop filter
  • inverse reshaping may be applied to the blocks after the DBF.
  • inverse reshaping may be applied to the blocks after the SAO.
  • inverse reshaping may be applied to the blocks after the ALF.
  • the above-mentioned filtering method may be replaced by other kinds of filtering methods.
  • the tile group header may contain an aps_id.
  • aps_id is conditionally present when ILR is enabled.
  • the ILR APS contains an aps_id and the ILR parameters.
  • a new NUT (NAL unit type, as in AVC and HEVC) value is assigned for the ILR APS.
  • ILR APSs may be shared across pictures (and can be different in different tile groups within a picture) .
  • the ID value may be fixed-length coded when present. Alternatively, it may be coded with exponential-Golomb (EG) coding, truncated unary or other binarization methods.
  • EG exponential-Golomb
  • ID values cannot be re-used with different content within the same picture.
  • the ILR APS and the APS for ALF parameters may share the same NUT.
  • ILR parameters may be carried with the current APS for ALF parameters.
  • the above methods which mention ILR APS may be replaced by the current APS.
  • the ILR parameters may be carried in the SPS/VPS/PPS/sequence header/picture header.
  • ILR parameters may include reshaper model information, usage of ILR method, chroma residual scaling factors.
  • ILR parameters may be signalled in one level (such as in APS) , and/or usage of ILR may be further signalled in a second level (such as tile group header) .
  • predictive coding may be applied to code ILR parameters with different APS indices.
  • one M-piece piece-wise linear (PWL) model and/or forward/backward look-up table may be utilized for one chroma component.
  • PWL piece-wise linear
  • two PWL models model and/or forward/backward look-up tables may be utilized for coding the two chroma components respectively.
  • chroma’s PWL model and/or forward/backward look-up table may be derived from luma’s PWL model model and/or forward/backward look-up tables.
  • chroma’s PWL model and/or forward/backward look-up table may be signaled in SPS/VPS/APS/PPS/sequence header/picture header/tile group header/tile header/CTU row/group of CTUs/regions.
  • how to signal the ILR parameters of one picture/tile group may depend on ILR parameters of previously coded pictures/tile groups.
  • the ILR parameters of one picture/tile group may be predicted by ILR parameters of one or multiple previously coded pictures/tile groups.
  • LCRS Luma-dependent chroma residue scaling
  • the LCRS may not be applied to the corresponding chroma blocks.
  • the LCRS may still be applied to the corresponding chroma blocks.
  • LCRS is not used when cross-component linear model (CCLM) modes are applied.
  • CCLM modes includes LM, LM-A and LM-L.
  • LCRS is not used when cross-component linear model (CCLM) modes are not applied.
  • CCLM modes includes LM, LM-A and LM-L.
  • VPDU e.g. 64x64
  • LCRS is not allowed.
  • LCRS is not allowed.
  • X is set to 8.
  • LCRS is not allowed.
  • X is set to 8.
  • LCRS LCRS is not allowed.
  • th1 and/or th2 is set to 8.
  • th1 and/or th2 is set to 128.
  • th1 and/or th2 is set to 64.
  • LCRS is not allowed.
  • th1 and/or th2 is set to 8.
  • ILR forward reshaping process and/or inverse reshaping process
  • one block is coded with only one non-zero coefficient located at certain positions (e.g., DC coefficient located at the top-left position of one block, a coefficient located at the top-left coding group within one block) the process of forward reshaping applied to prediction blocks and/or inverse reshaping applied to reconstruction blocks is skipped.
  • one non-zero coefficient located at certain positions e.g., DC coefficient located at the top-left position of one block, a coefficient located at the top-left coding group within one block
  • Each application region (e.g., with maximum size of 64x64) is considered as an individual CU for ILR operation.
  • sub-blocks may be with same width or/and height.
  • sub-blocks excluding that are at the right boundary or/and the bottom boundary may be with same width or/and height.
  • sub-blocks excluding that are at the left boundary or/and the top boundary may be with same width or/and height.
  • sub-blocks may be with same size.
  • sub-blocks excluding that are at the right boundary or/and the bottom boundary may be with same size.
  • sub-blocks excluding that are at the left boundary or/and the top boundary may be with same size.
  • ILR usage of ILR is only restricted to certain block dimensions.
  • ILR is disallowed.
  • ILR is not allowed.
  • X is set to 8.
  • X is set to 8.
  • th1 and/or th2 is set to 8.
  • th1 and/or th2 is set to 128.
  • th1 and/or th2 is set to 64.
  • th1 and/or th2 is set to 8.
  • the above methods may depend on the color format, such as 4: 4: 4/4: 2: 0.
  • Indication of enabling ILR may be coded under the condition of indications of presented reshaper model (e.g., tile_group_reshaper_model_present_flag) .
  • tile_group_reshaper_model_present_flag may be coded under the condition of tile_group_reshaper_enable_flag.
  • tile_group_reshaper_model_present_flag and tile_group_reshaper_enable_flag may be coded.
  • the value of the other one is set equal to the one that may be signalled.
  • adaptively clipping method may be applied and the maximum and minimum values to be clipped may be defined in the reshaped domain.
  • the adaptively clipping may be applied to the prediction signal in the reshaped domain.
  • the fixed clipping (e.g., according to the bit-depth) may be applied to the reconstruction block.
  • the filter parameters may depend on whether ILR is enabled or not.
  • reshaping and inverse reshaping are skipped.
  • a different reshaping and inverse reshaping functions may be applied.
  • Palette mode may be coded differently.
  • Palette mode may be coded in the original domain.
  • Palette mode may be coded in the reshaped domain.
  • Palette predictors may be signaled in the original domain.
  • palette predictors may be signalled in the reshaped domain.
  • ILR is disabled or applied differently.
  • reshaping and inverse reshaping are skipped.
  • IBC mode may be coded differently.
  • IBC may be performed in the original domain.
  • IBC may be performed in the reshaped domain.
  • ILR is disabled or applied differently.
  • reshaping and inverse reshaping are skipped.
  • B-DPCM mode may be coded differently.
  • B-DPCM may be performed in the original domain.
  • B-DPCM may be performed in the reshaped domain.
  • ILR is disabled or applied differently.
  • reshaping and inverse reshaping are skipped.
  • a different reshaping and inverse reshaping may be applied.
  • transform skip mode may be coded differently.
  • transform skip may be performed in the original domain.
  • transform skip may be performed in the reshaped domain.
  • ILR is disabled or applied differently.
  • reshaping and inverse reshaping are skipped.
  • a different reshaping and inverse reshaping functions may be applied.
  • I-PCM mode may be coded differently.
  • I-PCM mode when ILR is applied, I-PCM mode may be coded in the original domain.
  • I-PCM mode may be coded in the reshaped domain.
  • ILR is disabled or applied differently.
  • reshaping and inverse reshaping are skipped.
  • the prediction and/or reconstruction and/or residual signal are in the original domain.
  • the prediction and/or reconstruction and/or residual signal are in the reshaped domain.
  • Multiple reshaping/inverse reshaping functions may be allowed for coding one picture/one tile group/one VPDU/one region/one CTU row/multiple CUs.
  • How to select from multiple functions may depend on block dimension/coded mode/picture type/low delay check flag/motion information/reference pictures/video content, etc. al.
  • multiple sets of ILR side information may be signalled per SPS/VPS/PPS/sequence header/Picture header/tile group header/tile header/regions/VPDU/etc. al.
  • ILR side information may be utilized.
  • more then one aps_idx may be signalled in PPS/Picture header/tile group header/tile header/regions/VPDU/etc.
  • reshape information is signaled in a new syntax set other than VPS, SPS, PPS, or APS.
  • reshape information is signaled in a set denoted as inloop_reshaping_parameter_set () (IRPS, or any other name) .
  • inloop_reshaping_parameter_set_id provides an identifier for the IRPS for reference by other syntax elements.
  • NOTE–IRPSs can be shared across pictures and can be different in different tile groups within a picture.
  • irps_extension_flag 0 specifies that no irps_extension_data_flag syntax elements are present in the IRPS RBSP syntax structure.
  • irps_extension_flag 1 specifies that there are irps_extension_data_flag syntax elements present in the IRPS RBSP syntax structure.
  • irps_extension_data_flag may have any value. Its presence and value do not affect decoder conformance to profiles specified in this version of this Specification. Decoders conforming to this version of this Specification shall ignore all irps_extension_data_flag syntax elements.
  • tile_group_irps_id specifies the inloop_reshaping_parameter_set_id of the IRPS that the tile group refers to.
  • the TemporalId of the IRPS NAL unit having inloop_reshaping_parameter_set_id equal to tile_group_irps_id shall be less than or equal to the TemporalId of the coded tile group NAL unit.
  • IRL information is signaled together with ALF information in APS.
  • one tile_group_aps_id is signaled in tile group header to specify the adaptation_parameter_set_id of the APS that the tile group refers to. Both ALF information and ILR information for the current tile group are signaled in the specified APS.
  • ILR information and ALF information signaled in different APSs.
  • a first ID (may named as tile_group_aps_id_alf) is signaled in tile group header to specify a first adaptation_parameter_set_id of a first APS that the tile group refers to.ALF information for the current tile group is signaled in the specified first APS.
  • a second ID (may named as tile_group_aps_id_irps) is signaled in tile group header to specify a second adaptation_parameter_set_id of a second APS that the tile group refers to.
  • ILR information for the current tile group is signaled in the specified second APS.
  • the first APS must have ALF information in a conformance bit-stream
  • the second APS must have ILR information in a conformance bit-stream
  • some APSs with specified adaptation_parameter_set_id must have ALF information.
  • some APSs with specified adaptation_parameter_set_id must have ILR information.
  • APSs with adaptation_parameter_set_id equal to 2N must have ALF information.
  • N is any integer;
  • APSs with adaptation_parameter_set_id equal to 2N+1 must have ILR information.
  • N is any integer;
  • 2*tile_group_aps_id_alf specify a first adaptation_parameter_set_id of a first APS that the tile group refers to.
  • ALF information for the current tile group is signaled in the specified first APS.
  • 2*tile_group_aps_id_irps+1 specify a second adaptation_parameter_set_id of a second APS that the tile group refers to. ILR information for the current tile group is signaled in the specified second APS.
  • a tile group cannot refer to an APS (or IRPS) signaled before a specified type of network abstraction layer (NAL) unit, which is signaled before the current tile group.
  • NAL network abstraction layer
  • a tile group cannot refer to an APS (or IRPS) signaled before a specified type of tile group, which is signaled before the current tile group.
  • a tile group cannot refer to an APS (or IRPS) signaled before a SPS, which is signaled before the current tile group.
  • a tile group cannot refer to an APS (or IRPS) signaled before a PPS, which is signaled before the current tile group.
  • a tile group cannot refer to an APS (or IRPS) signaled before an Access unit delimiter NAL (AUD) , which is signaled before the current tile group.
  • APS or IRPS
  • NAL Access unit delimiter
  • a tile group cannot refer to an APS (or IRPS) signaled before a End of bitstream NAL (EoB) , which is signaled before the current tile group.
  • APS or IRPS
  • EoB End of bitstream NAL
  • a tile group cannot refer to an APS (or IRPS) signaled before an End of sequence NAL (EoS) , which is signaled before the current tile group.
  • APS or IRPS
  • EoS End of sequence NAL
  • a tile group cannot refer to an APS (or IRPS) signaled before an instantaneous decoding refresh (IDR) NAL, which is signaled before the current tile group.
  • IDR instantaneous decoding refresh
  • a tile group cannot refer to an APS (or IRPS) signaled before a clean random access (CRA) NAL, which is signaled before the current tile group.
  • APS or IRPS
  • CRA clean random access
  • a tile group cannot refer to an APS (or IRPS) signaled before an intra random access point (IRAP) access unit, which is signaled before the current tile group.
  • APS or IRPS
  • IRAP intra random access point
  • a tile group cannot refer to an APS (or IRPS) signaled before an I tile group (or picture, or slice) , which is signaled before the current tile group.
  • IDF-P1903237401H and IDF-P1903234501H can also be applied when ILR information is carried in APS or IRPS.
  • Aconformance bitstream shall satisfy that when the in-loop reshaping method is enabled for one video data unit (such as sequence) , default ILR parameters, such as a default model shall be defined.
  • the sps_lmcs_default_model_present_flag shall be set to 1 when sps_lmcs_enabled_flag is set to 1.
  • the default parameters may be signalled under the condition of ILR enabling flag instead of default model present flag (such as sps_lmcs_default_model_present_flag) .
  • a default model usage flag (such as tile_group_lmcs_use_default_model_flag) may be signaled without referring to the SPS default model usage flag.
  • a conformance bitstream shall satisfy that when there are no ILR information in corresponding APS types for ILR, and one video data unit (such as tile group) is forced to use the ILR technology, the default model shall be utilized.
  • a conformance bitstream shall satisfy that when there are no ILR information in corresponding APS types for ILR, and one video data unit (such as tile group) is forced to use the ILR technology (such as tile_group_lmcs_enable_flag is equal to 1) , the indication of using default model shall be true, e.g., tile_group_lmcs_use_default_model_flag shall be 1.
  • default ILR parameters (such as default model) shall be sent in a video data unit (such as SPS) .
  • the default ILR parameters shall be sent when the SPS flag which indicates the usage of ILR is true.
  • At least one ILR APS contains the default ILR parameters (such as default model) .
  • Default ILR parameters may be indicated by one flag. When this flag tells default ILR parameters are utilized, there is no need to further signal the ILR data.
  • the default ILR parameters may be predefined when it is not signaled.
  • the default ILR parameters may correspond to an identity mapping.
  • Temporal layer information may be signalled together with the ILR parameters, such as in an ILR APS.
  • the temporal layer index may be signalled in the lmcs_data () .
  • the temporal layer index minus 1 may be signalled in the lmcs_data () .
  • whether the restrictions above are applied may depend on a piece of information, which may be signaled to the decoder or inferred by the decoder.
  • Temporal layer information may be signaled together with the ALF parameters, such as in an ALF APS.
  • the temporal layer index may be signalled in the alf_data () .
  • the temporal layer index minus 1 may be signalled in the alf_data () .
  • whether the restrictions above are applied may depend on a piece of information, which may be signaled to the decoder or inferred by the decoder.
  • the reshape mapping between the original samples and reshaped samples may not be a positive relationship that is, one larger value is disallowed to be mapped to a smaller value.
  • the reshape mapping between the original samples and reshaped samples may be a negative relationship, wherein for two values, the larger one in the original domain may be mapped to a smaller value in the reshaped domain.
  • the syntax element aps_params_type is only allowed to be several predefined values, such as 0 and 1.
  • the default ILR information must be signaled if ILR can be applied (e.g. sps_lmcs_enabled_flag is true) .
  • tile_group_reshaper_enable_flag is conditionally present when tile_group_reshaper_model_present_flag is enabled.
  • the added syntax is highlighted in italics.
  • tile_group_reshaper_model_present_flag is conditionally present when tile_group_reshaper_enable_flag is enabled.
  • tile_group_reshaper_model_present_flag or tile_group_reshaper_enable_flag may be signalled.
  • the one that is not signalled is inferred to be equal to the one that may be signalled.
  • the one syntax element controls the usage of ILR.
  • the conformance bitstream requires that tile_group_reshaper_model_present_flag should be equal to tile_group_reshaper_enable_flag.
  • tile_group_reshaper_model_present_flag and/or tile_group_reshaper_enable_flag and/or tile_group_reshaper_model () , and/or tile_group_reshaper_chroma_residual_scale_flag may be signalled in APS instead of tile group header.
  • Embodiment #2 on top of JVET-N0805 The added syntax is highlighted in italics.
  • sps_lmcs_enabled_flag 1 specifies that luma mapping with chroma scaling is used in the coded video sequence (CVS) .
  • sps_lmcs_enabled_flag 0 specifies that luma mapping with chroma scaling is not used in the CVS.
  • sps_lmcs_default_model_present_flag 1 specifies that default lmcs data is present in this SPS.
  • sps_lmcs_default_model_flag 0 specifies that default lmcs data is not present in this SPS.
  • the value of sps_lmcs_default_model_present_flag is inferred to be equal to 0.
  • aps_params_type specifies the type of APS parameters carried in the APS as specified in the following table:
  • ALF APS An APS that has aps_params_type equal to ALF_APS.
  • LMCS APS An APS that has aps_params_type equal to LMCS_APS.
  • tile_group_alf_aps_id specifies the adaptation_parameter_set_id of the ALF APS that the tile group refers to.
  • the TemporalId of the ALF APS NAL unit having adaptation_parameter_set_id equal to tile_group_alf_aps_id shall be less than or equal to the TemporalId of the coded tile group NAL unit.
  • the multiple ALF APSs with the same value of adaptation_parameter_set_id shall have the same content.
  • tile_group_lmcs_enabled_flag 1 specifies that luma mapping with chroma scaling is enabled for the current tile group.
  • tile_group_lmcs_enabled_flag 0 specifies that luma mapping with chroma scaling is not enabled for the current tile group.
  • tile_group_lmcs_enable_flag not present, it is inferred to be equal to 0.
  • tile_group_lmcs_use_default_model_flag 1 specifies that luma mappin with chroma scaling operation for the tile group uses default lmcs model.
  • tile_group_lmcs_use_default_model_flag 0 specifies that that luma mappin with chroma scaling opertation for the tile group uses lmcs model in the LMCS APS referred to by tile_group_lmcs_aps_id.
  • tile_group_reshaper_use_default_model_flag not present, it is inferred to be equal to 0.
  • tile_group_lmcs_aps_id specifies the adaptation_parameter_set_id of the LMCS APS that the tile group refers to.
  • the TemporalId of the LMCS APS NAL unit having adaptation_parameter_set_id equal to tile_group_lmcs_aps_id shall be less than or equal to the TemporalId of the coded tile group NAL unit.
  • the multiple LMCS APSs with the same value of adaptation_parameter_set_id shall have the same content.
  • tile_group_chroma_residual_scale_flag 1 specifies that chroma residual scaling is enabled for the current tile group.
  • tile_group_chroma_residual_scale_flag 0 specifies that chroma residual scaling is not enabled for the current tile group.
  • tile_group_chroma_residual_scale_flag not present, it is inferred to be equal to 0.
  • FIG. 31A shows a flowchart of an exemplary method for video processing.
  • the method 3100 includes, at step 3110, performing, for a conversion between a current video block of a video and a coded representation of the video, a motion information refinement process based on samples in a first domain or a second domain.
  • the method 3100 includes, at step 3120, performing the conversion based on a result of the motion information refinement process.
  • the samples are obtained for the current video block from a first prediction block in the first domain using an unrefined motion information, at least a second prediction block is generated in the second domain using a refined motion information used for determining a reconstruction block, and reconstructed samples of the current video block are generated based on the at least the second prediction block
  • FIG. 31B shows a flowchart of an exemplary method for video processing.
  • the method 3120 includes, at step 3122, reconstructing, based on the at least one prediction block in the second domain, the current video block.
  • the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a coding tool is applied during the conversion using parameters that are derived at least based on first set of samples in a video region of the video and second set of samples in a reference picture of the current video block.
  • a domain for the first samples and a domain for the second samples are aligned.
  • FIG. 32A shows a flowchart of an exemplary method for video processing.
  • the method 3210 includes, at step 3212, determining, for a current video block of a current video region of a video, a parameter for a coding mode of the current video block based on one or more parameters for a coding mode of a previous video region.
  • the method 3210 further includes, at step 3214, performing a coding for the current video block to generate a coded representation of the video based on the determining.
  • the parameter for the coding mode is included in a parameter set in the coded representation of the video.
  • the performing of the coding comprises transforming a representation of the current video block in a first domain to a representation of the current video block in a second domain.
  • the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 32B shows a flowchart of an exemplary method for video processing.
  • the method 3220 includes, at step 3222, receiving a coded representation of a video including a parameter set including parameter information for a coding mode.
  • the method 3220 further includes, at step 3224, performing a decoding of the coded representation by using the parameter information to generate a current video block of a current video region of the video from the coded representation.
  • the parameter information for the coding mode is based on one or more parameters for the coding mode of a previous video region.
  • the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 32C shows a flowchart of an exemplary method for video processing.
  • the method 3230 includes, at step 3232, performing a conversion between a current video block of a video and a coded representation of the video.
  • the conversion includes applying a filtering operation to a prediction block in a first domain or in a second domain different from the first domain.
  • FIG. 32D shows a flowchart of an exemplary method for video processing.
  • the method 3240 includes, at step 3242, performing a conversion between a current video block of a video and a coded representation of the video.
  • a final reconstruction block is determined for the current video block.
  • the temporary reconstruction block is generated using a prediction method and represented in the second domain.
  • FIG. 33 shows a flowchart of an exemplary method for video processing.
  • the method 3300 includes, at step 3302, performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein a parameter set in the coded representation comprises parameter information for the coding mode.
  • FIG. 34A shows a flowchart of an exemplary method for video processing.
  • the method 3410 includes, at step 3412, performing a conversion between a current video block of a video that is a chroma block and a coded representation of the video, wherein, during the conversion, the current video block is constructed based on a first domain and a second domain, and wherein the conversion further includes applying a forward reshaping process and/or an inverse reshaping process to one or more chroma components of the current video block.
  • FIG. 34B shows a flowchart of an exemplary method for video processing.
  • the method 3420 includes, at step 3422, performing a conversion between a current video chroma block of a video and a coded representation of the video, wherein the performing of the conversion includes: determining whether luma-dependent chroma residue scaling (LCRS) is enabled or disabled based on a rule, and reconstructing the current video chroma block based on the determination.
  • LCRS luma-dependent chroma residue scaling
  • FIG. 35A shows a flowchart of an exemplary method for video processing.
  • the method 3510 includes, at step 3512, determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on one or more coefficient values of the current video block.
  • the method 3510 further includes, at step 3514, performing the conversion based on the determining.
  • the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 35B shows a flowchart of an exemplary method for video processing.
  • the method 3520 includes, at step 3522, dividing, for a conversion between a current video block of a video that exceeds a virtual pipeline data unit (VPDU) of the video, the current video block into regions.
  • the method 3520 further includes, at step 3524, performing the conversion by applying a coding mode separately to each region.
  • the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 35C shows a flowchart of an exemplary method for video processing.
  • the method 3530 includes, at step 3532, determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on a size or a color format of the current video block.
  • the method 3530 further includes, at step 3534, performing the conversion based on the determining.
  • the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 35D shows a flowchart of an exemplary method for video processing.
  • the method 3540 includes, at step 3542, performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein at least one syntax element in the coded representation provides an indication of a usage of the coding mode and an indication of a reshaper model.
  • FIG. 35E shows a flowchart of an exemplary method for video processing.
  • the method 3550 includes, at step 3552, determining that a coding mode is disabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3550 further includes, at step 3554, conditionally skipping a forward reshaping and/or inverse reshaping based on the determining.
  • the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 35F shows a flowchart of an exemplary method for video processing.
  • the method 3560 includes, at step 3562, performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein multiple forward reshaping and/or multiple inverse reshaping are applied in the reshaping mode for the video region.
  • FIG. 36A shows a flowchart of an exemplary method for video processing.
  • the method 3610 includes, at step 3612, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3610 further includes, at step 3614, performing the conversion using a palette mode wherein at least a palette of representative sample values is used for the current video block.
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 36B shows a flowchart of an exemplary method for video processing.
  • the method 3620 includes, at step 3622, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a palette mode in which at least a palette of representative sample values is used for coding the current video block.
  • the method 3620 further includes, at step 2624, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode when the coding mode is applied to a video block, the video block is constructed based on chroma residue that is scaled in a luma-dependent manner
  • FIG. 36C shows a flowchart of an exemplary method for video processing.
  • the method 3630 includes, at step 3632, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses a first coding mode and a palette coding mode in which at least a palette of representative pixel values is used for coding the current video block.
  • the method 3630 further includes, at step 3634, performing a conversion between a second video block of the video that is coded without using the palette coding mode and a coded representation of the video, wherein the conversion of the second video block uses the first coding mode.
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the first coding mode is applied in different manners to the first video block and second video block.
  • FIG. 37A shows a flowchart of an exemplary method for video processing.
  • the method 3710 includes, at step 3712, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3710 further includes, at step 3714, performing the conversion using an intra block copy mode which generates a prediction block using at least a block vector pointing to a picture that includes the current video block.
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 37B shows a flowchart of an exemplary method for video processing.
  • the method 3720 includes, at step 3722, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in an intra block copy (IBC) mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block for coding the current video block.
  • the method 3720 further includes, at step 3724, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 37C shows a flowchart of an exemplary method for video processing.
  • the method 3730 includes, at step 3732, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses an intra block copy mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block and a first coding mode.
  • the method 3730 further includes, at step 3734, performing a conversion between a second video block of the video that is coded without using the intra block copy mode and a coded representation of the video, wherein the conversion of the second video block uses the first coding mode.
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and the first coding mode is applied in different manners to the first video block and to the second video block.
  • FIG. 38A shows a flowchart of an exemplary method for video processing.
  • the method 3810 includes, at step 3812, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3810 further includes, at step 3814, performing the conversion using a block-based delta pulse code modulation (BDPCM) mode.
  • BDPCM block-based delta pulse code modulation
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner
  • FIG. 38B shows a flowchart of an exemplary method for video processing.
  • the method 3820 includes, at step 3822, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded using a block-based delta pulse code modulation (BDPCM) mode.
  • BDPCM block-based delta pulse code modulation
  • the method 3820 further includes, at step 3824, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38C shows a flowchart of an exemplary method for video processing.
  • the method 3830 includes, at step 3832, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a block-based delta pulse code modulation (BDPCM) mode.
  • the method 3830 further includes, at step 3834, performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the BDPCM mode and the conversion of the second video block uses the first coding mode.
  • BDPCM block-based delta pulse code modulation
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and the first coding mode is applied in different manners to the first video block and the second video block.
  • FIG. 38D shows a flowchart of an exemplary method for video processing.
  • the method 3840 includes, at step 3842, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method further includes, at step 3844, performing the conversion using a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block.
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38E shows a flowchart of an exemplary method for video processing.
  • the method 3850 includes, at step 3852, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block.
  • the method 3850 further includes, at step 3854, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38F shows a flowchart of an exemplary method for video processing.
  • the method 3860 includes, at step 3862, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block.
  • the method 3860 further includes, at step 3864, performing a conversion between a second video block of the video and a coded representation of the video, wherein the second video block is coded without using the transform skip mode and the conversion of the second video block uses the first coding mode.
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and the first coding mode is applied in different manners to the first video block and the second video block
  • FIG. 38G shows a flowchart of an exemplary method for video processing.
  • the method 3870 includes, at step 3872, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3870 further includes, at step 3874, performing the conversion using an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization.
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38H shows a flowchart of an exemplary method for video processing.
  • the method 3880 includes, at step 3882, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization.
  • the method 3880 further includes, at step 3884, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38I shows a flowchart of an exemplary method for video processing.
  • the method 3890 includes, at step 3892, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization.
  • the method 3890 further includes, at step 3894, performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the intra pulse code modulation mode and the conversion of the second video block uses the first coding mode.
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and the first coding mode is applied in different manners to the first video block and the second video block.
  • FIG. 38J shows a flowchart of an exemplary method for video processing.
  • the method 3910 includes, at step 3912, making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video.
  • the method 3910 further includes, at step 3914, performing the conversion using a modified transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization.
  • the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38K shows a flowchart of an exemplary method for video processing.
  • the method 3920 includes, at step 3922, making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization.
  • the method 3920 further includes, at step 3924, performing, due to the determination, the conversion by disabling a coding mode.
  • the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • FIG. 38L shows a flowchart of an exemplary method for video processing.
  • the method 3930 includes, at step 3932, performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a transquant-bypass mode in which the current video block is losslessly coded without a transform and a quantization.
  • the method 3930 further includes, at step 3934, performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the transquant-bypass mode and the conversion of the second video block uses the first coding mode.
  • the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and the first coding mode is applied in different manners to the first video block and the second video block.
  • FIG. 39A shows a flowchart of an exemplary method for video processing.
  • the method 3940 includes, at step 3942, performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in a parameter set that is different from a sequence parameter set (SPS) , a video parameter set (VPS) , a picture parameter set (PPS) , or an adaptation parameter set (APS) used for carrying adaptive loop filtering (ALF) parameters.
  • SPS sequence parameter set
  • VPN video parameter set
  • PPS picture parameter set
  • APS adaptation parameter set
  • FIG. 39B shows a flowchart of an exemplary method for video processing.
  • the method 3950 includes, at step 3952, performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in an adaptation parameter set (APS) together with adaptive loop filtering (ALF) information, wherein the information used for the coding mode and the ALF information are included in one NAL unit.
  • APS adaptation parameter set
  • ALF adaptive loop filtering
  • FIG. 39C shows a flowchart of an exemplary method for video processing.
  • the method 3960 includes, at step 3962, performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein information used for the coding mode is signaled in a first type of adaptation parameter set (APS) that is different from a second type of APS used for signaling adaptive loop filtering (ALF) information.
  • APS adaptation parameter set
  • ALF adaptive loop filtering
  • FIG. 39D shows a flowchart of an exemplary method for video processing.
  • the method 3970 includes, at step 3972, performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the video region is disallowed to refer to an adaptation parameter set or an parameter set that is signaled before a specified type of data structure used for processing the video, and wherein the specified type of the data structure is signaled before the video region.
  • FIG. 39E shows a flowchart of an exemplary method for video processing.
  • the method 3980 includes, at step 3982, performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein a syntax element of a parameter set including parameters used for processing the video has predefined values in a conformance bitstream.
  • FIG. 40A is a block diagram of a video processing apparatus 4000.
  • the apparatus 4000 may be used to implement one or more of the methods described herein.
  • the apparatus 4000 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on.
  • the apparatus 4000 may include one or more processors 4002, one or more memories 4004 and video processing hardware 4006.
  • the processor (s) 4002 may be configured to implement one or more methods (including, but not limited to, methods as shown in FIGS. 31A to 39E) described in the present document.
  • the memory (memories) 4004 may be used for storing data and code used for implementing the methods and techniques described herein.
  • the video processing hardware 4006 may be used to implement, in hardware circuitry, some techniques described in the present document.
  • FIG. 40B is another example of a block diagram of a video processing system in which disclosed techniques may be implemented.
  • FIG. 40B is a block diagram showing an example video processing system 4100 in which various techniques disclosed herein may be implemented.
  • the system 4100 may include input 4102 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 4102 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.
  • PON passive optical network
  • the system 4100 may include a coding component 4104 that may implement the various coding or encoding methods described in the present document.
  • the coding component 4104 may reduce the average bitrate of video from the input 4102 to the output of the coding component 4104 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 4104 may be either stored, or transmitted via a communication connected, as represented by the component 4106.
  • the stored or communicated bitstream (or coded) representation of the video received at the input 4102 may be used by the component 4108 for generating pixel values or displayable video that is sent to a display interface 4110.
  • the process of generating user-viewable video from the bitstream representation is sometimes called video decompression.
  • 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
  • peripheral bus interface or a display interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on.
  • storage interfaces include SATA (serial advanced technology attachment) , PCI, IDE interface, and the like.
  • the video coding methods may be implemented using an apparatus that is implemented on a hardware platform as described with respect to FIG. 40A or 40B.
  • a method for video processing comprising: performing, for a conversion between a current video block of a video and a coded representation of the video, a motion information refinement process based on samples in a first domain or a second domain; and performing the conversion based on a result of the motion information refinement process, wherein, during the conversion, the samples are obtained for the current video block from a first prediction block in the first domain using an unrefined motion information, at least a second prediction block is generated in the second domain using a refined motion information used for determining a reconstruction block, and reconstructed samples of the current video block are generated based on the at least the second prediction block.
  • DMVD method comprises decoder-side motion vector refinement (DMVR) or frame-rate up conversion (FRUC) or Bi-Directional Optical Flow (BIO) .
  • DMVR decoder-side motion vector refinement
  • FRUC frame-rate up conversion
  • BIO Bi-Directional Optical Flow
  • a method for video processing comprising: performing a conversion between a current video block of a video and a coded representation of the video, wherein, during the conversion, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, wherein a coding tool is applied during the conversion using parameters that are derived at least based on first set of samples in a video region of the video and second set of samples in a reference picture of the current video block, and wherein a domain for the first samples and a domain for the second samples are aligned.
  • the coding tool includes a local illumination compensation (LIC) model that uses a linear model of illumination changes in the current video block during the conversion, and the LIC model is applied based on the parameters.
  • LIC local illumination compensation
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 29.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 29.
  • a method for video processing comprising: determining, for a current video block of a current video region of a video, a parameter for a coding mode of the current video block based on one or more parameters for a coding mode of a previous video region; and performing a coding for the current video block to generate a coded representation of the video based on the determining, and wherein the parameter for the coding mode is included in a parameter set in the coded representation of the video, and wherein the performing of the coding comprises transforming a representation of the current video block in a first domain to a representation of the current video block in a second domain, and wherein, during the performing of the coding using the coding mode, the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method for video processing comprising: receiving a coded representation of a video including a parameter set including parameter information for a coding mode; and performing a decoding of the coded representation by using the parameter information to generate a current video block of a current video region of the video from the coded representation, and wherein the parameter information for the coding mode is based on one or more parameters for the coding mode of a previous video region, wherein, in the coding mode, the current video block is constructed based on the first domain and the second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method for video processing comprising: performing a conversion between a current video block of a video and a coded representation of the video, and wherein the conversion includes applying a filtering operation to a prediction block in a first domain or in a second domain different from the first domain.
  • the conversion further includes: applying, before the applying of the filtering operation, a motion compensation prediction to the current video block to obtain a prediction signal; applying, after the applying of the filtering operation, a coding mode to a filtered prediction signal to generate a reshaped prediction signal, the filtered prediction signal generated by applying the filtering operation to the prediction signal; and constructing the current video block using the reshaped prediction signal.
  • the conversion further includes: applying, before the applying of the filtering operation, a motion compensation prediction to the current video block to obtain a prediction signal; applying a coding mode to the prediction signal to generate a reshaped prediction signal; and constructing, after the applying of the filtering operation, the current video block using a filtered reshaped prediction signal, wherein the filtered reshaped prediction signal generated by applying the filtering operation to the reshaped prediction signal.
  • a method for video processing comprising: performing a conversion between a current video block of a video and a coded representation of the video, wherein, during the conversion, a final reconstruction block is determined for the current video block, and wherein the temporary reconstruction block is generated using a prediction method and represented in the second domain.
  • the conversion further includes: applying a motion compensation prediction to the current video block to obtain a prediction signal; applying a forward reshaping to the prediction signal to generate a reshaped prediction signal that is used to generate the temporary reconstruction block; and applying an inverse reshaping to the temporary reconstruction block to obtain an inverse reconstruction block, and wherein the filtering is applied to the inverse reconstruction block to generate a final reconstruction block.
  • the conversion further includes: applying a motion compensation prediction to the current video block to obtain a prediction signal; applying a forward reshaping to the prediction signal to generate a reshaped prediction signal that is used to generate the temporary reconstruction block; applying an inverse reshaping to a filtered reconstruction block to obtain a final reconstruction block, and wherein the filtered reconstruction block is generated by applying the filtering to the temporary reconstruction block.
  • the filter comprises a bilateral filter (BF) or a Hadamard transform domain filter (HF) .
  • BF bilateral filter
  • HF Hadamard transform domain filter
  • the filter comprises a deblocking filter (DBF) process, a sample adaptive offset (SAO) filtering process, or an adaptive loop filter (ALF) filtering process.
  • DPF deblocking filter
  • SAO sample adaptive offset
  • ALF adaptive loop filter
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 28.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 28.
  • a video processing method comprising: performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein a parameter set in the coded representation comprises parameter information for the coding mode.
  • parameter information includes at least one of an indication of reshaper model information, a usage of the coding mode, or chroma residual scaling factors.
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 32.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 32.
  • a method for video processing comprising: performing a conversion between a current video block of a video that is a chroma block and a coded representation of the video, wherein, during the conversion, the current video block is constructed based on a first domain and a second domain, and wherein the conversion further includes applying a forward reshaping process and/or an inverse reshaping process to one or more chroma components of the current video block.
  • the PWL model is signaled in a sequence parameter set (SPS) , a video parameter set (VPS) , an adaptation parameter set (APS) , a picture parameter set (PPS) , a sequence header, a picture header, a tile group header, a tile header, a coding tree unit (CTU) row, a group of CTUs, or regions.
  • SPS sequence parameter set
  • VPN video parameter set
  • APS adaptation parameter set
  • PPS picture parameter set
  • CTU coding tree unit
  • a method for video processing comprising: performing a conversion between a current video chroma block of a video and a coded representation of the video, wherein the performing of the conversion includes: determining whether luma-dependent chroma residue scaling (LCRS) is enabled or disabled based on a rule, and reconstructing the current video chroma block based on the determination.
  • LCRS luma-dependent chroma residue scaling
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 26.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 26.
  • a method for video processing comprising: determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on one or more coefficient values of the current video block; and performing the conversion based on the determining, wherein, during the conversion using the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • the reshaping process comprises: selectively applying at least one of a forward reshaping process to samples in the first domain that are then converted into samples in the second domain; and selectively applying an inverse reshaping process to the samples in the second domain that are then converted into a representation in the first domains.
  • a method of video processing comprising: dividing, for a conversion between a current video block of a video that exceeds a virtual pipeline data unit (VPDU) of the video, the current video block into regions; and performing the conversion by applying a coding mode separately to each region, wherein, during the conversion by applying the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • VPDU virtual pipeline data unit
  • each region corresponds to an individual coding unit (CU) of the coding mode.
  • a method for video processing comprising: determining, for a conversion between a current video block of a video and a coded representation of the video, whether to disable using of a coding mode based on a size or a color format of the current video block; and performing the conversion based on the determining, wherein, during the conversion using the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • disabling of the coding mode comprises disabling at least one of: 1) forward reshaping to covert samples in the first domain to the second domain; 2) backward reshaping to covert samples in the second domain to the first domain; 3) luma dependent chroma residual scaling.
  • a method for video processing comprising: performing a conversion between a current video block of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein at least one syntax element in the coded representation provides an indication of a usage of the coding mode and an indication of a reshaper model.
  • a method for video processing comprising: determining that a coding mode is disabled for a conversion between a current video block of a video and a coded representation of the video; and conditionally skipping a forward reshaping and/or inverse reshaping based on the determining, wherein, in the coding mode, the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method for video processing comprising: performing a conversion between a current video block of a video region of a video and a coded representation of the video, wherein the conversion uses a coding mode in which the current video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein multiple forward reshaping and/or multiple inverse reshaping are applied in the reshaping mode for the video region.
  • the video region includes a picture, a tile group, a virtual pipelining data unit (VPDU) , a coding tree unit (CTU) , a row, or multiple coding units.
  • VPDU virtual pipelining data unit
  • CTU coding tree unit
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 47.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 47.
  • a video processing method comprising: making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a palette mode wherein at least a palette of representative sample values is used for the current video block, and wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method of video processing comprising: making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a palette mode in which at least a palette of representative sample values is used for coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein, when the coding mode is applied to a video block, the video block is constructed based on chroma residue that is scaled in a luma-dependent manner.
  • a method of video processing comprising: performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses a first coding mode and a palette coding mode in which at least a palette of representative pixel values is used for coding the current video block; and performing a conversion between a second video block of the video that is coded without using the palette coding mode and a coded representation of the video, and wherein the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and second video block.
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 21.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 21.
  • a video processing method comprising: making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using an intra block copy mode which generates a prediction block using at least a block vector pointing to a picture that includes the current video block, and wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma- dependent manner.
  • a method for video processing comprising: making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in an intra block copy (IBC) mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block for coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • IBC intra block copy
  • a method for video processing comprising: performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion uses an intra block copy mode that generates a prediction block using at least a block vector pointing to a video frame containing the current video block and a first coding mode; and performing a conversion between a second video block of the video that is coded without using the intra block copy mode and a coded representation of the video, wherein the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and to the second video block.
  • An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of clauses 1 to 18.
  • a computer program product stored on a non-transitory computer readable media including program code for carrying out the method in any one of clauses 1 to 18.
  • a method of video processing comprising: making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a block-based delta pulse code modulation (BDPCM) mode, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • BDPCM block-based delta pulse code modulation
  • a method of video processing comprising: making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded using a block-based delta pulse code modulation (BDPCM) mode; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • BDPCM block-based delta pulse code modulation
  • a method of video processing comprising: performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a block-based delta pulse code modulation (BDPCM) mode; and performing a conversion between a second video block of the video and a coded presentation of the video, wherein the second video block is coded without using the BDPCM mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • BDPCM block-based delta pulse code modulation
  • the first coding mode applied to the first video block is different from the first coding mode applied to the second video block due to disabling use of a forward reshaping and an inverse reshaping that are used to convert samples between the first domain and the second domain.
  • a method of video processing comprising: making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method of video processing comprising: making a determination, for a conversion between a current video block of a video and a coded representation of the video, that the current video block is coded in a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block; and performing, due to the determination, the conversion by disabling a coding mode, wherein when the coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.
  • a method of video processing comprising: performing a conversion between a first video block of a video and a coded representation of the video, wherein the conversion of the first video block uses a first coding mode and a transform skip mode in which a transform on a prediction residual is skipped in coding the current video block; and performing a conversion between a second video block of the video and a coded representation of the video, wherein the second video block is coded without using the transform skip mode and the conversion of the second video block uses the first coding mode, wherein when the first coding mode is applied to a video block, the video block is constructed based on a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner, and wherein the first coding mode is applied in different manners to the first video block and the second video block.
  • a method of video processing comprising: making a determination that a coding mode is enabled for a conversion between a current video block of a video and a coded representation of the video; and performing the conversion using an intra pulse code modulation mode in which the current video block is coded without applying a transform and a transform-domain quantization, wherein, in the coding mode, the current video block is constructed based on samples in a first domain and a second domain and/or chroma residue is scaled in a luma-dependent manner.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

L'invention concerne un procédé de traitement vidéo consistant à : effectuer une conversion entre un bloc vidéo courant d'une vidéo et une représentation codée d'un bloc vidéo courant, la conversion faisant appel à un mode de codage dans lequel le bloc vidéo courant est construit sur la base d'un premier domaine et d'un second domaine et/ou dans lequel un résidu de chrominance est mis à l'échelle d'une manière dépendant de la luminance, et des informations intervenant dans le mode de codage étant signalées dans un ensemble de paramètres qui est différent d'un ensemble de paramètres de séquence (SPS), d'un ensemble de paramètres vidéo (VPS), d'un ensemble de paramètres d'image (PPS), ou d'un ensemble de paramètres d'adaptation (APS) intervenant dans le transport de paramètres de filtrage à boucle adaptatif (ALF).
PCT/CN2020/079429 2019-03-14 2020-03-16 Signalisation et syntaxe d'informations de remise en forme en boucle WO2020182219A1 (fr)

Priority Applications (5)

Application Number Priority Date Filing Date Title
CN202080021276.1A CN113574889B (zh) 2019-03-14 2020-03-16 环路整形信息的信令和语法
CN202311451186.8A CN117499644A (zh) 2019-03-14 2020-03-16 环路整形信息的信令和语法
US17/357,244 US11412238B2 (en) 2019-03-14 2021-06-24 Signaling and syntax for in-loop reshaping information
US17/714,480 US20220239932A1 (en) 2019-03-14 2022-04-06 Signaling and syntax for in-loop reshaping information
US18/492,937 US20240107035A1 (en) 2019-03-14 2023-10-24 Signaling and syntax for in-loop reshaping information

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CNPCT/CN2019/078185 2019-03-14
CN2019078185 2019-03-14
CNPCT/CN2019/079393 2019-03-23
CN2019079393 2019-03-23

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/357,244 Continuation US11412238B2 (en) 2019-03-14 2021-06-24 Signaling and syntax for in-loop reshaping information

Publications (1)

Publication Number Publication Date
WO2020182219A1 true WO2020182219A1 (fr) 2020-09-17

Family

ID=72426545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079429 WO2020182219A1 (fr) 2019-03-14 2020-03-16 Signalisation et syntaxe d'informations de remise en forme en boucle

Country Status (1)

Country Link
WO (1) WO2020182219A1 (fr)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110243232A1 (en) * 2010-04-05 2011-10-06 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using dynamic-range transformation, and method and apparatus for decoding video by using dynamic-range transformation
US8873872B1 (en) * 2012-04-18 2014-10-28 Matrox Graphics Inc. Division of entropy coding in codecs
CN105981381A (zh) * 2013-12-30 2016-09-28 寰发股份有限公司 用于分量间残差预测的缩放参数编码的方法及装置
WO2016164235A1 (fr) * 2015-04-06 2016-10-13 Dolby Laboratories Licensing Corporation Remise en forme d'images en boucle reposant sur des blocs lors d'un codage vidéo à grande gamme dynamique
WO2019160986A1 (fr) * 2018-02-14 2019-08-22 Dolby Laboratories Licensing Corporation Redéfinition d'images dans un codage vidéo à l'aide d'une optimisation de distorsion du taux de codage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110243232A1 (en) * 2010-04-05 2011-10-06 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using dynamic-range transformation, and method and apparatus for decoding video by using dynamic-range transformation
US8873872B1 (en) * 2012-04-18 2014-10-28 Matrox Graphics Inc. Division of entropy coding in codecs
CN105981381A (zh) * 2013-12-30 2016-09-28 寰发股份有限公司 用于分量间残差预测的缩放参数编码的方法及装置
WO2016164235A1 (fr) * 2015-04-06 2016-10-13 Dolby Laboratories Licensing Corporation Remise en forme d'images en boucle reposant sur des blocs lors d'un codage vidéo à grande gamme dynamique
WO2019160986A1 (fr) * 2018-02-14 2019-08-22 Dolby Laboratories Licensing Corporation Redéfinition d'images dans un codage vidéo à l'aide d'une optimisation de distorsion du taux de codage

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
EDOUARD,FRANCOIS: "Chroma residual scaling with separate luma/chroma tree", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 14TH MEETING: GENEVA, CH, 19–27 MARCH 2019 DOCUMENT: JVET-N0389, 12 March 2019 (2019-03-12) *
ZHAO, JIE: "On Luma Dependent Chroma Residual Scaling of In-loop Reshaper", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, 27 March 2019 (2019-03-27), Geneva, CH *
ZHI-YI LIN , TZU-DER CHUANG , CHING-YEH CHEN , YU-WEN HUANG , SHAW-MIN LEI: "AHG16: Subblock-based chroma residual scaling", JOINT VIDEO EXPERTS TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, no. N0113-v2, 27 March 2019 (2019-03-27), Geneva,CH, pages 1 - 5, XP030203435 *

Similar Documents

Publication Publication Date Title
AU2020213583B2 (en) Signaling of in-loop reshaping information using parameter sets
US11412238B2 (en) Signaling and syntax for in-loop reshaping information
AU2020214946B2 (en) Interactions between in-loop reshaping and inter coding tools
WO2020192614A1 (fr) Restrictions sur des ensembles de paramètres de filtrage à boucle adaptative
WO2020182219A1 (fr) Signalisation et syntaxe d'informations de remise en forme en boucle

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20770240

Country of ref document: EP

Kind code of ref document: A1

WPC Withdrawal of priority claims after completion of the technical preparations for international publication

Ref document number: PCT/CN2019/079393

Country of ref document: CN

Date of ref document: 20210601

Free format text: WITHDRAWN AFTER TECHNICAL PREPARATION FINISHED

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 20770240

Country of ref document: EP

Kind code of ref document: A1