# US 2025/0386010 A1 · Method, apparatus, and medium for video processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0386010 A1
- Document ID: US20250386010A1
- Status: Published application
- Kind: A1
- Application number: 19/316,886
- Filed: 2025-09-02
- Published: 2025-12-18
- Earliest claimed: 2023-03-02
- Assignees: Bytedance Inc.
- Applicants: Bytedance Inc.
- Inventors: Kai ZHANG; Li ZHANG
- Web page: https://patentgrep.com/patent/US20250386010A1

## CPC

- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/156: Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/1883: {the unit relating to sub-band structure, e.g. hierarchical level, directional tree, e.g. low-high [LH], high-low [HL], high-high [HH]}
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments of the present disclosure provide a solution for video processing. A method for video processing is proposed. In the method, for a conversion between a current video block of a video and a bitstream of the video, a cross component prediction (CCP) candidate list of the current video block is determined, the CCP candidate list comprising at least one CCP candidate. The at least one CCP candidate in the CCP candidate list is reordered. The conversion is performed based on the reordered CCP candidate list.

## Claims

### Claim 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 cross component prediction (CCP) candidate list of the current video block, the CCP candidate list comprising at least one CCP candidate;
reordering the at least one CCP candidate in the CCP candidate list; and
performing the conversion based on the reordered CCP candidate list.

### Claim 2 (depends on 1)

The method of claim 1, wherein the CCP candidate list comprises at least one of: a candidate with CCP information stored in adjacent neighbouring blocks, a candidate with CCP information stored in non-adjacent neighbouring blocks, a candidate with CCP information stored in history-based table, or a candidate with CCP information derived from non-adjacent samples,
wherein information regarding whether to and/or how to reorder the CCP candidate list is indicated in the bitstream, and the information is in at least one of: a block level, a sequence level, a group of pictures level, a picture level, a slice level, or a tile group level, and/or
wherein the information is included in at least one of the following coding structures: a coding tree unit (CTU), a coding unit (CU), a transform unit (TU), a prediction unit (PU), a coding tree block (CTB), a coding block (CB), a transform block (TB), a prediction block (PB), a sequence header, a picture header, a sequence parameter set (SPS), a Video Parameter Set (VPS), a decoded parameter set (DPS), Decoding Capability Information (DCI), a Picture Parameter Set (PPS), an Adaptation Parameter Set (APS), a slice header or a tile group header.

### Claim 3 (depends on 1)

The method of claim 1, wherein a rule for the reordering of the CCP candidate list at an encoder is same as a rule for the reordering of the CCP candidate list at a decoder, and/or
wherein an index of a target CCP candidate in the reordered CCP candidate list is indicated in the bitstream, and the target CCP candidate with the index is used for the conversion.

### Claim 4 (depends on 1)

The method of claim 1, wherein information regarding whether to and/or how to reorder a candidate in the CCP candidate list is based on a position of the candidate in the CCP candidate list,
wherein top M candidates in the CCP candidate list are reordered, M being an integer larger than or equal to 0 and no larger than a size of the CCP candidate list.

### Claim 5 (depends on 1)

The method of claim 1, wherein information regarding whether to and/or how to reorder a candidate in the CCP candidate list is based on at least one of: a type of the candidate, or CCP information of the candidate,
wherein a candidate with a feature in the CCP candidate list is put forward in reordering, or
wherein a candidate with a feature in the CCP candidate list is put backward in reordering, or
wherein a candidate with a feature is not involved in reordering.

### Claim 6 (depends on 5)

The method of claim 5, wherein the feature comprises at least one of:
the candidate being a default CCP candidate to fulfill the CCP candidate list,
the candidate being with CCP information stored in at least one adjacent neighboring block,
the candidate being with CCP information stored in at least one non-adjacent neighboring block,
the candidate being with CCP information stored in a block at a location,
the candidate being with CCP information stored in a history-based table,
the candidate being with CCP information stored in an online updated history-based table,
the candidate being with CCP information stored in a stored history-based table,
the candidate being with CCP information stored in a history-based table at an entry,
the candidate being with CCP information,
the candidate being with CCP information derived from non-adjacent samples,
the candidate being with CCP information derived from a non-adjacent sample at a location, or
the candidate being associated with a CCP approach,
wherein the CCP approach comprises at least one of:
a cross-component linear model (CCLM),
a CCLM based on top neighboring samples of the current video block (CCLM-T),
a CCLM based on left neighboring samples of the current video block (CCLM-L),
a multi-model based CCLM (MM-CCLM),
a multi-model based CCLM-T (MM-CCCM-T),
a multi-model based CCLM-L (MM-CCCM-L),
a convolutional cross-component model (CCCM),
a CCCM based on top neighboring samples of the current video block (CCCM-T),
a CCCM based on left neighboring samples of the current video block (CCCM-L),
a multi-model based CCCM (MM-CCCM),
a multi-model based CCCM-T (MM-CCCM-T),
a multi-model based CCCM-L (MM-CCCM-L),
a gradient linear model (GLM) using down-sampling filters,
a GLM with luma using down-sampling filters,
a gradient and location based CCCM (GL-CCCM), or
a CCCM using non-downsampled luma samples.

### Claim 7 (depends on 1)

