US-20260129214-A1 - METHOD, APPARATUS, AND MEDIUM FOR VIDEO PROCESSING
Abstract
Embodiments of the present disclosure provide a solution for video processing. In a method for video processing, for a conversion between a current video block of a video and a bitstream of the video, a value of a first variable of a merge candidate of the current video block is determined. Adjustment information of the first variable is determined based on at least one factor. The adjustment information comprises at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable. The conversion is performed based on the adjustment information.
Inventors
- Na Zhang
- Kai Zhang
- Hongbin Liu
- Li Zhang
Assignees
- Douyin Vision Co., Ltd.
- BYTEDANCE INC.
Dates
- Publication Date
- 20260507
- Application Date
- 20251229
- Priority Date
- 20230629
Claims (20)
- 1 . A method for video processing, comprising: determining, for a conversion between a current video block of a video and a bitstream of the video, a value of a first variable of a merge candidate of the current video block; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and performing the conversion based on the adjustment information.
- 2 . The method of claim 1 , wherein the first variable comprises an inherited local illumination compensation (LIC) parameter, wherein the inherited LIC parameter comprises at least one of: an LIC flag, an LIC index, or an LIC indication, and wherein the LIC comprises at least one of: an inter-LIC, an affine-LIC, or an intra block copy with LIC (IBC-LIC).
- 3 . The method of claim 1 , wherein the at least one factor comprises a merge mode of the current video block, wherein the first variable comprises an inherited local illumination compensation (LIC) parameter of an affine merge mode, and the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter of an affine merge mode, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of an inter merge mode, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of an inter block copy (IBC) merge mode, and the value of the first variable is adjusted.
- 4 . The method of claim 1 , wherein the at least one factor comprises a prediction direction of the merge candidate, wherein the first variable comprises an inherited local illumination compensation (LIC) parameter of a bi-prediction merge candidate, and the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter of a bi-prediction merge candidate, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of a uni-prediction merge candidate, and the value of the first variable is adjusted.
- 5 . The method of claim 1 , wherein the at least one factor comprises a color component of the current video block, wherein the first variable comprises an inherited local illumination compensation (LIC) parameter of a chroma component of the current video block, and the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter of a chroma component of the current video block, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of a luma component of the current video block, and the value of the first variable is adjusted.
- 6 . The method of claim 1 , wherein the at least one factor comprises a picture type of a current picture containing the current video block, wherein the first variable comprises an inherited local illumination compensation (LIC) parameter of a non-low delay picture, and the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter of a non-low delay picture, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of a low delay picture, and the value of the first variable is adjusted.
- 7 . The method of claim 1 , wherein the first variable comprises an inherited local illumination compensation (LIC) parameter, and the adjustment information is determined based on the inherited LIC parameter, wherein a value of the inherited LIC parameter is true, and the value of the inherited LIC parameter is not adjusted, or wherein a value of the inherited LIC parameter is true, and the value of the inherited LIC parameter is adjusted, or wherein a value of the inherited LIC parameter is false, and the value of the inherited LIC parameter is adjusted.
- 8 . The method of claim 1 , wherein the at least one factor comprises a block content of the current video block, wherein the first variable comprises an inherited local illumination compensation (LIC) parameter of a block with screen content coding (SCC) content, and the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter of a block with SCC content, and the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter of a block with non-SCC content, and the value of the first variable is adjusted.
- 9 . The method of claim 1 , wherein the at least one factor comprises a local illumination compensation (LIC) flag of a picture, wherein the first variable comprises an inherited LIC parameter, and if the LIC flag of the picture is false, the value of the first variable is not adjusted, or wherein the first variable comprises an inherited LIC parameter, and if the LIC flag of the picture is false, the value of the first variable is adjusted, or wherein the first variable comprises an inherited LIC parameter, and if the LIC flag of the picture is true, the value of the first variable is adjusted.
- 10 . The method of claim 1 , wherein the at least one factor comprises at least one of: a sequence resolution, a block size, a slice type, or a coding configuration.
- 11 . The method of claim 1 , further comprising: determining a first template matching cost with the first variable being a first value; determining a second template matching cost with the first variable being a second value; updating at least one of the first or second template matching cost based on at least one scaling factor; and adjusting the value of first variable based on a comparison of the first and second template matching costs.
- 12 . The method of claim 11 , wherein a first scaling factor for a first color component is different from a second scaling factor for a second color component, wherein the first color component comprises a luma component, and the second color component comprises a chroma component, and/or wherein the first scaling factor for the luma component is larger than the second scaling factor for the chroma component.
- 13 . The method of claim 11 , wherein a scaling factor for Y component, a scaling factor for Cb component and a scaling factor for Cr component are different, or wherein a first scaling factor for a first color component and a second scaling factor for a second color component are same.
- 14 . The method of claim 11 , wherein a first scaling factor for a first block content is different from a second scaling factor for a second block content, wherein the first block content comprises a screen content coding (SCC) content, and the second block content comprises a non-SCC content, and/or wherein the first scaling factor for the SCC content is smaller than the second scaling factor for the non-SCC content.
- 15 . The method of claim 11 , wherein a first scaling factor for a first block content and a second scaling factor for a second block content are same.
- 16 . The method of claim 11 , wherein a first scaling factor for a first block size is different from a second scaling factor for a second block size, or wherein the first scaling factor for the first block size and the second scaling factor for the second block size are same.
- 17 . The method of claim 1 , wherein the conversion includes encoding the current video block into the bitstream, or wherein the conversion includes decoding the current video block from the bitstream.
- 18 . An apparatus for video processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to: determine, for a conversion between a current video block of a video and a bitstream of the video, a value of a first variable of a merge candidate of the current video block; determine adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and perform the conversion based on the adjustment information.
- 19 . A non-transitory computer-readable storage medium storing instructions that cause a processor to perform operations comprising: determining, for a conversion between a current video block of a video and a bitstream of the video, a value of a first variable of a merge candidate of the current video block; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and performing the conversion based on the adjustment information.
- 20 . A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by an apparatus for video processing, wherein the method comprises: determining a value of a first variable of a merge candidate of a current video block of the video; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and generating the bitstream based on the adjustment information.
Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Application No. PCT/CN2024/102145, filed on Jun. 27, 2024, which claims the benefit of International Application No. PCT/CN2023/104054 filed on Jun. 29, 2023. The entire contents of these applications are hereby incorporated by reference in their entireties. FIELDS Embodiments of the present disclosure relate generally to video processing techniques, and more particularly, to inherited variable adjustment. BACKGROUND In nowadays, digital video capabilities are being applied in various aspects of peoples' lives. Multiple types of video compression technologies, such as MPEG-2, MPEG-4, ITU-TH.263, ITU-TH.264/MPEG-4 Part 10 Advanced Video Coding (AVC), ITU-TH.265 high efficiency video coding (HEVC) standard, versatile video coding (VVC) standard, have been proposed for video encoding/decoding. However, coding efficiency of video coding techniques is generally expected to be further improved. SUMMARY Embodiments of the present disclosure provide a solution for video processing. In a first aspect, a method for video processing is proposed. The method comprises: determining, for a conversion between a current video block of a video and a bitstream of the video, a value of a first variable of a merge candidate of the current video block; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and performing the conversion based on the adjustment information. In this way, whether to and/or how to adjust the value of the first variable can be determined. Thus, the coding effectiveness and coding efficiency can be improved. In a second aspect, an apparatus for video processing is proposed. The apparatus comprises a processor and a non-transitory memory with instructions thereon. The instructions upon execution by the processor, cause the processor to perform a method in accordance with the first aspect of the present disclosure. In a third aspect, a non-transitory computer-readable storage medium is proposed. The non-transitory computer-readable storage medium stores instructions that cause a processor to perform a method in accordance with the first aspect of the present disclosure. In a fourth aspect, another non-transitory computer-readable recording medium is proposed. The non-transitory computer-readable recording medium stores a bitstream of a video which is generated by a method performed by an apparatus for video processing. The method comprises: determining a value of a first variable of a merge candidate of a current video block of the video; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; and generating the bitstream based on the adjustment information. In a fifth aspect, a method for storing a bitstream of a video is proposed. The method comprises: determining a value of a first variable of a merge candidate of a current video block of the video; determining adjustment information of the first variable based on at least one factor, the adjustment information comprising at least one of: whether to adjust the value of the first variable, or how to adjust the value of the first variable; generating the bitstream based on the adjustment information; and storing the bitstream in a non-transitory computer-readable recording medium. This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS Through the following detailed description with reference to the accompanying drawings, the above and other objectives, features, and advantages of example embodiments of the present disclosure will become more apparent. In the example embodiments of the present disclosure, the same reference numerals usually refer to the same components. FIG. 1 illustrates a block diagram that illustrates an example video coding system, in accordance with some embodiments of the present disclosure; FIG. 2 illustrates a block diagram that illustrates a first example video encoder, in accordance with some embodiments of the present disclosure; FIG. 3 illustrates a block diagram that illustrates an example video decoder, in accordance with some embodiments of the present disclosure; FIG. 4 illustrates a schematic diagram of positions of spatial merge candidate; FIG. 5 illustrates a schematic diagram of candidate pairs considered for redundancy check of spatial merge candidates;