The method of claim 1, wherein the reordering is conducted in a conditional approach,
wherein if the number of candidates in the CCP candidate list is smaller than a threshold, the reordering is skipped, or
wherein the reordering is skipped based on coding information, the coding information comprising at least one of: a coding mode, a quantization parameter, neighboring information, a color component, or a color format, or
wherein the reordering is skipped based on at least one of the following conditions is satisfied:
a first condition that a width of the current video block is larger than or equal to a threshold width,
a second condition that a width of the current video block is smaller than or equal to a threshold width,
a third condition that a height of the current video block is larger than or equal to a threshold height,
a fourth condition that a height of the current video block is smaller than or equal to a threshold height,
a fifth condition that a size of the current video block is larger than or equal to a threshold size, or
a sixth condition that a size of the current video block is smaller than or equal to a threshold size.

### Claim 8 (depends on 1)

The method of claim 1, wherein the reordering is performed once for at least two color components, wherein the at least two color components comprises Cb and Cr, or
wherein the reordering is performed individually for different color components, the different color components comprising Cb and Cr.

### Claim 9 (depends on 1)

The method of claim 1, wherein the reordering the CCP candidate list is based on a cost comparison,
wherein for each candidate in the CCP candidate list involved in the reordering, a cost associated with the candidate is determined,
wherein involved candidates in the CCP candidate list is put in an ascending order based on costs associated with the involved candidates, or
wherein involved candidates in the CCP candidate list is put in a descending order based on costs associated with the involved candidates.

### Claim 10 (depends on 9)

The method of claim 9, wherein a cost associated with a candidate in the CCP candidate list comprises a template cost, the template cost being determined based on reconstructed samples neighboring to the current video block, the reconstructed samples corresponding to a template,
wherein if reconstructed samples left to the current video block are available, the template consists of the reconstructed samples left to the current video block, or
wherein if reconstructed samples above to the current video block are available, the template consists of the reconstructed samples above to the current video block, or
wherein if reconstructed samples left to or above to the current video block are available, the template consists of the reconstructed samples left to or above to the current video block.

### Claim 11 (depends on 10)

The method of claim 10, wherein a cost of a candidate in the CCP candidate list is determined in a procedure, the procedure comprising at least one of:
a first step for determining a CCP on samples of a template of the current video block; or
a second step for determining a distortion between prediction samples and reconstruction samples of the template to be the cost,
wherein the CCP is applied to the template in a same approach to that on the current video block with a CCP approach associated with the candidate,
wherein luma samples corresponding to an area of the template is obtained by a down-sampling approach required by the candidate.

### Claim 12 (depends on 11)

The method of claim 11, wherein a CCP model of the candidate being used to generate a prediction of the current video block is used to determine the prediction samples of the template,
wherein when determining a prediction sample of the template with the CCP model, the prediction sample is modified,
wherein an offset of the template is added to the prediction sample,
wherein the offset of the template is determined by an approach for determining an offset for CCP prediction samples in the current video block.

### Claim 13 (depends on 11)

The method of claim 11, wherein a threshold used to separate at least two models in the current video block is used to separate models in the template,
wherein the current video block is in at least one of: a multi-model based convolutional cross-component model (MM-CCCM), or a multi-model based cross-component linear model (MM-CCLM), and/or
wherein the distortion comprises at least one of: a sum of absolute difference (SAD), a sum of squared difference (SSD), a mean removal SAD, or a sum of absolute transformed difference (SATD).

### Claim 14 (depends on 11)

The method of claim 11, wherein the cost is determined separately for different color components, the color components comprising a Cb component and a Cr component,
wherein the cost on a single color component is used to reorder candidates in the CCP candidate list, or
wherein a total cost on a plurality of color components is used to reorder candidates in the CCP candidate list, the plurality of color components comprising a Cb component and a Cr component.

### Claim 15 (depends on 1)

The method of claim 1, wherein potential CCP candidates are reordered when determining the CCP candidate list,
wherein a potential CCP candidate has a feature,
wherein the feature comprises at least one of:
the potential CCP candidate being a default CCP candidate to fulfill the CCP candidate list,
the potential CCP candidate being with CCP information stored in at least one adjacent neighboring block,
the potential CCP candidate being with CCP information stored in at least one non-adjacent neighboring block,
the potential CCP candidate being with CCP information stored in a block at a location,
the potential CCP candidate being with CCP information stored in a history-based table,
the potential CCP candidate being with CCP information stored in an online updated history-based table,
the potential CCP candidate being with CCP information stored in a stored history-based table,
the potential CCP candidate being with CCP information stored in a history-based table at an entry,
the potential CCP candidate being with CCP information, or
the potential CCP candidate being with CCP information derived from non-adjacent samples.

### Claim 16 (depends on 15)

The method of claim 15, wherein all or some of the potential CCP candidates are checked and reordered, and top N potential CCP candidates is added into the CCP candidate list, N being an integer greater than or equal to 0, wherein the top N potential CCP candidates keep the order when the top N potential CCP candidates are in the CCP candidate list, or
wherein the reordering of the potential CCP candidates is based on a comparison on costs of the potential CCP candidates.

### Claim 17 (depends on 1)

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.

### Claim 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 cross component prediction (CCP) candidate list of the current video block, the CCP candidate list comprising at least one CCP candidate;
reorder the at least one CCP candidate in the CCP candidate list; and
perform the conversion based on the reordered CCP candidate list.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to perform acts comprising:
determining, for a conversion between a current video block of a video and a bitstream of the video, a cross component prediction (CCP) candidate list of the current video block, the CCP candidate list comprising at least one CCP candidate;
reordering the at least one CCP candidate in the CCP candidate list; and
performing the conversion based on the reordered CCP candidate list.

### Claim 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 cross component prediction (CCP) candidate list of a current video block of the video, the CCP candidate list comprising at least one CCP candidate;
reordering the at least one CCP candidate in the CCP candidate list; and
generating the bitstream based on the reordered CCP candidate list.
