Video data decodification and codification methods, video data decodification and codification devices, decodification and codification appliances, and legível mídia by computer
Intra prediction using a cross-component linear model addresses the challenge of balancing video quality and bandwidth in high-resolution video transmission by predicting chroma samples from luma samples, enhancing coding efficiency and reducing bandwidth needs.
Patent Information
- Application Number
- BR122026026626
- Authority / Receiving Office
- BR · BR
- Patent Type
- Applications
- Publication Date
- 2026-11-17
AI Technical Summary
Existing video coding standards face challenges in balancing video quality with reduced bandwidth requirements, particularly in high-resolution video transmission, where compromises are often necessary to manage larger data streams.
Intra prediction using a cross-component linear model (CCLM) is employed to predict chroma samples from luma samples, allowing for flexible video coding by determining linear model parameters based on selected pairs of luma and chroma values from neighboring samples, enabling efficient decoding and encoding of chroma blocks.
This approach enhances video quality while reducing bandwidth requirements, offering improved flexibility and efficiency in video coding processes.
Smart Images

Figure 00000000_0000_ABST
Description
1 / 81 “METHODS OF DECODING AND ENCODING VIDEO DATA, DEVICES FOR DECODING AND ENCODING VIDEO DATA, DECODING AND ENCODING APPARATUS, AND COMPUTER-READABLE MEDIA” Separated from BR 112021000694-0, dated 07 / 16 / 2019. TECHNICAL FIELD
[0001] The modalities of the present disclosure relate, in general, to techniques for encoding and decoding video data, and relate, in particular, to techniques for intra-prediction using a cross-component linear model (CCLM). FUNDAMENTALS
[0002] Digital video has been widely used since the introduction of the digital versatile disc (DVD). Besides distributing video programs using DVDs, nowadays video programs can be transmitted using wired computer networks (such as the Internet) or wireless communication networks. Before transmitting video data using a transmission medium, the video is encoded. A viewer receives the encoded video and uses a viewing device to decode and display the video. Over the years, video quality has been improved due to higher resolutions, color depths, and frame rates, for example. The improved quality in transmitted video data has led to larger data streams, and larger data streams are commonly carried over the Internet and mobile communication networks.
[0003] Higher resolution videos typically require more bandwidth, as they carry more information. In order to reduce bandwidth requirements, video coding schemes involving video compression have been introduced. When video is encoded, bandwidth requirements (or corresponding memory requirements in the case of storage) are reduced compared to unencoded video. Often, this reduction comes at the cost of quality. Thus, efforts are made to try to find a balance between bandwidth requirements and quality in video coding standards.
[0004] Given the constant need to improve quality and reduce bandwidth requirements, solutions that maintain the Petition 870260107948, dated 10 / 21 / 2026, page 38 / 140 2 / 81 quality with reduced bandwidth requirements or improve quality while maintaining bandwidth requirements are still desired. Sometimes, compromises between the two may be acceptable. For example, it may be acceptable to increase bandwidth requirements if the quality improvement is significant.
[0005] High-Efficiency Video Coding (HEVC) is a commonly known video coding scheme. In HEVC, a coding unit (CU) is divided into multiple prediction units (PUs) or transform units (TUs). A next-generation video coding standard, the Versatile Video Coding (VVC) standard, is the latest joint video coding project of the Video Coding Experts Group (VCEG) of the International Union for Telecommunication Standardization Sector (ITU-T) and the Moving Picture Experts Group (MPEG) of the International Organization for Standardization / International Electrotechnical Commission (ISO / IEC). The two standardization organizations are working together in a partnership known as the Joint Video Exploration Team (JVET). The VVC standard is also referred to as the ITU-T H.266 standard or Next-Generation Video Coding (NGVC) standard.In the VVC standard, the concepts of multiple partition types, that is, the separation of the concepts of CU, PU, and TU, are removed, except when necessary for CUs that have a size too large for the maximum transform length, and VVC supports more flexibility for CU partition formats. SUMMARY
[0006] The embodiments of the present application provide apparatus and methods for encoding and decoding video data. In particular, by using luma samples to predict chroma samples by means of intra prediction as part of a video coding mechanism, intra prediction coding using a linear cross-component model can be achieved in a flexible manner.
[0007] The particular modalities are provided in the attached independent claims, with other modalities in the dependent claims.
[0008] According to a first aspect, the revelation refers to a method of decoding video data. The method comprises: Petition 870260107948, dated 10 / 21 / 2026, pp. 39 / 140 3 / 81 determine a luma block that corresponds to a chroma block; determine a set of reduced-sampled reconstructed neighboring luma samples, wherein the reduced-sampled reconstructed neighboring luma sample set comprises a plurality of reduced-sampled reconstructed luma samples that are above the luma block, and / or a plurality of reduced-sampled reconstructed luma samples that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reduced-sampled reconstructed luma samples with the maximum value and N reconstructed chroma samples that correspond to the N reduced-sampled reconstructed luma samples with the maximum luma values, and / or M reduced-sampled reconstructed luma samples with the minimum luma value and M reconstructed chroma samples that correspond to the M reduced-sampled luma samples with the minimum value, where the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, where M, N are positive integers greater than 1; Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; To determine a predictive block based on one or more linear model parameters; and to decode, by linear model prediction (LM), the chroma block based on the predictive block. Where linear model prediction (LM) comprises cross-component linear model prediction, multidirectional linear model (MDLM), and MMLM.
[0009] In one possible form of implementation of the method according to the first aspect as such, wherein the set of reconstructed neighboring luma samples from reduced sampling additionally comprises: a sample of luma that is upper right adjacent outside the luma block and luma samples that are to the right of the upper right adjacent luma sample that is outside the luma block; a sample of lower left neighboring luma outside the luma block and Petition 870260107948, dated 10 / 21 / 2026, page 40 / 140 4 / 81 luma samples that are below the neighboring lower left luma sample outside the luma block.
[0010] In a possible form of deployment of the method according to any prior deployment of the first aspect or the first aspect as such, wherein the plurality of reconstructed luma samples that are above the luma block are reconstructed neighboring luma samples adjacent to the respective upper boundary, and the plurality of reconstructed luma samples that are to the left of the luma block are reconstructed neighboring luma samples adjacent to the respective left boundary.
[0011] In a possible form of deployment of the method according to any prior deployment of the first aspect or the first aspect as such, wherein the set of reconstructed neighboring luma samples (reduced sampling) excludes luma samples that are above a left upper neighboring luma sample outside the luma block, and / or luma samples that are to the left of the left upper neighboring luma sample outside the luma block.
[0012] In a possible form of deployment of the method according to any prior deployment of the first aspect or the first aspect as such, wherein a coordinate of the upper left luma sample of the luma block is (xo, yo), and wherein the reconstructed (reduced sampling) neighboring luma sample set excludes luma samples that have an x coordinate less than xo and a y coordinate less than yo.
[0013] In a possible form of implementation of the method according to any prior implementation of the first aspect or the first aspect as such, wherein, when the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, the step of determining two pairs of luma value and chroma value comprises: determine (or select) two pairs of luma and chroma values based on the difference in chroma value between a chroma value from each of a first plurality of pairs of luma and chroma values and a chroma value from each of a second plurality of pairs of luma and chroma values, where each of the first plurality of pairs is referred to as Petition 870260107948, dated 10 / 21 / 2026, page 41 / 140 5 / 81 pairs of luma value and chroma value comprise one of N reduced-sampled reconstructed luma samples with the maximum value and the corresponding reconstructed neighboring chroma sample, and referred to as each of the second plurality of pairs of luma value and chroma value comprise one of M reduced-sampled reconstructed luma samples with the minimum value and the corresponding reconstructed neighboring chroma sample.
[0014] In a possible form of deployment of the method according to any prior deployment of the first aspect or the first aspect as such, wherein the smallest difference in chroma value is between a chroma value of a first pair of luma value and chroma value and a chroma value of a second pair of luma value and chroma value, and the first pair of luma value and chroma value and the second pair of luma value and chroma value that have the smallest difference in chroma value are chosen as referred to as two pairs of luma value and chroma value; or the largest difference in chroma value between a chroma value of a third pair of luma and chroma values and a chroma value of a fourth pair of luma and chroma values, and the third pair of luma and chroma values and the fourth pair of luma and chroma values that have the largest difference in chroma value are chosen as referred to as two pairs of luma and chroma values.For example, the first pair of luma and chroma values is included in the first plurality of luma and chroma value pairs. For example, the second pair of luma and chroma values is included in the second plurality of luma and chroma value pairs. For example, the third pair of luma and chroma values is included in the first plurality of luma and chroma value pairs. For example, the fourth pair of luma and chroma values is included in the second plurality of luma and chroma value pairs.
[0015] In a possible form of implementation of the method according to any prior implementation of the first aspect or the first aspect as such, wherein, when the N reduced-sampling reconstructed luma samples with the maximum value and / or the M reduced-sampling reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampling reconstructed luma samples, the step of determining two pairs of luma value and chroma value comprises: Petition 870260107948, dated 10 / 21 / 2026, page 42 / 140 6 / 81 Determine a fifth pair of luma and chroma values and a sixth pair of luma and chroma values as referred to as two pairs of luma and chroma values, wherein the corresponding chroma value of the fifth pair of luma and chroma values is the average chroma value of the N reconstructed chroma samples that correspond to the N reduced-sampling reconstructed luma samples with the maximum value, and the corresponding chroma value of the sixth pair of luma and chroma values is the average chroma value of the M reconstructed chroma samples that correspond to the M reduced-sampling reconstructed luma samples with the minimum value. The luma value of the fifth pair of luma and chroma values is the luma value of each of the N reduced-sampling reconstructed luma samples with the maximum value.The luma value of the sixth pair of luma value and chroma value is the luma value of each of the M reduced-sampling reconstructed luma samples with the minimum value.
[0016] In a possible embodiment of the method implementation according to any prior implementation of the first aspect or the first aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set comprises a first reduced-sampling reconstructed neighboring luma sample set and a second reduced-sampling reconstructed neighboring luma sample set, and wherein the first reduced-sampling reconstructed neighboring luma sample set comprises reduced-sampling reconstructed neighboring luma samples with the luma value being less than or equal to a threshold; and the second reduced-sampling reconstructed neighboring luma sample set comprises reduced-sampling reconstructed neighboring luma samples with the luma value being greater than the threshold.
[0017] In a possible form of deployment of the method according to any prior deployment of the first aspect or the first aspect as such, where decoding by LM prediction the chroma block based on the predictive block comprises adding the predictive block to a residual block to reconstruct the chroma block.
[0018] In a possible form of implementation of the method according to any prior implementation of the first aspect or the first aspect Petition 870260107948, dated 10 / 21 / 2026, page 43 / 140 7 / 81 as such, the method additionally comprises: Decode a flag for a current block that includes the luma block and the chroma block, wherein the flag indicates that LM prediction encoding is enabled for the chroma block, and wherein decoding the flag comprises decoding the flag based on a context that includes one or more flags that indicate whether LM prediction encoding is enabled for neighboring blocks.
[0019] According to a second aspect, the invention relates to a method for decoding video data, the method comprises: determine a luma block that corresponds to a chroma block; determine a set of reconstructed neighboring luma samples (reduced sampling), wherein the set of reconstructed neighboring luma samples (reduced sampling) comprises a plurality of reconstructed luma samples (reduced sampling) that are above the luma block, and / or a plurality of reconstructed luma samples (reduced sampling) that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reconstructed luma samples (reduced sampling) and N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling) and / or M reconstructed luma samples (reduced sampling) and M reconstructed chroma samples that correspond to the M luma samples (reduced sampling), wherein the minimum value of the N reconstructed luma samples (reduced sampling) is not less than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reconstructed luma samples (reduced sampling), and the maximum value of the M reconstructed luma samples (reduced sampling) is not greater than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reconstructed luma samples (reduced sampling), and M, N are positive integers greater than 1.In other words, the luma value of any one of the N reduced-sampling reconstructed luma samples is greater than the luma value of any one of the M reduced-sampling reconstructed luma samples, and the sum of N and M is equal to or less than the number of neighboring reduced-sampling reconstructed luma samples. Petition 870260107948, dated 10 / 21 / 2026, page 44 / 140 8 / 81 reduced. Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Determine a predictive block based on one or more linear model parameters; and decode the chroma block based on the predictive block using linear model prediction (LM).
[0020] In one possible form of implementation of the method according to the second aspect as such, where the step of determining two pairs of luma and chroma values comprises: determine a seventh pair of luma and chroma values, and an eighth pair of luma and chroma values as referred to as two pairs of luma and chroma values, wherein the luma value of the seventh pair of luma and chroma values is the average luma value of the said N reconstructed luma samples (reduced sampling), and the chroma value of the seventh pair of luma and chroma values is the average chroma value of the said N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling); and wherein the luma value of the eighth pair of luma value and chroma value is the average luma value of said M reconstructed luma samples (reduced sampling), and the chroma value of the eighth pair of luma value and chroma value is the average chroma value of said M reconstructed chroma samples that correspond to the M reconstructed luma samples (reduced sampling).
[0021] In one possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein the step of determining two pairs of luma value and chroma value comprises: to determine a ninth pair of luma and chroma values, and a tenth pair of luma and chroma values as referred to as two pairs of luma and chroma values, wherein the luma value of the ninth pair of luma and chroma values is the average luma value of the referred N reconstructed (reduced sampling) luma samples within a first range of luma values, and the value Petition 870260107948, dated 10 / 21 / 2026, page 45 / 140 9 / 81 of the chroma of the ninth pair of luma value and chroma value is the average chroma value of said N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling) within the first range of luma values; and wherein the luma value of the tenth pair of luma value and chroma value is the average luma value of said M reconstructed luma samples (reduced sampling) within a second range of luma values, and the chroma value of the tenth pair of luma value and chroma value is the average chroma value of said M reconstructed chroma samples that correspond to the M reconstructed luma samples (reduced sampling) within the second range of luma values; wherein any value of the first range of luma values is greater than any of the values of the second range of luma values.
[0022] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein the first luma value is within a range of [MaxlumaValue-T1, MaxlumaValue]; and / or, the second luma value is within a range of [MinlumaValue, MinlumaValue+T2], where MaxlumaValue and MinlumaValue are, respectively, the maximum luma value and the minimum luma value in the reconstructed neighboring luma sample set from reduced sampling, and T1, T2 are predefined limits.
[0023] In a possible form of implementation of the method according to any prior implementation of the second aspect or the second aspect as such, where M and N are the same, or different.
[0024] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, where M and N are defined based on the block size of the luma block.
[0025] In a possible form of implementation of the method according to any previous implementation of the second aspect or the second aspect as such, where M=(W+H)>>t, N=(W+H)>>r, where the ter are the number of bits shifted to the right.
[0026] In a possible form of implementation of the agreement method Petition 870260107948, dated 10 / 21 / 2026, page 46 / 140 10 / 81 with any prior deployment of the second aspect or the second aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set additionally comprises: a sample of luma that is upper right adjacent outside the luma block and luma samples that are to the right of the upper right adjacent luma sample that is outside the luma block; a sample of luma that is lower left adjacent outside the luma block and luma samples that are below the lower left adjacent luma sample that is outside the luma block.
[0027] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein the plurality of reconstructed luma samples that are above the luma block are reconstructed neighboring luma samples adjacent to the respective upper boundary, and the plurality of reconstructed luma samples that are to the left of the luma block are reconstructed neighboring luma samples adjacent to the respective left boundary.
[0028] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein the set of reconstructed neighboring luma samples (reduced sampling) excludes luma samples that are above a left upper neighboring luma sample outside the luma block, and / or luma samples that are to the left of the left upper neighboring luma sample outside the luma block.
[0029] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein a coordinate of the upper left luma sample of the luma block is (xo, yc), and wherein the reconstructed (reduced sampling) neighboring luma sample set excludes luma samples that have an x coordinate less than xo and a y coordinate less than yc.
[0030] In a possible form of deployment of the method according to any prior deployment of the second aspect or the second aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set comprises a first reduced-sampling reconstructed neighboring luma sample set and a second reduced-sampling reconstructed neighboring luma sample set. Petition 870260107948, dated 10 / 21 / 2026, p. 47 / 140 11 / 81 reduced-sampled reconstructed neighboring luma samples, wherein the first set of reduced-sampled reconstructed neighboring luma samples comprises reduced-sampled reconstructed neighboring luma samples with the luma value being less than or equal to a threshold; and the second set of reduced-sampled reconstructed neighboring luma samples comprises reduced-sampled reconstructed neighboring luma samples with the luma value being greater than the threshold.
[0031] According to a third aspect, the invention relates to a device for decoding video data, the device comprises: a video data memory; and a video decoder, wherein the video decoder is configured to: Determine a luma block that corresponds to a chroma block; to determine a set of reconstructed neighboring luma samples (reduced sampling), wherein the set of reconstructed neighboring luma samples (reduced sampling) comprises a plurality of reconstructed luma samples (reduced sampling) that are above the luma block, and / or a plurality of reconstructed luma samples (reduced sampling) that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reduced-sampled reconstructed luma samples with the maximum value and N reconstructed chroma samples that correspond to the N reduced-sampled reconstructed luma samples with the maximum values, and / or M reduced-sampled reconstructed luma samples with the minimum value and M reconstructed chroma samples that correspond to the M reduced-sampled luma samples with the minimum value, where the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, where M, N are positive integers greater than 1; Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; determine a predictive block based on one or more parameters of Petition 870260107948, dated 10 / 21 / 2026, pp. 48 / 140 12 / 81 linear model; and decode by linear model prediction (LM) the chroma block based on the predictive block.
[0032] In a possible deployment form of the device according to the third aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set additionally comprises: a sample of luma that is upper right adjacent outside the luma block and luma samples that are to the right of the upper right adjacent luma sample that is outside the luma block; a sample of luma that is lower left adjacent outside the luma block and luma samples that are below the lower left adjacent luma sample that is outside the luma block.
[0033] In a possible form of deployment of the method according to any prior deployment of the third aspect or the third aspect as such, wherein the plurality of reconstructed luma samples that are above the luma block are reconstructed neighboring luma samples adjacent to the respective upper boundary, and the plurality of reconstructed luma samples that are to the left of the luma block are reconstructed neighboring luma samples adjacent to the respective left boundary.
[0034] In a possible form of deployment of the method according to any prior deployment of the third aspect or the third aspect as such, wherein the set of reconstructed neighboring luma samples (reduced sampling) excludes luma samples that are above a left upper neighboring luma sample outside the luma block, and / or luma samples that are to the left of the left upper neighboring luma sample outside the luma block.
[0035] In a possible form of deployment of the method according to any prior deployment of the third aspect or the third aspect as such, wherein a coordinate of the upper left luma sample of the luma block is (xo, yo), and wherein the reconstructed (reduced sampling) neighboring luma sample set excludes luma samples that have an x coordinate less than xo and a y coordinate less than yo.
[0036] In a possible form of implementation of the method according to any previous implementation of the third aspect or the third aspect Petition 870260107948, dated 10 / 21 / 2026, pp. 49 / 140 13 / 81 as such, wherein, when the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, to determine two pairs of luma value and chroma value, the video decoder is configured to: To determine (or select) two pairs of luma and chroma values based on the difference in chroma value between a chroma value from each of a first plurality of luma and chroma value pairs and a chroma value from each of a second plurality of luma and chroma value pairs, wherein each of the first plurality of luma and chroma value pairs comprises one of N reduced-sampling reconstructed luma samples with the maximum value and the corresponding reconstructed neighboring chroma sample, and each of the second plurality of luma and chroma value pairs comprises one of M reduced-sampling reconstructed luma samples with the minimum value and the corresponding reconstructed neighboring chroma sample.
[0037] In a possible form of implementation of the method according to any prior implementation of the third aspect or the third aspect as such, wherein the smallest difference in chroma value between a chroma value of a first pair of luma value and chroma value and a chroma value of a second pair of luma value and chroma value, and the first pair of luma value and chroma value and the second pair of luma value and chroma value that have the smallest difference in chroma value are chosen as referred to as two pairs of luma value and chroma value; or the largest difference in chroma value between a chroma value of a third pair of luma and chroma values and a chroma value of a fourth pair of luma and chroma values, and the third pair of luma and chroma values and the fourth pair of luma and chroma values that have the largest difference in chroma value are chosen as referred to as two pairs of luma and chroma values.For example, the first pair of luma and chroma values is included in the first plurality of luma and chroma value pairs. For example, the second pair of luma and chroma values is included in the second plurality of luma and chroma value pairs. For example, the third... Petition 870260107948, dated 10 / 21 / 2026, page 50 / 140 The 14 / 81 luma value and chroma value pair is included in the first plurality of luma value and chroma value pairs. For example, the fourth luma value and chroma value pair is included in the second plurality of luma value and chroma value pairs.
[0038] In a possible form of deployment of the method according to any previous deployment of the third aspect or the third aspect as such, wherein, when the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, to determine two pairs of luma value and chroma value, the video decoder is configured to: Determine a fifth pair of luma and chroma values and a sixth pair of luma and chroma values, as referred to as two pairs of luma and chroma values, wherein the corresponding chroma value of the fifth pair of luma and chroma values is the average chroma value of the N reconstructed chroma samples corresponding to N reduced-sampling reconstructed luma samples with the maximum value, and the corresponding chroma value of the sixth pair of luma and chroma values is the average chroma value of the M reconstructed chroma samples corresponding to M reduced-sampling reconstructed luma samples with the minimum value. The luma value of the fifth pair of luma and chroma values is the luma value of each of the N reduced-sampling reconstructed luma samples with the maximum value.The luma value of the sixth pair of luma value and chroma value is the luma value of each of the M reduced-sampling reconstructed luma samples with the minimum value.
[0039] In a possible embodiment of the method in accordance with any prior deployment of the third aspect or the third aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set comprises a first reduced-sampling reconstructed neighboring luma sample set and a second reduced-sampling reconstructed neighboring luma sample set, and wherein the first reduced-sampling reconstructed neighboring luma sample set Petition 870260107948, dated 10 / 21 / 2026, page 51 / 140 15 / 81 reduced comprises reconstructed neighboring luma samples from reduced sampling with the luma value being less than or equal to a threshold; and the second set of reconstructed neighboring luma samples from reduced sampling comprises reconstructed neighboring luma samples from reduced sampling with the luma value being greater than the threshold.
[0040] In one possible form of deployment of the method according to any prior deployment of the third aspect or the third aspect as such, wherein, to decode by LM prediction the chroma block based on the predictive block, the video decoder is configured to add the predictive block to a residual block to reconstruct the chroma block.
[0041] In a possible form of deployment of the method according to any previous deployment of the third aspect or the third aspect as such, where the video decoder is configured to: Decode a flag for a current block that includes the luma block and the chroma block, wherein the flag indicates that LM prediction encoding is enabled for the chroma block, and wherein decoding the flag comprises decoding the flag based on a context that includes one or more flags that indicate whether LM prediction encoding is enabled for neighboring blocks.
[0042] According to a fourth aspect, the invention relates to a device for decoding video data, the device comprises: a video data memory, and a video decoder; where the video decoder is configured to: Determine a luma block that corresponds to a chroma block; to determine a set of reconstructed neighboring luma samples (reduced sampling), wherein the set of reconstructed neighboring luma samples (reduced sampling) comprises a plurality of reconstructed luma samples (reduced sampling) that are above the luma block, and / or a plurality of reconstructed luma samples (reduced sampling) that are to the left of the luma block; Determine two pairs of luma and chroma values based on N reconstructed luma samples (reduced sampling) and N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling), and / or M reconstructed luma samples (reduced sampling). Petition 870260107948, dated 10 / 21 / 2026, page 52 / 140 16 / 81 reduced) and M reconstructed chroma samples that correspond to the M reduced-sampled luma samples, wherein the minimum value of the N reduced-sampled reconstructed luma samples is not less than the luma value of the remaining reduced-sampled reconstructed luma samples from the set of neighboring reduced-sampled reconstructed luma samples, and the maximum value of the M reduced-sampled reconstructed luma samples is not greater than the luma value of the remaining reduced-sampled reconstructed luma samples from the set of neighboring reduced-sampled reconstructed luma samples, and M, N are positive integers greater than 1;In other words, the luma value of any one of the N reduced-sampling reconstructed luma samples is greater than the luma value according to any one of the M reduced-sampling reconstructed luma samples, and the sum of N and M is equal to or less than the number of neighboring reduced-sampling reconstructed luma samples. Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Determine a predictive block based on one or more linear model parameters; and decode the chroma block based on the predictive block using linear model prediction (LM).
[0043] In one possible form of implementation of the method according to the fourth aspect as such, in which to determine two pairs of luma value and chroma value, the video decoder is configured to: determine a seventh pair of luma and chroma values, and an eighth pair of luma and chroma values as referred to as two pairs of luma and chroma values, wherein the luma value of the seventh pair of luma and chroma values is the average luma value of the aforementioned N reconstructed luma samples (reduced sampling), and the chroma value of the seventh pair of luma and chroma values is the average chroma value of the aforementioned N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling); and wherein the luma value of the eighth pair of luma and chroma values Petition 870260107948, dated 10 / 21 / 2026, page 53 / 140 17 / 81 is the average luma value of the aforementioned M reconstructed luma samples (reduced sampling), and the chroma value of the eighth pair of luma value and chroma value is the average chroma value of the aforementioned M reconstructed chroma samples that correspond to the M reconstructed luma samples (reduced sampling).
[0044] In a possible form of deployment of the method according to any previous deployment of the fourth aspect or the fourth aspect as such, in which to determine two pairs of luma value and chroma value, the video decoder is configured to: determine a ninth pair of luma and chroma values, and a tenth pair of luma and chroma values as referred to as two pairs of luma and chroma values, wherein the luma value of the ninth pair of luma and chroma values is the average luma value of the said N reconstructed (reduced sampling) luma samples within a first range of luma values, and the chroma value of the ninth pair of luma and chroma values is the average chroma value of the said N reconstructed chroma samples that correspond to the N reconstructed (reduced sampling) luma samples within the first range of luma values;wherein the luma value of the tenth pair of luma value and chroma value is the average luma value of said M reconstructed (reduced sampling) luma samples within a second range of luma values, and the chroma value of the tenth pair of luma value and chroma value is the average chroma value of said M reconstructed chroma samples that correspond to the M reconstructed (reduced sampling) luma samples within the second range of luma values; wherein any value in the first range of luma values is greater than any value in the second range of luma values.
[0045] In a possible form of implementation of the method according to any previous implementation of the fourth aspect or the fourth aspect as such, where the first luma value is within a range of [MaxlumaValue-T1, MaxlumaValue]; and / or, the second luma value is within a range of [MinlumaValue, MinlumaValue+T2], where MaxlumaValue and MinlumaValue are, respectively, the maximum luma value and the minimum luma value. Petition 870260107948, dated 10 / 21 / 2026, p. 54 / 140 18 / 81 minimum in the reduced-sampling reconstructed neighboring luma sample set, and Ti, T2 are predefined limits.
[0046] In a possible form of implementation of the method according to any previous implementation of the fourth aspect or the fourth aspect as such, where M and N are the same, or different.
[0047] In a possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, where M and N are defined based on the block size of the luma block.
[0048] In a possible form of implementation of the method according to any previous implementation of the fourth aspect or the fourth aspect as such, where M=(W+H)>>t, N=(W+H)>>r, where t, er are the number of bits shifted to the right.
[0049] In a possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set additionally comprises: a sample of luma that is upper right adjacent outside the luma block and luma samples that are to the right of the upper right adjacent luma sample that is outside the luma block; a sample of luma that is lower left adjacent outside the luma block and luma samples that are below the lower left adjacent luma sample that is outside the luma block.
[0050] In one possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, wherein the plurality of reconstructed luma samples that are above the luma block are reconstructed neighboring luma samples adjacent to the respective upper boundary, and the plurality of reconstructed luma samples that are to the left of the luma block are reconstructed neighboring luma samples adjacent to the respective left boundary.
[0051] In one possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, where the set of reconstructed neighboring luma samples (reduced sampling) excludes luma samples that are above a sample Petition 870260107948, dated 10 / 21 / 2026, p. 55 / 140 19 / 81 of the upper left adjacent luma outside the luma block, and / or luma samples that are to the left of the upper left adjacent luma sample outside the luma block.
[0052] In one possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, wherein a coordinate of the upper left luma sample of the luma block is (x0, yc), and wherein the reconstructed (reduced sampling) neighboring luma sample set excludes luma samples that have an x coordinate less than xc and a y coordinate less than yc.
[0053] In a possible embodiment of the method in accordance with any prior deployment of the fourth aspect or the fourth aspect as such, wherein the reduced-sampling reconstructed neighboring luma sample set comprises a first reduced-sampling reconstructed neighboring luma sample set and a second reduced-sampling reconstructed neighboring luma sample set, and wherein the first reduced-sampling reconstructed neighboring luma sample set comprises reduced-sampling reconstructed neighboring luma samples with the luma value being less than or equal to a threshold; and the second reduced-sampling reconstructed neighboring luma sample set comprises reduced-sampling reconstructed neighboring luma samples with the luma value being greater than the threshold.
[0054] In one possible form of deployment of the method according to any prior deployment of the fourth aspect or the fourth aspect as such, in order to decode by LM prediction the chroma block based on the predictive block, the video decoder is configured to add the predictive block to a residual block to reconstruct the chroma block.
[0055] In a possible form of deployment of the method in accordance with any previous deployment of the fourth aspect or the fourth aspect as such, where the video decoder is configured to: Decoding a flag for a current block that includes the luma block and the chroma block, wherein the flag indicates that LM prediction encoding is enabled for the chroma block, and wherein decoding the flag comprises decoding the flag based on a context that includes one or more flags indicating whether prediction encoding is enabled. Petition 870260107948, dated 10 / 21 / 2026, p. 56 / 140 LM's 20 / 81 is enabled for neighboring blocks.
[0056] The method according to the first aspect of the invention can be carried out by the apparatus according to the third aspect of the invention. The additional features and embodiments of the apparatus according to the third aspect of the invention correspond to the features and embodiments of the method according to the first aspect of the invention.
[0057] The method according to the second aspect of the invention can be carried out by the apparatus according to the fourth aspect of the invention. The additional features and embodiments of the apparatus according to the fourth aspect of the invention correspond to the features and embodiments of the method according to the second aspect of the invention.
[0058] According to a fifth aspect, the invention relates to a method of encoding video data, the method comprises: Determine a luma block that corresponds to a chroma block; to determine a set of reduced-sampled reconstructed neighboring luma samples, wherein the set of reduced-sampled reconstructed neighboring luma samples comprises a plurality of reduced-sampled reconstructed luma samples that are above the luma block, and / or a plurality of reduced-sampled reconstructed luma samples that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reduced-sampled reconstructed luma samples with the maximum value and N reconstructed chroma samples that correspond to the N reduced-sampled reconstructed luma samples with the maximum luma values, and / or M reduced-sampled reconstructed luma samples with the minimum value and M reconstructed chroma samples that correspond to the M reduced-sampled luma samples with the minimum luma value, where the N reduced-sampled reconstructed luma samples with the maximum luma value and / or the M reduced-sampled reconstructed luma samples with the minimum luma value are included in the set of neighboring reduced-sampled reconstructed luma samples, where M, N are positive integers greater than 1; Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Petition 870260107948, dated 10 / 21 / 2026, page 57 / 140 21 / 81 determine a predictive block based on one or more linear model parameters; and encode by linear model prediction (LM) the chroma block based on the predictive block.
[0059] According to a sixth aspect, the invention relates to a method of encoding video data, the method comprises: determine a luma block that corresponds to a chroma block; determine a set of reconstructed neighboring luma samples (reduced sampling), wherein the set of reconstructed neighboring luma samples (reduced sampling) comprises a plurality of reconstructed luma samples (reduced sampling) that are above the luma block, and / or a plurality of reconstructed luma samples (reduced sampling) that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reconstructed luma samples (reduced sampling) and N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling), and / or M reconstructed luma samples (reduced sampling) and M reconstructed chroma samples that correspond to the M luma samples (reduced sampling), wherein the minimum value of the N reconstructed luma samples (reduced sampling) is not less than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reconstructed luma samples (reduced sampling), and the maximum value of the M reconstructed luma samples (reduced sampling) is not greater than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reduced-sampling reconstructed luma samples, and M, N are positive integers greater than 1;In other words, the luma value of any one of the N reduced-sampling reconstructed luma samples is greater than the luma value of any one of the M reduced-sampling reconstructed luma samples, and the sum of N and M is equal to or less than the number of neighboring reduced-sampling reconstructed luma samples. Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Petition 870260107948, dated 10 / 21 / 2026, page 58 / 140 22 / 81 determine a predictive block based on one or more linear model parameters; and encode by linear model prediction (LM) the chroma block based on the predictive block.
[0060] According to a seventh aspect, the invention relates to a device for encoding video data, the device comprises: a video data memory; and a video encoder, wherein the video encoder is configured to: Determine a luma block that corresponds to a chroma block; to determine a set of reduced-sampled reconstructed neighboring luma samples, wherein the set of reduced-sampled reconstructed neighboring luma samples comprises a plurality of reduced-sampled reconstructed luma samples that are above the luma block, and / or a plurality of reduced-sampled reconstructed luma samples that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reduced-sampled reconstructed luma samples with the maximum value and N reconstructed chroma samples that correspond to the N reduced-sampled reconstructed luma samples with the maximum values, and / or M reduced-sampled reconstructed luma samples with the minimum value and M reconstructed chroma samples that correspond to the M reduced-sampled luma samples with the minimum value, where the N reduced-sampled reconstructed luma samples with the maximum value and / or the M reduced-sampled reconstructed luma samples with the minimum value are included in the set of neighboring reduced-sampled reconstructed luma samples, where M, N are positive integers greater than 1; Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Determine a predictive block based on one or more linear model parameters; and encode the chroma block based on the predictive block using linear model prediction (LM). Petition 870260107948, dated 10 / 21 / 2026, page 59 / 140 23 / 81
[0061] According to an eighth aspect, the invention relates to a device for encoding video data, the device comprises: a video data memory; and a video encoder, wherein the video encoder is configured to: Determine a luma block that corresponds to a chroma block; to determine a set of reconstructed neighboring luma samples (reduced sampling), wherein the set of reconstructed neighboring luma samples (reduced sampling) comprises a plurality of reconstructed luma samples (reduced sampling) that are above the luma block, and / or a plurality of reconstructed luma samples (reduced sampling) that are to the left of the luma block; Determine two pairs of luma and chroma values according to N reconstructed luma samples (reduced sampling) and N reconstructed chroma samples that correspond to the N reconstructed luma samples (reduced sampling) and / or M reconstructed luma samples (reduced sampling) and M reconstructed chroma samples that correspond to the M luma samples (reduced sampling), wherein the minimum value of the N reconstructed luma samples (reduced sampling) is not less than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reconstructed luma samples (reduced sampling), and the maximum value of the M reconstructed luma samples (reduced sampling) is not greater than the luma value of the remaining reconstructed luma samples (reduced sampling) from the set of neighboring reduced-sampled reconstructed luma samples, and M, N are positive integers greater than 1; Determine one or more linear model parameters based on the two determined pairs of luma and chroma values; Determine a predictive block based on one or more linear model parameters; and encode the chroma block based on the predictive block using linear model prediction (LM).
[0062] The coding apparatus according to any preceding aspect may be further extended by the resources of the method of Petition 870260107948, dated 10 / 21 / 2026, pp. 60 / 140 24 / 81 coding according to the corresponding antecedent aspect or the implementations thereof to derive, in an additional manner, implementations of the coding apparatus according to any antecedent aspect.
[0063] The encoding method according to any antecedent aspect can be further extended by the resources of the decoding method according to the corresponding antecedent aspect or by implementations thereof to further derive implementations of the encoding method according to any antecedent aspect.
[0064] A computer-readable medium that stores instructions which, when executed on a processor, cause the processor to perform any of the above methods in accordance with any prior implementation of any prior aspect or any prior aspect as such.
[0065] A decoding apparatus is provided, comprising modules / units / components / circuits to perform at least one part of the steps of the above method in accordance with any prior implementation of any prior aspect or any prior aspect as such.
[0066] A decoding apparatus is provided, comprising a memory that stores instructions; and a processor coupled to the memory, the processor configured to execute the instructions stored in the memory to make the processor perform the above method in accordance with any prior deployment of any prior aspect or any prior aspect as such.
[0067] A computer-readable storage medium is provided, which has a program recorded on it; wherein the program causes the computer to execute method according to any prior deployment of any prior aspect or any prior aspect as such.
[0068] A computer program is provided, which is configured to cause a computer to execute a method in accordance with any prior deployment of any prior aspect or any prior aspect as such.
[0069] For clarity, any of the preceding modalities may be combined with any one or more of the other preceding modalities to create a new modality within the scope of Petition 870260107948, dated 10 / 21 / 2026, page 61 / 140 25 / 81 present revelation.
[0070] These and other features will be more clearly understood from the detailed description below, obtained in conjunction with the attached drawings and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The following content is a brief description of the attached drawings used to describe the embodiments of the present application.
[0072] Figure 1A is a block diagram of a video data encoding system in which embodiments of the present disclosure can be implemented.
[0073] Figure 1B is a block diagram of another video data encoding system in which modalities of the present disclosure can be implemented.
[0074] Figure 2 is a block diagram of a video data encoder in which embodiments of the present disclosure can be implemented.
[0075] Figure 3 is a block diagram of a video data decoder in which embodiments of the present disclosure can be implemented.
[0076] Figure 4 is a schematic diagram of a video encoding device according to an embodiment of the present disclosure.
[0077] Figure 5 is a simplified block diagram of a video data encoding apparatus in which various embodiments of the present disclosure can be implemented.
[0078] Figure 6 is an illustration of intra-prediction modes of H.265 / HEVC.
[0079] Figure 7 is an illustration of reference samples.
[0080] Figure 8 is a conceptual diagram illustrating nominal vertical and horizontal relative locations of luma and chroma samples.
[0081] Figure 9, which includes Figure 9A and Figure 9B, is a schematic diagram illustrating an exemplary mechanism for performing intra-cross-component linear model (CCLM) prediction. Figure 9A illustrates an example of reconstructed neighboring pixels of a colocalized luma block. Figure 9B illustrates an example of reconstructed neighboring pixels of a chroma block. Petition 870260107948, dated 10 / 21 / 2026, page 62 / 140 26 / 81
[0082] Figure 10 is a conceptual diagram that illustrates an example of luma positions and chroma positions for sample reduction of a luma block to generate a predictive block.
[0083] Figure 11 is a conceptual diagram that illustrates another example of luma positions and chroma positions for sample reduction of a luma block to generate a predictive block.
[0084] Figures 12 to 15 are schematic diagrams that illustrate exemplary mechanisms for reducing sampling to support intra-component cross-prediction.
[0085] Figure 16 is an illustration of the straight line between minimum and maximum luma values.
[0086] Figure 17 is an illustration of cross-component intra_A prediction mode (CCIP_A).
[0087] Figure 18 is an illustration of cross-component intra_L prediction mode (CCIP_L).
[0088] Figure 19 is a graph that illustrates an exemplary mechanism for determining linear model parameters to support intra-CCLM prediction of multiple models (MMLM).
[0089] Figure 20 is a schematic diagram illustrating exemplary mechanisms using top and left neighboring samples to support intra-component cross-component prediction.
[0090] Figure 21 is a schematic diagram illustrating exemplary mechanisms with the use of extended samples to support intra-component cross-prediction.
[0091] Figure 22 is a flowchart of a method for a cross-component linear model (CCLM) prediction according to some embodiments of the present disclosure.
[0092] Figure 23 is a flowchart of a video data decoding method using a cross-component linear model (CCLM) prediction according to an embodiment of the present disclosure.
[0093] Figure 24 is a flowchart of a video data encoding method using a cross-component linear model (CCLM) prediction according to an embodiment of the present disclosure.
[0094] Figure 25 is a flowchart of a decoding method. Petition 870260107948, dated 10 / 21 / 2026, page 63 / 140 27 / 81 of video data using a cross-component linear model (CCLM) prediction, according to another embodiment of the present disclosure.
[0095] Figure 26 is an illustrative flowchart of a video data encoding method using a cross-component linear model (CCLM) prediction according to another embodiment of the present disclosure.
[0096] In the various figures, identical numerical references will be used for identical or functionally equivalent features. DETAILED DESCRIPTION
[0097] It should be understood initially that, although an illustrative implementation of one or more embodiments is provided below, the disclosed systems and / or methods may be implemented using any number of techniques, whether currently known or in existence. The disclosure shall in no way be limited to the illustrative implementations, drawings and techniques illustrated below, including the exemplary designs and implementations illustrated and described herein, but may be modified within the scope of the appended claims together with their entire scope of equivalents.
[0098] Figure 1A is a block diagram of a video data encoding system in which embodiments of the present disclosure can be deployed. As shown in Figure 1A, the encoding system 10 includes a source device 12 that provides encoded video data, and a destination device 14 that decodes the encoded video data provided by the source device 12. In particular, the source device 12 can provide the video data to the destination device 14 via a transport medium 16.Source device 12 and destination device 14 can be any of a wide range of electronic devices, such as desktop computers, notebook computers (i.e., laptop computers), tablet computers, signal converters, cellular telephone headsets (i.e., “smart” phones), televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, or similar devices. In some cases, source device 12 and destination device 14 may be equipped for wireless communication.
[0099] Target device 14 can receive video data Petition 870260107948, dated 10 / 21 / 2026, page 64 / 140 28 / 81 encoded via a transport medium 16. The transport medium 16 can be any type of media or device capable of transporting the encoded video data from the source device 12 to the destination device 14. In one example, the transport medium 16 can be a communication medium that enables the source device 12 to transmit encoded video data directly to the destination device 14 in real time. The encoded video data can be modulated according to a communication standard, such as a wireless communication protocol, and the modulated encoded video data is transmitted to the destination device 14. The communication medium can be any wired or wireless communication medium, such as a radio frequency (RF) spectrum wave or one or more physical transmission lines.The communication media can be part of a packet-based network, such as a local area network, a wide area network, or a global network, such as the Internet. The communication media can include routers, switches, base stations, or any other equipment that may be useful for facilitating communication from the source device 12 to the destination device 14.
[0100] On source device 12, encoded data can be output from an output interface 22 to a storage device (not shown in Figure 1A). Similarly, encoded data can be accessed from the storage device via an input interface 28 of destination device 14. The storage device may include any of a variety of distributed or locally accessed data storage media, such as hard drives, Blu-ray™ discs, digital video discs (DVDs), Compact Disc Read-Only Memory (CD-ROMs), flash memory, volatile or non-volatile memory, or any other digital storage media suitable for storing encoded video data.
[0101] In a further example, the storage device may correspond to a file server or other intermediate storage device that can store the encoded video generated by the source device 12. The destination device 14 can access video data stored from the storage device via streaming or download. The file server can be any Petition 870260107948, dated 10 / 21 / 2026, page 65 / 140 29 / 81 type of server with the ability to store encoded video data and transmit that encoded video data to the target device 14. Exemplary file servers include a web server (e.g., for a web site), a File Transfer Protocol (FTP) server, network-attached storage (NAS) devices, or a local disk drive. The target device 14 can access the encoded video data through any standard data connection, including an internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., digital subscriber line (DSL), cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.The transmission of encoded video data from the storage device can be a continuous stream, a download stream, or a combination of both.
[0102] The techniques of this disclosure are not necessarily limited to wireless applications or configurations. The techniques can be applied to video encoding supporting any of a variety of multimedia applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, continuous video transmissions over the Internet, such as dynamic adaptive continuous streaming over HTTP (DASH), digital video that is encoded on a data storage medium, decoding of digital video stored on a data storage medium, or other applications. In some examples, the encoding system 10 can be configured to support one-way or two-way video transmission to support applications such as continuous video streaming, video playback, video broadcasting, and / or video telephony.
[0103] In the example in Figure 1A, source device 12 includes a video source 18, a video encoder 20, and an output interface 22. Destination device 14 includes an input interface 28, a video decoder 30, and a display device 32. In accordance with this disclosure, the video encoder 20 of source device 12 and / or the video decoder 30 of destination device 14 can be configured to apply the techniques for bidirectional prediction. In other examples, source device 12 and the Petition 870260107948, dated 10 / 21 / 2026, page 66 / 140 30 / 81 destination device 14 may include other components or arrangements. For example, source device 12 may receive video data from an external video source, such as an external camera. Similarly, destination device 14 may interface with an external display device, instead of including an integrated display device.
[0104] The coding system illustrated in Figure 1A is just one example. The methods for bidirectional prediction can be performed by any digital video encoding or decoding device. Although the techniques of this revelation are generally used by a video encoding device, the techniques can also be used by a video encoder / decoder, which is typically called a “codec”. In addition, the techniques of this revelation can also be used by a video preprocessor. The video encoder and / or video decoder can be a graphics processing unit (GPU) or a similar device.
[0105] Source device 12 and destination device 14 are merely examples of encoding / decoding devices in a video data encoding system wherein source device 12 generates encoded video data for transmission to destination device 14. In some examples, source device 12 and destination device 14 may operate in a substantially symmetrical manner such that each of source device 12 and destination device 14 includes video encoding and decoding components. Therefore, the encoding system 10 may support one-way or two-way video transmission between video devices 12 and 14, for example, for continuous video transmission, video playback, video broadcasting or video telephony.
[0106] The video source 18 of the source device 12 may include a video capture device, such as a video camera, a video file containing previously captured videos and / or a video feed interface for receiving video from a video content provider. As a further alternative, the video source 18 may generate computer graphics-based data as the source video, or a combination of live video, archived video and computer-generated video.
[0107] In some cases, when the video source 18 is a video camera, the source device 12 and the destination device 14 may form Petition 870260107948, dated 10 / 21 / 2026, page 67 / 140 31 / 81 camera phones or video phones. As mentioned above, however, the techniques described in this disclosure may be applicable to video encoding in general, and may be applied to wired and / or wireless applications. In each case, the captured, pre-captured or computer-generated video may be encoded by the video encoder 20. The encoded video information may then be output by the output interface 22 to the transport medium 16.
[0108] Transport media 16 may include transient media, such as wireless broadcast or wired network transmission, or storage media (i.e., non-transient storage media), such as a hard disk, flash drive, compact disc, digital video disc, Blu-ray™ disc, or other computer-readable media. In some examples, a network server (not shown) may receive encoded video data from the source device 12 and provide the encoded video data to the destination device 14, for example, by means of network transmission. Similarly, a computing device in a media production facility, such as a disc stamping facility, may receive encoded video data from the source device 12 and produce a disc containing the encoded video data. Therefore, transport media 16 may be understood as including one or more computer-readable media in various forms, in various examples.
[0109] The input interface 28 of the destination device 14 receives information from the transport media 16. The transport media information 16 may include syntax information defined by the video encoder 20, which is also used by the video decoder 30, including syntax elements that describe block characteristics and / or processing and other encoded units, for example, group of images (GOPs). The display device 32 displays the decoded video data to a user, and may include any of a variety of display devices, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, an organic light-emitting diode (OLED) display, or other types of display devices.
[0110] The video encoder 20 and the video decoder 30 can operate according to a video encoding standard, such as the standard of Petition 870260107948, dated 10 / 21 / 2026, pp. 68 / 140 32 / 81 High Efficiency Video Coding (H EVC) is currently under development and may conform to an HEVC Test Model (HM). Alternatively, video encoder 20 and video decoder 30 may operate according to other proprietary or industry standards, such as the International Telecommunication Union (ITU-T) Telecommunication Standardization Sector standard H.264, alternatively referred to as the Moving Picture Experts Group (MPEG)-4, Part 10, Advanced Video Coding (AVC), H.265 / HEVC, or extensions of such standards. The techniques provided by this disclosure, however, are not limited to any particular coding standard. Other examples of video coding standards include MPEG-2 and ITU-T H.263.Although not shown in Figure 1A, in some respects, the video encoder 20 and the video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate multiplexer-demultiplexer (MUX-DEMUX) units or other hardware and software, to operate audio and video encoding in a common data stream or separate data streams. If applicable, the MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol or other protocols, such as the User Datagram Protocol (UDP).
[0111] The video encoder 20 and the video decoder 30 can each be implemented as any one of a variety of suitable encoder circuits, such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combination thereof. When the techniques are implemented partially in software, a device may store instructions for the software on a suitable non-transient computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure.Each of the video encoder 20 and video decoder 30 may be included in one or more encoders or decoders, wherein any of them may be integrated as part of a combined encoder / decoder (CODEC) in a respective device. A device that includes the video encoder 20 and / or the video decoder 30 may be an integrated circuit, a microprocessor and / or a wireless communication device, such as a... Petition 870260107948, dated 10 / 21 / 2026, page 69 / 140 33 / 81 mobile phone.
[0112] Figure 1B is a block diagram of an exemplary video encoding system 40, which includes the video encoder 20 and / or the decoder 30. As shown in Figure 1B, the video encoding system 40 may include one or more image generation devices 41, the video encoder 20, the video decoder 30, an antenna 42, one or more processors 43, one or more memory storage devices 44, and may additionally include a display device 45.
[0113] As illustrated, the image generation device(s) 41, the antenna 42, the processing circuits 46, the video encoder 20, the video decoder 30, the processor(s) 43, the memory storage(s) 44 and the display device 45 can communicate with each other. Although illustrated with the video encoder 20 and the video decoder 30, the video encoding system 40 may include only the video encoder 20 or only the video decoder 30 in several examples.
[0114] In some examples, the antenna 42 of the video encoding system 40 may be configured to transmit or receive a bit-encoded stream of video data. Furthermore, in some examples, the display device 45 of the video encoding system 40 may be configured to present video data. In some examples, the processing circuits 46 of the video encoding system 40 may be implemented by means of processing unit(s). The processing unit(s) may include application-specific integrated circuit logic (ASIC), graphics processor(s), general-purpose processor(s), or similar. The video encoding system 40 may also include optional processor(s) 43, which may similarly include application-specific integrated circuit logic (ASIC), graphics processor(s), general-purpose processor(s), or similar.In some examples, the processing circuits 46 can be implemented via hardware, dedicated video encoding hardware, or similar. Furthermore, the memory storage(s) 44 can be any type of memory, such as volatile memory (e.g., Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), etc.) or non-volatile memory (e.g., flash memory, etc.) and so on. In one example, the memory storage(s) 44 can be implemented via cache memory. Petition 870260107948, dated 10 / 21 / 2026, pp. 70 / 140 34 / 81 In some examples, the processing circuits 46 can access memory storage(s) 44 (for the deployment of an image buffer, for example). In other examples, the processing circuits 46 can include memory storage (e.g., cache or similar) for the deployment of an image buffer or similar.
[0115] In some examples, the video encoder 20 deployed via processing circuits may incorporate the various modules as discussed in relation to Figure 2 and / or any other encoder system or subsystem described herein. The processing circuits may be configured to perform the various operations as discussed herein.
[0116] The video decoder 30 can be deployed in a similar manner to that deployed by means of the processing circuits 46 to incorporate the various modules, as discussed in relation to the decoder 30 of Figure 3 and / or any other decoder system or subsystem described in this document.
[0117] In some examples, antenna 42 of video encoding system 40 may be configured to receive an encoded bitstream of video data. The encoded bitstream may include data, indicators, or similar items associated with encoding a video frame. Video encoding system 40 may also include a video decoder 30 coupled to antenna 42 and configured to decode the encoded bitstream. The display device 45 is configured to present video frames.
[0118] Figure 2 is a block diagram illustrating an example of a video encoder 20 that can implement the techniques of the present application. The video encoder 20 can perform intra- and inter-block video encoding within video slices. Intra-encoding relies on spatial prediction to reduce or remove spatial redundancy in video within a given video frame or image. Inter-encoding relies on temporal prediction to reduce or remove temporal redundancy in video within adjacent frames or images of a video sequence. Intra-mode (I-mode) can refer to any of several spatially based encoding modes. Inter-modes, such as one-way prediction (P-mode) or bi-prediction (B-mode), can refer to any of several temporally based encoding modes. Petition 870260107948, dated 10 / 21 / 2026, page 71 / 140 35 / 81
[0119] As shown in Figure 2, video encoder 20 receives a current video block within a video frame to be encoded. In the example in Figure 2, the video encoder 20 includes the mode selection unit 40, the reference frame memory 64, the adder 50, the transform processing unit 52, the quantization unit 54, and the entropy encoding unit 56. The mode selection unit 40, in turn, includes the motion compensation unit 44, the motion estimation unit 42, the intra prediction unit 46, and the partitioning unit 48. For video block reconstruction, the video encoder 20 also includes the inverse quantization unit 58, the inverse transform unit 60, and the adder 62. A deblocking filter (not shown in Figure 2) can also be included to filter block delimiters to remove blocking artifacts from reconstructed video.If desired, the unblocking filter will typically filter the output of adder 62. Additional filters (in loop or post loop) can also be used in addition to the unblocking filter. Such filters are not shown for the sake of brevity, but if desired, they can filter the output of adder 50 (as an in loop filter).
[0120] During the encoding process, the video encoder 20 receives a video frame or slice to be encoded. The frame or slice can be divided into multiple video blocks. The motion estimation unit 42 and the motion compensation unit 44 perform inter-predictive encoding of the received video block relative to one or more blocks in one or more reference frames to provide temporal prediction. The intra-prediction unit 46 can alternatively perform intra-predictive encoding of the received video block relative to one or more neighboring blocks in the same frame or slice as the block to be encoded to provide spatial prediction. The video encoder 20 can perform multiple encoding passes, for example, to select an appropriate encoding mode for each video data block.
[0121] In addition, partition unit 48 can partition video data blocks into sub-blocks, based on evaluation of previous partitioning schemes in previous encoding passes. For example, partition unit 48 can initially partition a frame or slice into larger encoding units (LCUs), and partition each of the LCUs. Petition 870260107948, dated 10 / 21 / 2026, page 72 / 140 36 / 81 in subcoding units (sub-CUs) based on rate skew analysis (e.g., rate skew optimization). Mode selection unit 40 can additionally produce a quadtree data structure indicative of partitioning an LCU into sub-CUs. Quadtree leaf-node CUs can include one or more prediction units (PUs) and one or more transform units (TUs).
[0122] In the present disclosure, the term “block” is used to refer to any of a coding unit (CU), a prediction unit (PU), or a transform unit (TU) in the context of HEVC, or similar data structures in the context of other standards (e.g., macroblocks and subblocks thereof in H.264 / AVC). A CU includes a coding node, PUs, and TUs associated with the coding node. A CU size corresponds to a coding node size and has a rectangular shape. The CU size can range from 8x8 pixels up to the size of a tree block with a maximum of 64x64 pixels or larger. Each CU can contain one or more PUs and one or more TUs. The syntax data associated with a CU can describe, for example, partitioning the CU into one or more PUs. Partitioning modes may differ depending on whether the CU is ignored or encoded by direct mode, intra-prediction mode encoded, or inter-prediction mode encoded.PUs can be partitioned to have a non-quadrangular shape. The syntax data associated with a CU can also describe, for example, partitioning the CU into one or more TUs according to a quadtree. In one embodiment, a CU, PU, or TU can have a quadrangular or non-quadrangular shape (e.g., rectangular).
[0123] The mode selection unit 40 can select one of the encoding modes, intra or inter, for example, based on error results, and provides the resulting intra or inter encoded block to an adder 50 to generate residual block data and to an adder 62 to reconstruct the encoded block for use as a reference frame. The mode selection unit 40 also provides syntax elements, such as motion vectors, intra mode indicators, partition information and other such syntax information, to the entropy encoding unit 56.
[0124] The motion estimation unit 42 and the motion compensation unit 44 can be highly integrated, but are Petition 870260107948, dated 10 / 21 / 2026, page 73 / 140 Figures 37 / 81 are illustrated separately for conceptual purposes. Motion estimation, performed by the motion estimation unit 42, is the process of generating motion vectors, which estimate motion for video blocks. A motion vector, for example, can indicate the displacement of a PU of a video block within a current video frame (or image) relative to a predictive block within a reference frame (or other encoded unit), or it can indicate the displacement of a PU of a video block within a current video frame (or image) relative to an encoded block within the current frame (or other encoded unit). A predictive block is a block that is considered to be fairly compatible with the block to be encoded, in terms of pixel difference, which can be determined by absolute sum of differences (SAD), sum of squared differences (SSD), or other difference metrics.In some examples, video encoder 20 can calculate values for sub-integer pixel positions of reference images stored in reference frame memory 64. For example, video encoder 20 can interpolate values for quarter-pixel positions, eighth-pixel positions, or other fractional pixel positions of the reference image. Therefore, motion estimation unit 42 can perform a motion search relative to integer pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision.
[0125] The motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter-encoded slice by comparing the position of the PU with the position of a predictive block of a reference image. The reference image can be selected from a first reference image list (e.g., List 0) or a second reference image list (e.g., List 1), each of which identifies one or more reference images stored in the reference frame memory 64. The motion estimation unit 42 sends the calculated motion vector to the entropy encoding unit 56 and the motion compensation unit 44.
[0126] Motion compensation, performed by motion compensation unit 44, may involve searching for or generating the predictive block based on the motion vector determined by motion estimation unit 42. Again, motion estimation unit 42 and the unit Petition 870260107948, dated 10 / 21 / 2026, pp. 74 / 140 38 / 81 of motion compensation 44 can be functionally integrated in some examples. By receiving the motion vector for the PU of the current video block, the motion compensation unit 44 can locate the predictive block to which the motion vector points in one of the reference image lists. The adder 50 forms a residual video block by subtracting pixel values from the predictive block from the pixel values of the current video block being encoded, forming pixel difference values, as discussed below. In general, the motion estimation unit 42 performs motion estimation with respect to luma components, and the motion compensation unit 44 uses motion vectors calculated based on luma components for chroma components and luma components.The mode selection unit 40 can also generate syntax elements associated with video blocks and video slices for use by video decoder 30 in decoding video blocks from the video slice.
[0127] The intra prediction unit 46 can predict an intra current block, as an alternative to the inter prediction performed by the motion estimation unit 42 and the motion compensation unit 44, as described above. In particular, the intra prediction unit 46 can determine an intra prediction mode for use in encoding an intra current block. In some examples, the intra prediction unit 46 can encode an intra current block using multiple intra prediction modes, for example, during separate encoding passes, and the intra prediction unit 46 (or mode selection unit 40, in some examples) can select an appropriate intra prediction mode to use from the tested modes.
[0128] For example, the intra prediction unit 46 can calculate rate distortion values using a rate distortion analysis for the various intra prediction modes tested, and select the intra prediction mode that has the best rate distortion characteristics among the tested modes. Rate distortion analysis typically determines an amount of distortion (or error) between an encoded block and an original unencoded block that was encoded to produce the encoded block, as well as a bit rate (i.e., a number of bits) used to produce the encoded block. The intra prediction unit 46 can calculate ratios of distortions and rates for the various encoded blocks to determine which intra prediction mode exhibits the best value. Petition 870260107948, dated 10 / 21 / 2026, page 75 / 140 39 / 81 rate distortion for the block.
[0129] In addition, the intra prediction unit 46 can be configured to encode depth blocks of a depth map using a depth modeling mode (DMM). The mode selection unit 40 can determine whether an available DMM mode produces better encoding results than an intra prediction mode and other DMM modes, for example, using rate distortion optimization (RDO). Data for a texture image that corresponds to a depth map can be stored in the reference frame memory 64. The motion estimation unit 42 and the motion compensation unit 44 can also be configured to predict inter-block depth of a depth map.
[0130] After selecting an intra prediction mode for a block (for example, a conventional intra prediction mode or one of the DMM modes), the intra prediction unit 46 can provide information indicative of the selected intra prediction mode for the block to the entropy encoding unit 56. The entropy encoding unit 56 can encode the information indicating the selected intra prediction mode.The video encoder 20 may include in the transmitted bitstream configuration data, which may include a plurality of intra-prediction mode index tables and a plurality of modified intra-prediction mode index tables (also called codeword mapping tables), encoding context definitions for various blocks, and indications of a most probable intra-prediction mode, an intra-prediction mode index table and a modified intra-prediction mode index table for use for each of the contexts.
[0131] Video encoder 20 forms a residual video block by subtracting the prediction data from mode selection unit 40 from the original video block being encoded. Adder 50 represents the component or components that perform this subtraction operation.
[0132] Transform processing unit 52 applies a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform, to the residual block, producing a video block comprising residual transform coefficient values. A Petition 870260107948, dated 10 / 21 / 2026, page 76 / 140 The 40 / 81 transform processing unit 52 can perform other transforms that are conceptually similar to the DCT. Wavelet transforms, integer transforms, sub-band transforms, or other types of transforms can also be used.
[0133] Transform processing unit 52 applies the transform to the residual block, producing a block of residual transform coefficients. The transform can convert the residual information from a pixel value domain to a transform domain, such as a frequency domain. Transform processing unit 52 can send the resulting transform coefficients to quantization unit 54. Quantization unit 54 quantizes the transform coefficients to further reduce the bit rate. The quantization process can reduce the bit depth associated with some or all of the coefficients. The degree of quantization can be modified by adjusting a quantization parameter. In some examples, quantization unit 54 can then perform a matrix scan including the quantized transform coefficients. Alternatively, entropy encoding unit 56 can perform the scan.
[0134] After quantization, the 56 entropy encoding unit entropy encodes the quantized transform coefficients. For example, the 56 entropy encoding unit can perform context-adaptive variable-length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), context-adaptive syntax-based binary arithmetic coding (SBAC), probability interval partitioning entropy coding (PIPE), or another entropy encoding technique. In the case of context-based entropy encoding, context can be based on neighboring blocks. After entropy encoding by the 56 entropy encoding unit, the encoded bitstream can be transmitted to another device (e.g., video decoder 30) or archived for later transmission or retrieval.
[0135] The inverse quantization unit 58 and the inverse transform unit 60 apply inverse quantization and inverse transform, respectively, to reconstruct the residual block in the pixel domain, for example, for later use as a reference block. The unit of Petition 870260107948, dated 10 / 21 / 2026, page 77 / 140 41 / 81 Motion compensation unit 44 can calculate a reference block by adding the residual block to a predictive block from one of the reference frame memory frames 64. The motion compensation unit 44 can also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation. The adder 62 adds the reconstructed residual block to the compensated motion prediction block produced by the motion compensation unit 44 to produce a reconstructed video block for storage in reference frame memory 64. The reconstructed video block can be used by the motion estimation unit 42 and the motion compensation unit 44 as a reference block to intercode a block in a subsequent video frame.
[0136] Other structural variations of the video encoder 20 can be used to encode the video stream. For example, a non-transform-based encoder 20 can quantize the residual signal directly without the transform processing unit 52 for certain blocks or frames. In another implementation, an encoder 20 can have the quantization unit 54 and the inverse quantization unit 58 combined into a single unit.
[0137] Figure 3 is a block diagram illustrating an example of a video decoder 30 that can implement the techniques of this present application. In the example of Figure 3, the video decoder 30 includes an entropy decoding unit 70, motion compensation unit 72, intra prediction unit 74, inverse quantization unit 76, inverse transformation unit 78, reference frame memory 82, and adder 80. The video decoder 30 can, in some examples, perform a decoding pass that is generally reciprocal to the encoding pass described in relation to the video encoder 20 (as shown in Figure 2). The motion compensation unit 72 can generate prediction data based on motion vectors received from the entropy decoding unit 70, while the intra prediction unit 74 can generate prediction data based on intra prediction mode indicators received from the entropy decoding unit 70.
[0138] During the decoding process, the video decoder Petition 870260107948, dated 10 / 21 / 2026, page 78 / 140 42 / 81 receives a bitstream of encoded video representing video blocks of an encoded video slice and associated syntax elements from video encoder 20. The entropy decoding unit 70 of video decoder 30 entropy-decodes the bitstream to generate quantized coefficients, motion vectors or intra-prediction mode indicators, and other syntax elements. The entropy decoding unit 70 forwards the motion vectors and other syntax elements to the motion compensation unit 72. Video decoder 30 can receive the syntax elements at the video slice level and / or at the video block level.
[0139] When the video slice is encoded as an intra-encoded slice (I), the intra prediction unit 74 can generate prediction data for a video block of the current video slice based on a signaled intra prediction mode and previously decoded block data from the current frame or image. When the video frame is encoded as an inter-encoded slice (i.e., B, P, or GPB), the motion compensation unit 72 produces predictive blocks for a video block of the current video slice based on motion vectors and other syntax elements received from the entropy decoding unit 70. The predictive blocks can be produced from one of the reference images within one of the reference image lists.The video decoder 30 can construct reference frame lists, for example, List 0 and List 1, using standard construction techniques based on reference images stored in reference frame memory 82.
[0140] Motion compensation unit 72 determines prediction information for a video block of the current video slice by analyzing motion vectors and other syntax elements, and uses the prediction information to produce the predictive blocks for the current video block being decoded. For example, motion compensation unit 72 uses some of the received syntax elements to determine a prediction mode (e.g., intra or inter prediction) used to encode the video blocks of the video slice, an inter prediction slice type (e.g., B slice, P slice, or GPB slice), construction information for one or more of the reference image lists for the slice, motion vectors for each inter-encoded video block of the slice, inter prediction status for each inter-encoded video block of the slice, and other information to decode the video blocks. Petition 870260107948, dated 10 / 21 / 2026, pp. 79 / 140 43 / 81 in the current video slice.
[0141] The motion compensation unit 72 can also perform interpolation based on interpolation filters. The motion compensation unit 72 can use interpolation filters as used by the video encoder 20 during encoding of video blocks to calculate interpolated values for sub-integer number pixels of reference blocks. In this case, the motion compensation unit 72 can determine the interpolation filters used by the video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks.
[0142] The data for a texture image that corresponds to a depth map can be stored in the reference frame memory 82. The motion compensation unit 72 can also be configured to predict inter-block depth of a depth map.
[0143] As will be verified by the technician in the field, the encoding system 10 in Figure 1A is suitable for implementing various video encoding or compression techniques. Some video compression techniques, such as inter-prediction, intra-prediction and / or loop filters, will be discussed later. Therefore, video compression techniques have been adopted in several video encoding standards, such as H.264 / AVC and H.265 / HEVC.
[0144] Various coding tools, such as adaptive motion vector prediction (AMVP) and combination mode (MERGE), are used to predict motion vectors (MVs) and enhance prediction efficiency and therefore overall video compression efficiency.
[0145] Other variations of the video decoder 30 can be used to decode the compressed bitstream. For example, the decoder 30 can produce the output video stream without the loop filtering unit. For example, a non-transform-based decoder 30 can inverse quantize the residual signal directly without the inverse transform processing unit 78 for certain blocks or frames. In another implementation, the video decoder 30 can have the inverse quantization unit 76 and the inverse transform processing unit 78 combined into a single unit. Petition 870260107948, dated 10 / 21 / 2026, pp. 80 / 140 44 / 81
[0146] Figure 4 is a schematic diagram of a video encoding device according to one embodiment of the disclosure. The video encoding device 400 is suitable for implementing the disclosed embodiments as described herein. In one embodiment, the video encoding device 400 may be a decoder, such as video decoder 30, of Figure 1A, or an encoder, such as video encoder 20, of Figure 1A. In one embodiment, the video encoding device 400 may be one or more components of video decoder 30 of Figure 1A or video encoder 20 of Figure 1A, as described above.
[0147] The video encoding device 400 includes input ports 410 and receiver (Rx) units 420 for receiving data, a processor 430 (which may be a logic unit or a central processing unit (CPU)) for processing the data, transmitter (Tx) units 440 and output ports 450 for transmitting the data, and a memory 460 for storing the data. The video encoding device 400 may also include optical-to-electrical (OE) and electrical-to-optical (EO) components coupled to the input ports 410, receiver units 420, transmitter units 440, and output ports 450 for input or output of optical or electrical signals.
[0148] The 430 processor is implemented by hardware and / or software. The 430 processor can be implemented as one or more CPU chips, cores (e.g., as a multi-core processor), FPGAs, ASICs, and DSPs. The 430 processor communicates with the input ports 410, the receiver units 420, the transmitter units 440, the output ports 450, and the memory 460. The 430 processor includes a 470 encoding module. The 470 encoding module implements the disclosed modalities described herein. For example, the 470 encoding module implements, processes, prepares, or provides the various encoding operations. The inclusion of the 470 encoding module therefore provides a substantial improvement to the functionality of the 400 video encoding device and effects a transformation of the 400 video encoding device to a different state.Alternatively, the 470 encoding module is deployed as instructions stored in memory 460 and executed by processor 430.
[0149] Memory 460 includes one or more disks, tape drives and Petition 870260107948, dated 10 / 21 / 2026, page 81 / 140 45 / 81 solid-state drives and can be used as an overflow data storage device, to store programs when such programs are selected for execution, and to store instructions and data that are read during program execution. 460 memory can be volatile and / or non-volatile and can be read-only memory (ROM), random-access memory (RAM), ternary content-addressable memory (TCAM), and / or static random-access memory (SRAM).
[0150] Figure 5 is a simplified block diagram of an apparatus 500 that can be used as either or both of the source device 12 and the target device 14 of Figure 1A, according to an exemplary embodiment. The apparatus 500 can implement techniques of this present application. The apparatus 500 can be in the form of a computing system that includes multiple computing devices, or in the form of a single computing device, for example, a mobile phone, a tablet computer, a laptop computer, a notebook computer, a desktop computer and the like.
[0151] The 502 processor of the 500 device may be a central processing unit. Alternatively, the 502 processor may be any other type of device, or multiple devices, with the ability to handle or process existing or subsequently developed information. Although the disclosed deployments can be implemented with a single processor, as shown, for example, processor 502, advantages in speed and efficiency can be achieved with or without more than one processor.
[0152] Memory 504, in device 500, may be a read-only memory device (ROM) or a random-access memory device (RAM) in an deployment. Any other suitable type of storage device may be used as memory 504. Memory 504 may be used to store code and / or data 506 that are accessed by the processor 502 using the bus 512. Memory 504 may additionally be used to store operating system 508 and application programs 510. Application programs 510 may include at least one program that enables the processor 502 to perform the methods described in the present invention. For example, application programs 510 may include Petition 870260107948, dated 10 / 21 / 2026, page 82 / 140 46 / 81 multiple applications 1 to N, and additionally include a video encoding application that performs the methods described in the present invention. The device 500 may also include additional memory in the form of secondary storage 514, which may be, for example, a memory card used with a mobile computing device. Since video communication sessions may contain a significant amount of information, it may be stored wholly or in part in storage 514 and loaded into memory 504 as needed for processing.
[0153] The device 500 may also include one or more output devices, such as display 518. The display 518 may, for example, be a touch-sensitive display that combines a display with an operable touch-sensitive element to detect touch inputs. The display 518 may be coupled to the processor 502 via the bus 512. Other output devices that allow a user to program or otherwise use the device 500 may be provided additionally or as an alternative to the display 518. When the output device is or includes a display, the display may be implemented in various forms, including by a liquid crystal display (LCD), a cathode ray tube display (CRT), a plasma display, or a light-emitting diode (LED) display, such as an organic LED display (OLED).
[0154] The device 500 may also include or be in communication with the image capture device 520, for example, a camera or any other image capture device 520, whether existing or to be developed later, that can capture an image, such as the image of a user operating the device 500. The image capture device 520 may be positioned so that it is directed towards the user operating the device 500. In one example, the position and optical axis of the image capture device 520 may be configured so that the field of view includes an area that is directly adjacent to the display 518 and from which the display 518 is visible.
[0155] The device 500 may also include or be in communication with the sound-capturing device 522, for example, a microphone, or any other existing or subsequently developed sound-capturing device that can capture sounds near the device 500. The sound-capturing device 522 may be positioned so that it is directed towards the Petition 870260107948, dated 10 / 21 / 2026, page 83 / 140 47 / 81 user operating device 500 and can be configured to receive sounds, for example, speech or other statements, produced by the user while the user operates device 500.
[0156] Although Figure 5 depicts the processor 502 and memory 504 of the device 500 as being integrated into a single device, other configurations may be used. The operations of processor 502 may be distributed across multiple machines (each machine having one or more processors) which may be directly coupled or via a local area or other network. Memory 504 may be distributed across multiple machines, such as network-based memory or memory across multiple machines performing the operations of the device 500. Although depicted in this document as a single bus, the bus 512 of the device 500 may include multiple buses. Additionally, secondary storage 514 may be directly coupled to the other components of the device 500 or may be accessed via a network and may include a single integrated unit, such as a memory card, or multiple units, such as multiple memory cards.The 500 device can therefore be deployed in a wide variety of configurations.
[0157] The present disclosure relates to intra-prediction as part of a video coding mechanism.
[0158] Intra prediction can be used when no reference image is available, or when inter prediction coding is not used for the current block or image. Intra prediction reference samples are often derived from neighboring blocks previously coded (or reconstructed) in the same image. For example, in both H.264 / AVC and H.265 / HEVC, adjacent block delineation samples are used as a reference for intra prediction. In order to encompass different textural or structural characters, there are many different intra prediction modes. In each mode, a different prediction signal derivation method is used. For example, H.265 / HEVC supports a total of 35 intra prediction modes, as shown in Figure 6.
[0159] For intra-luma prediction, decoded delineation samples from adjacent blocks are used as a reference. The encoder selects the best intra-luma prediction mode for each block from 35 options: 33 Petition 870260107948, dated 10 / 21 / 2026, page 84 / 140 48 / 81 directional prediction modes, one DC mode and one Planar mode. The mapping between the intra prediction direction and the number of intra prediction modes is specified in Figure 6.
[0160] As shown in Figure 7, the “CUR” block is an actual block to be predicted, the gray samples along the boundary of adjacent constructed blocks are used as reference samples. The prediction signal can be derived by mapping the reference samples according to a specific method which is indicated by the intra prediction mode.
[0161] Video encoding can be performed based on color space and color format. For example, color video plays an important role in multimedia systems, where various color spaces are used to represent color efficiently. A color space specifies color with numerical values using multiple components. A popular color space is the RGB color space, where color is represented as a combination of three primary color component values (i.e., red, green, and blue). For color video compression, the YCbCr color space has been widely used, as described in A. Ford and A. Roberts, “Colour space conversions,” University of Westminster, London, Tech. Rep., August 1998.
[0162] YCbCr can be easily converted from the RGB color space through a linear transformation, and the redundancy between different components, namely cross-component redundancy, is significantly reduced in the YCbCr color space. One advantage of YCbCr is its backward compatibility with black and white TVs since the Y signal carries luminance information. Furthermore, the chrominance bandwidth can be reduced by downsampling the Cb and Cr components in a 4:2:0 chroma sampling format with significantly less subjective impact than downsampling in the RGB color space. Due to these advantages, YCbCr has been the primary color space in video compression. There are also other color spaces, such as YCoCg, used in video compression.In this revelation, regardless of the actual color space used, luma (or L or Y) and two chroma (Cb and Cr) are used to represent the three color components in the video compression scheme.
[0163] For example, when the chroma format sampling structure is 4:2:0 sampling, each of the two chroma arrays has half Petition 870260107948, dated 10 / 21 / 2026, page 85 / 140 49 / 81 of the height and half the width of the luma array. The nominal relative vertical and horizontal locations of luma and chroma samples in images are shown in Figure 8.
[0164] Figure 9 (including Figure 9A and Figure 9B) is a schematic diagram illustrating an exemplary mechanism for performing an intra-cross-component linear model (CCLM) prediction 900. Figure 9 illustrates an example of 4:2:0 sampling. Figure 9 shows an example of the location of the samples to the left and above the current block sample involved in CCLM mode. The white squares are samples from the current block, and the shaded circles are reconstructed samples. Figure 9A illustrates an example of the reconstructed pixels adjacent to a colocalized luma block. Figure 9B illustrates an example of the reconstructed pixels adjacent to a chroma block. If the video format is YUV4:2:0, then there is one 16x16 luma block and two 8x8 chroma blocks.
[0165] CCLM 900 intra prediction is a type of cross-component intra prediction. Therefore, CCLM 900 intra prediction can be performed by an intra estimation unit 46 of an encoder 20 and / or an intra prediction unit 94 of a decoder 30. CCLM 900 intra prediction predicts chroma samples 903 in a chroma block 901. Chroma samples 903 appear in integer positions shown as intersecting lines. The prediction is based, in part, on neighboring reference samples, which are depicted as dark circles. Unlike intra 500 prediction modes, chroma samples 903 are not predicted solely based on neighboring chroma reference samples 905, which are denoted reconstructed chroma samples (Rec'C). Chroma 903 samples are also predicted based on luma 913 reference samples and neighboring luma 915 reference samples. Specifically, a CU contains one luma 911 block and two chroma 901 blocks.A model is generated which correlates chroma 903 samples and luma 913 reference samples in the same CU. The linear coefficients for the model are determined by comparing neighboring luma 915 reference samples with neighboring chroma 905 reference samples.
[0166] Since the luma 913 reference samples are reconstructed, the luma 913 reference samples are denoted as reconstructed luma samples (Rec'L). Since the chroma reference samples Petition 870260107948, dated 10 / 21 / 2026, page 86 / 140 50 / 81 neighbors 905 are reconstructed, the chroma reference samples neighboring 905 are denoted as reconstructed chroma samples (Rec'C).
[0167] As shown, luma block 911 contains four times the samples of chroma block 901. Specifically, chroma block 901 contains N number of samples by N number of samples while luma block 911 contains 2N number of samples by 2N number of samples. Therefore, luma block 911 is four times the resolution of chroma block 901. For the prediction to operate on luma reference samples 913 and neighboring luma reference samples 915, luma reference samples 913 and neighboring luma reference samples 915 are downsampled to provide an accurate comparison with neighboring chroma reference samples 905 and chroma samples 903. Downsampling is the process of reducing the resolution of a group of sample values. For example, when the YUV4:2:0 format is used, luma samples can be downsampled by a factor of four (e.g., width by two, and height by two).YUV is a color coding system that employs a color space in terms of luma components Y and two chrominance components U and V.
[0168] In order to reduce cross-component redundancy, there is a cross-component linear model prediction mode (CCLM, also called LM mode, CCIP mode), for which chroma samples are predicted based on luma samples reconstructed from the same encoding unit (CU) using a linear model as follows: predc(i,j) = a · recL,(i,j) + β (1) where predc(i,j) represents the predicted chroma samples in a CU and recL(i,j) represents the reconstructed luma samples from reduced sampling of the same CU, and α and β are linear model parameters or linear model coefficients.
[0169] In one example, the parameters α and β are derived by minimizing the regression error between the neighboring reconstructed luma samples around the current luma block and the neighboring reconstructed chroma samples around the chroma block as follows: ΝΣ^η / ^ηβ-Σ^η / ΣεΜ N^LM-Linty-YLM-YLM £C(n)-a-£L(n) N (2) (3) Petition 870260107948, dated 10 / 21 / 2026, page 87 / 140 51 / 81 where L(ri) represents the reconstructed upper and left neighboring reduced-sampling luma samples, C(ri) represents the reconstructed upper and left neighboring chroma samples, and the value of N is equal to the sum of the width and height of the current chroma encoding block (e.g., chroma block 901). In another example, α and β are determined based on the minimum and maximum values of the reduced-sampling neighboring luma reference samples, as discussed in relation to Figure 16 below.
[0170] The present disclosure relates to the use of luma samples to predict chroma samples through intra-prediction as part of a video coding mechanism. Cross-component linear model (CCLM) prediction modes are added as additional intra-chroma prediction modes. On the encoder side, more rate-cost distortion checking for the chroma component is added to select the intra-chroma prediction mode.
[0171] In general, when CCLM prediction mode (concise form LM prediction mode) is applied, video encoder 20 and video decoder 30 can invoke the following steps. Video encoder 20 and video decoder 30 can downsample neighboring luma samples. Video encoder 20 and video decoder 30 can derive linear parameters (i.e., α and β) (also called scaling parameters or parameters of a cross-component linear model (CCLM) prediction mode). Video encoder 20 and video decoder 30 can downsample the current luma block and derive the prediction (e.g., a predictive block) based on the downsampled luma block and linear parameters.
[0172] There may be several ways to reduce sampling.
[0173] Figure 10 is a conceptual diagram illustrating an example of luma positions and chroma positions for sample reduction from a luma block to generate a predictive block for a chroma block. As depicted in Figure 10, a chroma sample, represented by the filled triangle (i.e., black), is predicted from two luma samples, represented by the two filled circles, by applying a [1, 1] filter. The [1, 1] filter is an example of a 2-tap filter.
[0174] Figure 11 is a conceptual diagram that illustrates another example. Petition 870260107948, dated 10 / 21 / 2026, page 88 / 140 52 / 81 of luma positions and chroma positions for sample reduction of a luma block to generate a predictive block. As depicted in Figure 11, a chroma sample, represented by the filled triangle (i.e., black), is predicted from six luma samples, represented by the six filled circles, by applying a 6-tap filter.
[0175] Figures 12 to 15 are schematic diagrams illustrating exemplary mechanisms 1200, 1300, 1400 and 1500 of sample reduction to support cross-component intra prediction, for example, according to CCLM intra prediction 900, mechanism 1600, MDLM intra prediction using CCIP_A mode 1700 and CCIP_L mode 1800 and / or MMLM intra prediction as depicted in diagram 1900. Therefore, mechanisms 1200, 1300, 1400 and 1500 can be implemented by an intra prediction unit 46 and / or an intra prediction unit 74 of a codec system 10 or 40, an intra prediction unit 46 of an encoder 20 and / or an intra prediction unit 74 of a decoder 30. Specifically, mechanisms 1200, 1300, 1400, and 1500 can be employed during step 2210 of method 220, during step 2320 of method 230, or step 2520 of method 250 in a decoder, and during step 2420 of method 240 or step 2620 of method 260 in an encoder, respectively.The details of Figures 12 to 15 are included in International Application No. PCT / US2019 / 041526, filed on 7 / 12 / 2019, which is incorporated herein by reference.
[0176] In mechanism 1200 of Figure 12, two rows 1218 and 1219 of neighboring luma reference samples are downsampled and three columns 1220, 1221, and 1222 of neighboring luma reference samples are downsampled. Rows 1218 and 1219 and columns 1220, 1221, and 1222 are directly adjacent to a luma block 1211 that shares a CU with a chroma block being predicted according to cross-component intra prediction. After downsampling, rows 1218 and 1219 of neighboring luma reference samples become a single row 1216 of neighboring downsampled luma reference samples. Additionally, columns 1220, 1221, and 1222 of neighboring luma reference samples are downsampled, resulting in a single downsampled column 1217 of neighboring luma reference samples. Furthermore, the luma samples from luma block 1211 are downsampled to create sampled luma reference samples. Petition 870260107948, dated 10 / 21 / 2026, pp. 89 / 140 53 / 81 reduced 1212. The reduced sampling luma reference samples 1212 and the neighboring reduced sampling luma reference samples from row 1216 and column 1217 can then be used for cross-component intra prediction according to equation (1). It should be noted that the dimensions of rows 1218 and 1219 and columns 1220, 1221, and 1222 may extend beyond luma block 1211, as shown in Figure 12. For example, the number of upper neighboring luma reference samples in each row 1218 / 1219, which can be denoted as M, is greater than the number of luma samples in a row of luma block 1211, which can be denoted as W. Additionally, the number of left neighboring luma reference samples in each column 1220 / 1221 / 1222, which can be denoted as N, is greater than the number of luma samples in a column of luma block 1211, which can be denoted as H.
[0177] In one example, the 1200 mechanism can be deployed as follows. For a luma block 1211, the two upper neighboring lines 1218 and 1219, denoted as A1 and A2, are used for downsampling to generate downsampled neighboring line 1216 denoted as A. A[i] is the i-th sample in A, A1[i] is the i-th sample in A1, and A2[i] is the i-th sample in A2. In a specific example, a six-tap downsampling filter can be applied to neighboring lines 1218 and 1219 to obtain the downsampled neighboring line 1216 according to equation (4): A[i] = (A2[2i]*2+A2[2i-1 ]+ A2[2i+1 ]+ A1 [2i]*2+A1 [2i-1 ]+ A1 [2i+1 ]+4)>>3 (4)
[0178] Additionally, the left neighboring columns 1220, 1221, and 1222 are denoted L1, L2, and L3 and are used for sample reduction to obtain a reduced sampling neighboring column 1217 denoted as L. L[i] is the i-th sample in L, L1[i] is the i-th sample in L1, L2[i] is the i-th sample in L2, and L3[i] is the i-th sample in L3. In a specific example, a six-tap sample reduction filter can be applied to the neighboring columns 1220, 1221, and 1222 to obtain a reduced sampling neighboring column 1217 according to equation (5): L[i] = (L2[2i]*2+L1[2i]+L3[2i]+ L2[2i+1]*2+L1[2i+1]+L3[2i+1] +4) >>3 (5)
[0179] Mechanism 1300 in Figure 13 is substantially similar to Petition 870260107948, dated 10 / 21 / 2026, pp. 90-140 54 / 81 mechanism 1200 of Figure 12. Mechanism 1300 includes a luma block 1311 with neighboring rows 1318 and 1319 and columns 1320, 1321 and 1322 of neighboring luma reference samples, which are similar to luma block 1211, rows 1218 and 1219, and columns 1220, 1221 and 1222, respectively. The difference is that rows 1318 and 1319 and columns 1320, 1321, and 1322 do not extend beyond luma block 1211. As with the 1200 engine, luma block 1311, rows 1318 and 1319, and columns 1320, 1321, and 1322 are reduced-sampled to create reduced-sampled luma reference samples 1312, column 1317, and row 1316 containing neighboring reduced-sampled luma reference samples. Column 1317 and row 1316 do not extend beyond the reduced-sampled luma reference sample block 1312.Conversely, the reduced-sampling luma reference samples 1312, column 1317, and row 1316 are substantially similar to the reduced-sampling luma reference samples 1212, column 1217, and row 1216, respectively.
[0180] Mechanism 1400 in Figure 14 is similar to mechanisms 1200 and 1300, but employs a single row 1418 of neighboring luma reference samples instead of two rows. Mechanism 1400 also employs three columns 1420, 1421, and 1422 of neighboring luma reference samples. Row 1418 and columns 1420, 1421, and 1422 are directly adjacent to a luma block 1411 that shares a CU with a chroma block being predicted according to cross-component intra-prediction. After downsampling, row 1418 of neighboring luma reference samples becomes a downsampled row 1416 of neighboring luma reference samples. Additionally, columns 1420, 1421, and 1422 of neighboring luma reference samples are reduced-sampled, resulting in a single reduced-sampled column 1417 of neighboring luma reference samples.Additionally, luma samples from luma block 1411 are downsampled to create downsampled luma reference samples 1412. The downsampled luma reference samples 1412 and the neighboring downsampled luma reference samples from row 1416 and column 1417 can then be used for cross-component intra prediction according to equation (1).
[0181] During downsampling, rows and columns are stored in memory in a row buffer. Omission of row 1319 Petition 870260107948, dated 10 / 21 / 2026, pp. 91 / 140 55 / 81 during downsampling, and instead using a single 1418 row of values significantly reduces memory usage in the row buffer. However, it was found that neighboring downsampled luma reference samples from row 1316 are substantially similar to neighboring downsampled luma reference samples from row 1416. As such, omitting row 1319 during downsampling and instead using a single 1418 row results in reduced memory utilization in the row buffer and therefore better processing speed, greater parallelism, lower memory requirements, etc., without sacrificing accuracy and therefore coding efficiency. Thus, in an exemplary embodiment, a single 1418 row of neighboring luma reference samples is downsampled for use in cross-component intra prediction.
[0182] In one example, the 1400 mechanism can be deployed in the following manner. For a luma block 1411, the upper neighboring line 1418, denoted as A1, is used for downsampling to generate downsampled neighboring line 1416 denoted as A. A[i] is the i-th sample in A and A1[i] is the i-th sample in A1. In a specific example, a three-tap downsampling filter can be applied to neighboring line 1418 to obtain the downsampled neighboring line 1416 according to equation (6): A[i] = (A1 [2i]*2+ A1 [2i-1 ]+ A1 [2i+1 ]+2)>>2 (6)
[0183] Additionally, the left neighboring columns 1420, 1421, and 1422 are denoted L1, L2, and L3 and are used for sample reduction to obtain a reduced sampling neighboring column 1417 denoted as L. L[i] is the i-th sample in L, L1[i] is the i-th sample in L1, L2[i] is the i-th sample in L2, and L3[i] is the i-th sample in L3. In a specific example, a six-tap sample reduction filter can be applied to the neighboring columns 1320, 1321, and 1322 to obtain a reduced sampling neighboring column 1317 according to equation (7): L[i] = (L2[2i]*2+L1[2i]+L 3[2i]+ L2[2i+1]*2+L1[2i+1]+L0[2i+1] +4) >>3 (7)
[0184] It should be noted that the 1400 mechanism is not limited to the sampling reduction filters described. For example, instead of employing a three-tap sampling reduction filter as described in equation (6), samples can also be obtained directly as in equation (8) Petition 870260107948, dated 10 / 21 / 2026, pp. 92-140 56 / 81 below: A[i] = A1[2i] (8)
[0185] Mechanism 1500 of Figure 15 is similar to mechanism 1300, but employs a single row 1518 of neighboring luma reference samples and a single column 1520 of neighboring luma reference samples instead of two rows 1318 and 1319 and three columns 1320, 1321, and 1322, respectively. Row 1518 and column 1520 are directly adjacent to a luma block 1511 that shares a CU with a chroma block being predicted according to cross-component intra-prediction. After downsampling, row 1518 of neighboring luma reference samples becomes a downsampled row 1516 of neighboring luma reference samples. Additionally, column 1520 of neighboring luma reference samples is downsampled, resulting in a single downsampled column 1517 of neighboring luma reference samples.The reduced sampling neighboring luma reference samples from row 1516 and column 1517 can then be used for cross-component intra prediction according to equation (1).
[0186] The 1500 mechanism omits row 1319 and columns 1321 and 1322 during downsampling and instead uses a single row 1518 and single column 1520 of values, which significantly reduces memory usage in the row buffer. However, it was found that the downsampled neighboring luma reference samples of row 1316 and column 1317 are substantially similar to the downsampled neighboring luma reference samples of row 1516 and column 1517, respectively. Therefore, omitting row 1319 and columns 1321 and 1322 during downsampling and instead using a single row 1518 and column 1520 results in reduced memory usage in the row buffer and therefore better processing speed, greater parallelism, lower memory requirements, etc., without sacrificing accuracy and therefore coding efficiency.Thus, in another illustrative embodiment, a single row 1518 of neighboring luma reference samples and a single column 1520 of neighboring luma reference samples are reduced sampling for use in intra-component cross-prediction.
[0187] In one example, mechanism 1500 can be deployed as follows. For a luma block 1511, the upper neighboring row 1518, Petition 870260107948, dated 10 / 21 / 2026, pp. 93 / 140 57 / 81 denoted as A1, is used for downsampling to generate downsampled neighboring line 1516 denoted as A. A[i] is the i-th sample in A and A1[i] is the i-th sample in A1. In a specific example, a three-tap downsampling filter can be applied to neighboring line 1518 to obtain downsampled neighboring line 1516 according to equation (9): A[i] = (A1 [2i]*2+ A1 [2i-1 ]+ A1 [2i+1 ]+2)>>2 (9)
[0188] Additionally, the left neighboring column 1520 is denoted as L1 and is used for downsampling to obtain a downsampling neighboring column 1517 denoted as L. L[i] is the i-th sample in L and L1[i] is the i-th sample in L1. In a specific example, a two-tap downsampling filter can be applied to the neighboring column 1520 to obtain a downsampling neighboring column 1517 according to equation (10): L[i] = (L1[2i] + L1[2i+1] +1) >>2 (10)
[0189] In an alternative example, the 1500 mechanism can be modified to employ an L2 column (e.g., column 1321) instead of an L1 column (e.g., column 1520) when downsampling. In such a case, a two-tap downsampling filter can be applied to the neighboring L2 column to obtain a neighboring downsampling column 1517 according to equation (11). It should be noted that the 1500 mechanism is not limited to the downsampling filters described. For example, instead of employing a two-tap and a three-tap downsampling filter as described in equations (9) and (10), samples can also be obtained directly as in equations (11) and (12) below. A[i] = A1[2i] (11) L[i] = L2[2i] (12)
[0190] Additionally, it should also be noted that mechanisms 1400 and 1500 can also be applied when row dimensions 1418, 1416, 1518, 1516 and / or column dimensions 1420, 1421, 1422, 1417, 1520 and / or 1517 extend beyond the corresponding luma block 1411 and / or 1511 (for example, as shown in Figure 12).
[0191] In the joint exploration model (JEM), there are two CCLM modes: the single-model CCLM mode and the multi-model CCLM (MMLM) mode. As indicated by the name, the single-model CCLM mode Petition 870260107948, dated 10 / 21 / 2026, pp. 94 / 140 58 / 81 uniquely employs a linear model to predict chroma samples from luma samples for the entire CU, whereas in MMLM, there may be two linear models. In MMLM, neighboring luma samples and neighboring chroma samples of the current block are classified into two groups, each group is used as a training set to derive a linear model (i.e., a particular α and a particular β are derived for a particular group). Furthermore, samples from the current luma block are also classified based on the same rule for classifying neighboring luma samples.
[0192] Figure 16 is a graph illustrating an exemplary 1600 mechanism for determining linear model parameters to support intra-CCLM prediction. To derive the linear model parameters α and β, the reconstructed luma samples are neighbors to the left and top and can be downsampled to obtain a one-to-one relationship with the reconstructed chroma samples neighbors to the top and left. In the 1200 mechanism, α and β, as used in equation (1), are determined based on the minimum and maximum values of the neighboring downsampled luma reference samples. The two points (2 pairs of luma value and chroma value or 2 pairs of luma value and chroma value) (A, B) are the minimum and maximum values within the set of neighboring luma samples, as depicted in Figure 16. This is an alternative approach to determining α and β based on minimizing the regression error.
[0193] As shown in Figure 16, a straight line is represented by the equation Y = ax + β, where the linear model parameters α and β are obtained according to the following equations (13) and (14): α -b—xb~xaβ= yA -α*A (13) (14) where (xa, yA) is a set of coordinates defined by the minimum neighboring luma reference value and a corresponding chroma reference value, and (xb, yB) is a set of coordinates defined by the maximum neighboring luma reference value and a corresponding chroma reference value. In this document, it is observed that the two points (2 pairs of luma value and chroma value) (A, B) are chosen from the reduced-sampling luma reconstructed neighboring samples and the chroma reconstructed neighboring samples. Petition 870260107948, dated 10 / 21 / 2026, pp. 95 / 140 59 / 81
[0194] The exemplificative 1600 engine uses the max / min luma values and the corresponding chroma values to derive the linear model parameters. Only 2 points (a point is represented by a pair of luma and chroma values) are chosen from neighboring luma samples and neighboring chroma samples to derive the linear model parameters. The exemplificative 1600 engine is not applied to some video sequences with some noise.
[0195] Multidirectional Linear Model
[0196] In addition to the above (or superior) neighboring samples and left neighboring samples being used to calculate the linear model parameters together, they can also be used, alternatively, in the other 2 CCIP modes (cross-component intra-prediction), called CCIP_A and CCIP_L modes. CCIP_A and CCIP_L can also be denoted multidirectional linear model (MDLM) for brevity.
[0197] Figures 17 and 18 are schematic diagrams illustrating an exemplary mechanism for performing MDLM intra prediction. MDLM intra prediction operates in a similar manner to CCLM intra prediction. Specifically, MDLM intra prediction uses both a cross-component linear model prediction (CCIP)_A 1700 mode and a CCIP_L 1800 mode when determining linear model parameters α and β. For example, MDLM intra prediction can calculate linear model parameters α and β using CCIP_A 1700 mode and CCIP_L 1800 mode. In another example, MDLM intra prediction can use CCIP_A 1700 mode or CCIP_L 1800 mode to determine linear model parameters α and β.
[0198] In CCIP_A mode, only the upper neighboring samples are used to calculate the linear model parameters. To obtain more reference samples, the upper neighboring samples are extended to (W+H), typically. As shown in Figure 17, W=H, where W indicates the width of the respective luma or chroma block, and H indicates the height of the respective luma or chroma block.
[0199] In CCIP_L mode, only left-neighbor samples are used to calculate the linear model parameters. To obtain more reference samples, the left-neighbor samples are extended to (H+W), typically. As shown in Figure 18, W=H, where W indicates the width. Petition 870260107948, dated 10 / 21 / 2026, pp. 96 / 140 60 / 81 of the respective luma or chroma block, and H indicates the height of the respective luma or chroma block.
[0200] CCIP mode (i.e., CCLM or LM mode) and MDLM (CCIP_A and CCIP_L) can be used together, or alternatively. For example, only CCIP is used in a codec, or only MDLM is used in a codec, or both CCIP and MDLM are used in a codec.
[0201] CCLM Multiple Models
[0202] In addition to single-model CCLM, there is another mode called multi-model CCLM (MMLM). As indicated by the name, single-model CCLM employs a linear model to predict chroma samples from luma samples for the entire CU, whereas in MMLM, there can be two models. In MMLM, neighboring luma samples and neighboring chroma samples of the current block are classified into two groups, each group is used as a training set to derive a linear model (i.e., a particular α and β are derived for a particular group). Furthermore, samples from the current luma block are also classified based on the same rule for classifying neighboring luma samples.
[0203] Figure 19 is a graph illustrating an exemplary 1900 mechanism for determining linear model parameters to support intra-prediction of MMLM. Intra-prediction of MMLM, as shown in graph 1900, is a type of cross-component intra-prediction. Intra-prediction of MMLM is similar to intra-prediction of CCLM. The difference is that in MMLM, neighboring reconstructed luma samples are placed into two groups by comparing the relevant luma value (e.g., Rec'L) with a threshold. Intra-prediction of CCLM is then performed on each group to determine linear model parameters α and β and conclude a corresponding linear model according to equation (1). The classification of neighboring reconstructed luma samples into two groups can be performed according to equation (15) below:
[0204] In one example, the threshold is calculated as the average value of neighboring reconstructed luma samples.A neighboring reconstructed luma sample with RecL[x,y] <= Threshold is classified in group 1; while a neighboring reconstructed luma sample with RecL[x,y] > Threshold is classified in group 2. Predc[x, y] = «jx Rec 'L[x, y] + βλif Rec 'L[x, y] < Threshold Predc[x, y] = «2x Rec 'L[x, y] + β2if Rec 'L[x, y] > Threshold (15) Petition 870260107948, dated 10 / 21 / 2026, pp. 97 / 140 61 / 81 where the variables in equation (15) are defined similarly to equation (1) with a subscript of one indicating a relationship with a first group and a subscript of two indicating a relationship with a second group.
[0205] As shown by graph 1900, linear model parameters α1 and β1 can be calculated for a first group and linear model parameters α2 and β2 can be calculated for a second group. As a specific example, such values can be α = 2 of two, β1 = 1, α2 = 1 / 2, and β2 = -1 of negative one where the threshold is a luma value of 17. The intra-prediction of MMLM can then select the resulting model that provides the least residual samples and / or results in the highest coding efficiency.
[0206] As noted above, the exemplary mechanisms for performing different intra-CCLM prediction discussed in this document use max / min luma values and the corresponding chroma values to derive the linear model parameters; improved mechanisms for performing intra-CCLM prediction that achieve robust linear model parameters are desirable.
[0207] If more than one point has a maximum value or more than one point has a minimum value, then the pair of points will be chosen based on the chroma value of the corresponding points.
[0208] If more than one point has a maximum value or more than one point has a minimum value, the average chroma value of the luma samples with the maximum value will be set to the chroma value corresponding to the maximum luma value, and the average chroma value of the luma samples with the minimum value will be set to the chroma value corresponding to the minimum luma value;
[0209] Not only will 1 pair of points (minimum and maximum) be chosen. Specifically, the N points that have the highest luma value, and the M points that have the lowest luma value will be used to calculate the linear model parameter.
[0210] Not just 1 pair of points will be chosen. Specifically, the N points with luma value within a range of [MaxValue-T1, MaxValue], and the M points with luma value within a range of [MinValue, MinValue+T2] will be chosen as the points to calculate the linear model parameter.
[0211] Not only are the left and above neighboring samples used to obtain the max / min values, but also some extended neighboring samples are used, such as the lower left and upper neighboring samples. Petition 870260107948, dated 10 / 21 / 2026, pp. 98 / 140 62 / 81 neighboring samples top / right.
[0212] With the improved exemplary mechanisms mentioned above, more robust linear model parameters can be generated by improving the intra-CCLM prediction coding efficiency.
[0213] In the present disclosure, the improved mechanisms for obtaining the max / min luma values and the corresponding chroma values between pairs of luma and chroma samples will be described in detail below.
[0214] In this document, it is noted that the improved mechanisms can also be used in MDLM and MMLM.
[0215] In the present disclosure, improved mechanisms are presented for obtaining the maximum and minimum luma values and the corresponding chroma values for deriving the linear model parameters. By the improved mechanisms, more robust linear model parameters can be derived.
[0216] In an example in this document, the set of luma sample pairs and chroma sample pairs is illustrated as {(pc, qc), (p1, q-ι), (ps, qs),..., (pi, qi), ..., (pv-1, qv-1)}. Where pi is the luma value of the i-th point, qi is the chroma value of the i-th point. In this document, the set of luma points is observed as P = {p0, p1, p2, ..., pi, ..., pv-1}, the set of chroma points is observed as Q = {q0, q1, ..., qi, ..., qv-1}.
[0217] First improved mechanism: more than 1 extreme point, and the pair of points is chosen according to the chroma value.
[0218] In the first improved mechanism, if more than 1 point has the max / min value, then the pair of points will be chosen based on the chroma value of the corresponding points. The pair of points that has the smallest difference in chroma value will be chosen as the pair of points to derive the linear model parameter.
[0219] For example, assume that the 5th, 7th, and 8th points have the maximum luma value, and the 4th and 6th points have the minimum luma value, |q7-q4| is the smallest value among |q5-q4|, |q5-q6|, |q7-q4|, |q7-q6|, |q8-q4|, and |q8-q6|. Then, the 7th and 4th points will be chosen to derive the linear model parameters.
[0220] In the present document, it is observed that, in addition to using the smallest difference in chroma value, the first improved mechanism can also Petition 870260107948, dated 10 / 21 / 2026, pp. 99 / 140 63 / 81 Use the largest difference in chroma value. For example, assuming that the 5th, 7th, and 8th points have the maximum luma value, and the 4th and 6th points have the minimum luma value, |q5-q6| is the largest value among |q5-q4|, |q5-q6|, |q7-q4|, |q7-q6|, |q8-q4|, and |q8-q6|. Then, the 5th and 6th points will be chosen to derive the linear model parameters.
[0221] In this document, it is noted that the improved mechanism can also be used in MDLM and MMLM.
[0222] Second improved mechanism: more than 1 extreme point, using the average chroma value
[0223] In the second improved mechanism, if more than one point has the max / min value, then the average chroma value will be used. The chroma value that corresponds to the maximum luma value is the average chroma value of the points with the maximum luma value. The chroma value that corresponds to the minimum luma value is the average chroma value of the points with the minimum luma value.
[0224] For example, if the 5th, 7th, and 8th points have the maximum luma value, and the 4th and 6th points have the minimum luma value. Then, the chroma value that corresponds to the maximum luma value is the average of qs, q7, and q8. The chroma value that corresponds to the minimum luma value is the average of q4 and q6.
[0225] It is observed in this document that the improved mechanism can also be used in MDLM and MMLM.
[0226] Third improved mechanism: (more than one point based on the number of points), more than 1 point higher / lower will be used, with the use of an average value.
[0227] In the third improved mechanism, N points will be used to calculate the maximum luma value and the corresponding chroma value. The N selected points have a higher luma value than other points. The average luma value of the N selected points will be used as the maximum luma value, and the average chroma value of the N selected points will be used as the chroma value that corresponds to the maximum luma value.
[0228] M points will be used to calculate the minimum luma value and the corresponding chroma value. The selected M points have a lower luma value than other points. The average luma value of the selected M points will be used as the minimum luma value, and the average chroma value of the selected M points will be used as the chroma value that corresponds to the value of Petition 870260107948, dated 10 / 21 / 2026, pp. 100 / 140 64 / 81 minimum lumen.
[0229] For example, if points 5, 7, 8, 9, and 11 have a higher luma value than other points, and points 4, 6, 14, and 18 have the lowest luma value. Then, the average value of p5, p7, p8, p9, and pn is the maximum luma value used for linear model parameters, and the average value of q5, q7, q8, q9, and qn is the chroma value that corresponds to the maximum luma value. Then, the average value of p4, p6, p14, and p18 is the minimum luma value used for linear model parameters, and the average value of q4, q6, q14, and qw is the chroma value that corresponds to the minimum luma value.
[0230] In this document, it is observed that M and N can be equal, or different. For example, M = N = 2.
[0231] In this document, it is observed that M and N can be defined adaptively based on the block size. For example, M = (W+H) >> t, N = (W+H) >> r. In this document, the ters are the number of bits shifted to the right, such as 2, 3, and 4.
[0232] In an alternative implementation, if (W+H) > T1, then M and N are defined as particular values M1, N1. Otherwise, M and N are defined as particular values M2, N2. In the present document, M1 and N1 can be equal or different. M2 and N2 can be equal or different. For example, if (W+H) > 16, then M = 2, N = 2. If (W+H) <= 16, then M = 1, N = 1.
[0233] Note that the improved mechanism can also be used in MDLM and MMLM.
[0234] Fourth improved mechanism: (active mode, more than one point based on luma value threshold), more than one major / minor point will be used, with the use of average value.
[0235] In the fourth improved mechanism, N points will be used to calculate the maximum luma value and the corresponding chroma value. The N selected points with luma value are within a range of [MaxlumaValue-T1, MaxlumaValue]. The average luma value of the N selected points will be used as the maximum luma value, and the average chroma value of the N selected points will be used as the chroma value that corresponds to the maximum luma value. In one example, MaxlumaValue represents the maximum luma value in the set P. Petition 870260107948, dated 10 / 21 / 2026, pp. 101 / 140 65 / 81
[0236] In the fourth improved mechanism, M points will be used to calculate the minimum luma value and the corresponding chroma value. The M selected points with luma value are within a range of [MinlumaValue, MinlumaValue+T2]. The average luma value of the M selected points will be used as the minimum luma value, and the average chroma value of the M selected points will be used as the chroma value that corresponds to the minimum luma value. In one example, MinlumaValue represents the minimum luma value in the set P.
[0237] For example, if the 5th, 7th, 8th, 9th, and 11th points are the points with luma values within a range of [Lmax-Ti, Lmax], then the 4th, 6th, 14th, and 18th points are the points with luma values within a range of [Lmin, Lmin+T2]. In this example, Lmax represents the highest luma value in the set P, and Lmin represents the lowest luma value in the set P. Then, the average value of p5, p7, p8, p9, and pn is the maximum luma value used as a linear model parameter, and the average value of q5, q7, q8, q9, and qn is the maximum chroma value that corresponds to the maximum luma value. Therefore, the average value of p4, p6, p14, and p18 is the minimum luma value used as a linear model parameter, and the average value of q4, q6, q14, and q18 is the minimum chroma value that corresponds to the minimum luma value.
[0238] Note that M and N can be the same, or different.
[0239] Note that T1 and T2 may be equal, or not equal.
[0240] Note that the improved mechanism can also be used in MDLM and MMLM.
[0241] Fifth improved mechanism: use of extended neighboring samples
[0242] In the existing mechanism, only the left and top neighboring samples are used to obtain the point pair to find the point pair to derive the linear model parameter. In the fifth improved mechanism, some extended samples can be used to increase the number of point pairs, to improve the robustness of the linear model parameters.
[0243] For example, the upper right neighboring samples and the left / lower neighboring samples are also used to derive the linear model parameters.
[0244] For example, as shown in Figure 20, in the mechanism Petition 870260107948, dated 10 / 21 / 2026, pp. 102 / 140 66 / 81 of CCLM, in a unique existing mode, the upper neighboring luma samples with reduced sampling are represented by A', and the left neighboring luma samples with reduced sampling are represented by L'. The upper neighboring chroma samples are represented by Ac', and the left neighboring chroma samples are represented by Lc'.
[0245] As shown in Figure 21, in the fifth improved mechanism, neighboring samples will be extended to the upper right and lower left samples. This means that the reference samples A, L, and Ac, Lc can be used to obtain the luma max / min value and the corresponding chroma value.
[0246] In this document, M>W, N>H.
[0247] In this document, it is noted that the improved mechanism can also be used in MDLM and MMLM.
[0248] In the existing CCIP or LM mechanism, to obtain the luma max / min value and the corresponding chroma value, only one pair of points will be used.
[0249] In the improved mechanisms proposed, not just one pair of points will be used.
[0250] If more than one point has a maximum value or more than one point has a minimum value, then the pair of points will be chosen based on the chroma value of the corresponding points.
[0251] If more than one point has a maximum value or more than one point has a minimum value, then the chroma value corresponding to the maximum luma value will be the average chroma value of the luma samples with the maximum value, and the chroma value corresponding to the minimum luma value will be the average chroma value of the luma samples with the minimum value.
[0252] Not just one pair of points will be chosen. Specifically, the N points that have the highest value, and the M points that have the lowest value will be used to derive the linear model parameters.
[0253] Not just one pair of points will be chosen. Specifically, the N points with values within a range of [MaxValue-T1, MaxValue], and the M points with values within a range of [MinValue, MinValue+T2] will be chosen as the points to derive the linear model parameters.
[0254] Not only are the neighboring samples to the left and above used Petition 870260107948, dated 10 / 21 / 2026, pp. 103 / 140 67 / 81 to obtain the max / min values, but some extended neighboring samples are also used, such as the lower left neighboring samples and upper / right neighboring samples.
[0255] All the improved mechanisms mentioned above will obtain the most robust linear model parameters.
[0256] All the improved mechanisms mentioned above can also be used in MMLM.
[0257] All the improved mechanisms mentioned above, except improved mechanism 5, can also be used in MDLM.
[0258] It is observed that the improved mechanisms proposed in the present disclosure are used to obtain the max / min luma values and the corresponding chroma values to derive the linear model parameters for intra-chroma prediction. The improved mechanisms are applied in the intra-prediction module or in the intra-process. Therefore, it exists on both the decoder and encoder sides. Furthermore, the improved mechanisms for obtaining the max / min luma values and the corresponding chroma values can be implemented in the same way in the encoder and decoder.
[0259] For a chroma block, in order to obtain its prediction using the LM mode, the corresponding reduced-sampling luma samples are first obtained, then the max / min luma values and the corresponding chroma values in the reconstructed neighboring samples are obtained to derive the linear model parameters. Then, the prediction (i.e., a predictive block) of the current chroma block is obtained using the derived linear model parameters and the reduced-sampling luma block.
[0260] A method for predicting the cross-component of a block according to embodiment 1 of the present disclosure refers to the first improved mechanism described above.
[0261] A method for predicting the cross-component of a block according to embodiment 2 of the present disclosure refers to the second improved mechanism described above.
[0262] A method for predicting the cross-component of a block according to embodiment 3 of the present disclosure refers to the third improved mechanism described above. Petition 870260107948, dated 10 / 21 / 2026, pp. 104 / 140 68 / 81
[0263] A method for predicting the cross-component of a block according to embodiment 4 of the present disclosure refers to the fourth improved mechanism described above.
[0264] A method for predicting the cross-component of a block according to embodiment 5 of the present disclosure refers to the fifth improved mechanism described above.
[0265] Figure 22 is a flowchart of another exemplary method 220 for cross-component prediction of a block (e.g., a chroma block) according to some embodiments of the present disclosure. Therefore, the method can be implemented by a video encoder 20 and / or a video decoder 30 of a codec system 10 or 40. In particular, the method can be implemented by an intra prediction unit 46 of the video encoder 20, and / or an intra prediction unit 74 of the video decoder 30.
[0266] In step 2210, a reduced-sampling luma block is obtained. It can be understood that the spatial resolution of the luma block is often greater than that of the chroma block; a luma block (i.e., a reconstructed luma block) is reduced-sampled to obtain a reduced-sampling luma block. Luma blocks 911, 1211, 1311, 1411, and 1511 correspond to a chroma block 901, as illustrated in Figures 9, 12 to 15.
[0267] In step 2230, a maximum luma value and a minimum luma value are determined from a reduced sampling set of reconstructed neighboring luma samples, wherein the reconstructed neighboring luma samples include a plurality of reconstructed luma samples that are above the luma block and / or a plurality of reconstructed luma samples that are to the left of the luma block, and the corresponding chroma value is also determined.
[0268] In step 2250, linear model parameters are calculated. For example, linear model parameters are calculated based on the maximum luma value and the corresponding chroma value, and the minimum luma value and the corresponding chroma value using equation (13) and equation (14).
[0269] In step 2270, a predictive block of chroma block 901 is obtained based on at least one or more linear model parameters. The predicted chroma values of chroma block 901 are generated based on a Petition 870260107948, dated 10 / 21 / 2026, pp. 105 / 140 69 / 81 or more linear model parameters and in the reduced sampling luma block 1212, 1312, 1412, 1512. The predicted chroma values of the chroma block 901 are derived using equation (1).
[0270] The method for predicting the cross-component of a block according to embodiment 1 (which corresponds to the first improved mechanism for LM mode) of the present disclosure is provided by reference to Figure 22.
[0271] The first improved mechanism described above will be used to derive the max / min luma values, and the corresponding chroma values. If more than one point has the max / min value, then the pair of points will be chosen based on the chroma value of the corresponding points. The pair of points (that have max / min luma value) that has the smallest difference in chroma value will be chosen as the pair of points to derive the linear model parameter.
[0272] It is observed that, in addition to using the smaller chroma value difference, the first improved mechanism can also use the larger chroma value difference.
[0273] For details, see the improved mechanism 1 shown above.
[0274] The improved mechanism 1 can also be used in MDLM and MMLM. For example, for MDLM / MMLM, only the max / min luma value and corresponding chroma value are used to derive the linear model parameters. The improved mechanism 1 is used to derive the max / min luma values and corresponding chroma values.
[0275] The method for predicting the cross-component of a block according to embodiment 2 (which corresponds to the second improved mechanism for LM mode) of the present disclosure is provided by reference in Figure 22.
[0276] The difference between mode 2 and mode 1 is:
[0277] If more than one point has a max / min value, then the average chroma value will be used. The chroma value that corresponds to the maximum luma value is the average chroma value of the points with the maximum luma value. The chroma value that corresponds to the minimum luma value is the average chroma value of the points with the minimum luma value.
[0278] For details, see the improved mechanism 2. Petition 870260107948, dated 10 / 21 / 2026, pp. 106 / 140 70 / 81
[0279] The improved mechanism can also be used in MDLM and MMLM. For example, for MDLM / MMLM, only the max / min luma value and corresponding chroma value are used to derive the linear model parameters. The improved mechanism 2 is used to derive the max / min luma values and corresponding chroma values.
[0280] The method for predicting the cross-component of a block according to embodiment 3 (which corresponds to the third improved mechanism) of the present disclosure is provided by reference in Figure 22.
[0281] The difference between mode 3 and mode 1 is:
[0282] N points will be used to calculate the maximum luma value, and the corresponding chroma value. The N selected points have a higher luma value than other points. The average luma value of the N selected points will be used as the maximum luma value, and the average chroma value of the N selected points will be used as the chroma value that corresponds to the maximum luma value.
[0283] M points will be used to calculate the minimum luma value, and the corresponding chroma value. The selected M points have luma values lower than other points. The average luma value of the selected M points will be used as the minimum luma value, and the average chroma value of the selected M points will be used as the chroma value that corresponds to the minimum luma value.
[0284] For details, see the improved mechanism 3 described above.
[0285] The improved mechanism 3 can also be used in MDLM and MMLM. For example, for MDLM / MMLM, only the max / min luma values and corresponding chroma values are used to derive the linear model parameters. The improved mechanism 3 is used to derive the max / min luma values and corresponding chroma values.
[0286] The method for predicting the cross-component of a block according to embodiment 4 (which corresponds to the fourth improved mechanism) of the present disclosure is provided by reference to Figure 22.
[0287] The difference between mode 4 and mode 1 is:
[0288] N pairs of points will be used to calculate the maximum luma value, and the corresponding chroma value. The N pairs of points selected Petition 870260107948, dated 10 / 21 / 2026, pp. 107 / 140 71 / 81 have luma values within a range of [MaxlumaValue-Ti, MaxlumaValue]. The average luma value of the N selected point pairs will be used as the maximum luma value, and the average chroma value of the N selected point pairs will be used as the chroma value that corresponds to the maximum luma value.
[0289] M pairs of points will be used to calculate the minimum luma value, and the corresponding chroma value. The selected M pairs of points have luma values within a range of [MinlumaValue, MinlumaValue+T2]. The average luma value of the selected M pairs of points will be used as the minimum luma value, and the average chroma value of the selected M pairs of points will be used as the chroma value that corresponds to the minimum luma value.
[0290] For details, see the improved mechanism 4 described above,
[0291] The improved mechanism 4 can also be used in MDLM and MMLM. For example, for MDLM / MMLM, only the luma max / min value and corresponding chroma value are used to derive the linear model parameters. The improved mechanism 4 is used to derive the luma max / min value and corresponding chroma value.
[0292] The method for predicting the cross-component of a block according to embodiment 5 (which corresponds to the fifth improved mechanism) of the present disclosure is provided by reference to Figure 22,
[0293] The difference between mode 5 and mode 1 is:
[0294] Some extended samples can be used to increase the number of point pairs, to improve the robustness of the linear model parameters,
[0295] For example, the upper right neighboring samples and the left / lower neighboring samples are also used to derive the linear model parameters,
[0296] For details, see the improved mechanism 5 described above,
[0297] The improved mechanism 5 can also be used in MMLM. For example, for MMLM, only the luma max / min value and the corresponding chroma value are used to derive the linear model parameters. Petition 870260107948, dated 10 / 21 / 2026, pp. 108 / 140 72 / 81 The improved mechanism 5 is used to derive the maximum / minimum luma values and corresponding chroma values.
[0298] Figure 23 is a flowchart of an exemplary method 230 for decoding video data. In step 2310, a luma block 911, 1211, 1311, 1411 and 1511 that corresponds to a chroma block 901 is determined.
[0299] In step 2320, a reduced sampling set of reconstructed neighboring luma samples is determined, wherein the reconstructed neighboring luma samples include a plurality of reconstructed luma samples that are above the luma block and / or a plurality of reconstructed luma samples that are to the left of the luma block.
[0300] In step 2330, two pairs of luma value and chroma value are determined according to N neighboring reduced-sampled luma samples and N reconstructed neighboring chroma samples that correspond to the N neighboring reduced-sampled luma samples, and / or M neighboring reduced-sampled luma samples and M reconstructed neighboring chroma samples that correspond to the M neighboring reduced-sampled luma samples.The minimum value of the N reduced-sampling neighboring luma samples is not less than the luma value of the remaining reduced-sampling neighboring luma samples from the reconstructed reduced-sampling neighboring luma sample set, and the maximum value of the M reduced-sampling neighboring luma samples is not greater than the luma value of the remaining reduced-sampling neighboring luma samples from the reconstructed reduced-sampling neighboring luma sample set, and M, N are positive integers greater than 1.In particular, a first pair of luma value and chroma value is determined according to N neighboring reduced-sampled luma samples from the reduced-sampled sample set and N reconstructed neighboring chroma samples that correspond to the N neighboring reduced-sampled luma samples; a second pair of luma value and chroma value is determined according to M neighboring reduced-sampled luma samples from the reduced-sampled sample set and M reconstructed neighboring chroma samples that correspond to the M neighboring reduced-sampled luma samples.
[0301] In step 2340, one or more linear model parameters are determined based on the two pairs of luma and chroma values. Petition 870260107948, dated 10 / 21 / 2026, pp. 109 / 140 73 / 81
[0302] In step 2350, a predictive block of chroma block 901 is determined based on at least one or more linear model parameters, for example, predicted chroma values of chroma block 901 are generated based on linear model parameters and reduced sampling luma blocks 1212, 1312, 1412 and 1512.
[0303] In step 2360, chroma block 901 is reconstructed based on the predictive block. For example, adding the predictive block to a residual block to reconstruct chroma block 901.
[0304] It should be noted that, in the case of intra MDLM prediction using CCIP_A 1700 mode, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block, but does not include a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra MDLM prediction using CCIP_L 1800 mode, the set of reconstructed neighboring luma samples does not include a plurality of reconstructed luma samples that are above the luma block and includes a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra-CCLM prediction, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block and a plurality of reconstructed luma samples that are to the left of the luma block.
[0305] Figure 24 is a flowchart of an exemplary method 240 of video data encoding. In step 2410, a luma block 911, 1211, 1311, 1411 and 1511 that corresponds to a chroma block 901 is determined.
[0306] In step 2420, a reduced sampling set of reconstructed neighboring luma samples is determined, wherein the reconstructed neighboring luma samples include a plurality of reconstructed luma samples that are above the luma block and / or a plurality of reconstructed luma samples that are to the left of the luma block.
[0307] In step 2430, two pairs of luma value and chroma value are determined according to N neighboring reduced-sampled luma samples and N neighboring reconstructed chroma samples that correspond to the N neighboring reduced-sampled luma samples, and / or M neighboring reduced-sampled luma samples and M neighboring reconstructed chroma samples. Petition 870260107948, dated 10 / 21 / 2026, pp. 110 / 140 74 / 81 which correspond to the M reduced-sampling neighboring luma samples. The minimum value of the N reduced-sampling neighboring luma samples is not less than the luma value of the remaining reduced-sampling neighboring luma samples from the reconstructed reduced-sampling neighboring luma sample set. The maximum value of the M reduced-sampling neighboring luma samples is not greater than the luma value of the remaining reduced-sampling neighboring luma samples from the reconstructed reduced-sampling neighboring luma sample set, and M, N are positive integers greater than 1.In particular, a first pair of luma value and chroma value is determined according to N neighboring reduced-sampled luma samples from the reduced-sampled sample set and N reconstructed neighboring chroma samples that correspond to the N neighboring reduced-sampled luma samples; a second pair of luma value and chroma value is determined according to M neighboring reduced-sampled luma samples from the reduced-sampled sample set and M reconstructed neighboring chroma samples that correspond to the M neighboring reduced-sampled luma samples.
[0308] In step 2440, one or more linear model parameters are determined based on the two pairs of luma and chroma values.
[0309] In step 2450, a predictive block of chroma block 901 is determined based on one or more linear model parameters, for example, predicted chroma values of chroma block 901 are generated based on linear model parameters and reduced sampling luma blocks 1212, 1312, 1412 and 1512.
[0310] In step 2460, chroma block 901 is encoded based on the predictive block. The residual data between the chroma block and the predictive block is encoded, and a bitstream that includes the encoded residual data is generated. For example, subtracting the predictive block from chroma block 901 gives a residual block (residual data), and a bitstream that includes the encoded residual data is generated.
[0311] It should be noted that, in the case of intra MDLM prediction using CCIP_A 1700 mode, the reconstructed neighboring luma sample set includes a plurality of reconstructed luma samples that are above the luma block, but does not include a plurality of luma samples. Petition 870260107948, dated 10 / 21 / 2026, pp. 111 / 140 75 / 81 reconstructed luma samples that are to the left of the luma block. In the case of intra-MDLM prediction using CCIP_L 1800 mode, the set of reconstructed neighboring luma samples does not include a plurality of reconstructed luma samples that are above the luma block and includes a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra-CCLM prediction, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block and a plurality of reconstructed luma samples that are to the left of the intra-CCLM prediction luma block.
[0312] Figure 25 is a flowchart of an exemplary method 250 for decoding video data. In step 2510, a luma block 911 that corresponds to a chroma block 901 is determined.
[0313] In step 2520, a reduced sampling set of reconstructed neighboring luma samples is determined, wherein the reconstructed neighboring luma samples include a plurality of reconstructed luma samples that are above the luma block and / or a plurality of reconstructed luma samples that are to the left of the luma block.
[0314] In step 2530, when N reduced-sampled neighboring luma samples with the maximum value and / or M reduced-sampled neighboring luma samples with the minimum value are included in the reduced-sampled set of reconstructed neighboring luma samples, two pairs of luma value and chroma value are determined according to N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples that correspond to the N reduced-sampled neighboring luma samples with the maximum values, and / or M reduced-sampled neighboring luma samples with the minimum value and M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples with the minimum value, where M, N are positive integers greater than 1. In particular, two pairs of luma value and chroma value are determined according to at least one of the following: 1. N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples corresponding to the N reduced-sampled neighboring luma samples with the maximum values, and one reduced-sampled neighboring luma sample with the minimum value and one Petition 870260107948, dated 10 / 21 / 2026, pp. 112 / 140 76 / 81 reconstructed neighboring chroma sample that corresponds to the reduced-sampling neighboring luma sample with the minimum value; 2. a reduced-sampled neighboring luma sample with the maximum value and a reconstructed neighboring chroma sample that corresponds to the reduced-sampled neighboring luma sample with the maximum values, and M reduced-sampled neighboring luma samples with the minimum value and M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples with the minimum value, and 3. N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples that correspond to the N reduced-sampled neighboring luma samples with the maximum values, and M reduced-sampled neighboring luma samples with the minimum value and M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples with the minimum value, where M, N are positive integers greater than 1.
[0315] In step 2540, one or more linear model parameters are determined based on the two pairs of luma and chroma values.
[0316] In step 2550, a predictive block is determined based on one or more linear model parameters, for example, predicted chroma values from chroma block 901 are generated based on linear model parameters and reduced-sampling luma blocks 1212, 1312, 1412, and 1512.
[0317] In step 2560, chroma block 901 is reconstructed based on the predictive block. For example, adding the predictive block to a residual block to reconstruct chroma block 901.
[0318] It should be noted that, in the case of intra MDLM prediction using CCIP_A 1700 mode, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block, but does not include a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra MDLM prediction using CCIP_L 1800 mode, the set of reconstructed neighboring luma samples does not include a plurality of reconstructed luma samples that are above the luma block and includes a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra CCLM prediction, the set of neighboring luma samples Petition 870260107948, dated 10 / 21 / 2026, pp. 113 / 140 77 / 81 reconstructed includes a plurality of reconstructed luma samples that are above the luma block and a plurality of reconstructed luma samples that are to the left of the CCLM intra-prediction luma block.
[0319] Figure 26 is a flowchart of an exemplary method 260 of video data encoding. In step 2610, a luma block 911 that corresponds to a chroma block 901 is determined.
[0320] In step 2620, a reduced sampling set of reconstructed neighboring luma samples is determined, wherein the reconstructed neighboring luma samples include a plurality of reconstructed luma samples that are above the luma block and / or a plurality of reconstructed luma samples that are to the left of the luma block.
[0321] In step 2630, when N reduced-sampled neighboring luma samples with the maximum value and / or M reduced-sampled neighboring luma samples with the minimum value are included in the reduced-sampled set of reconstructed neighboring luma samples, two pairs of luma value and chroma value are determined according to N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples that correspond to the N reduced-sampled neighboring luma samples with the maximum values, and / or M reduced-sampled neighboring luma samples with the minimum value and M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples with the minimum value, where M, N are positive integers greater than 1. In particular, two pairs of luma value and chroma value are determined according to at least one of the following: 1. N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples that correspond to the N reduced-sampled neighboring luma samples with the maximum values, and one reduced-sampled neighboring luma sample with the minimum value and one reconstructed neighboring chroma sample that correspond to the reduced-sampled neighboring luma sample with the minimum value; 2. a reduced-sampled neighboring luma sample with the maximum value and a reconstructed neighboring chroma sample that corresponds to the reduced-sampled neighboring luma sample with the maximum values, and M reduced-sampled neighboring luma samples with the minimum value and M Petition 870260107948, dated 10 / 21 / 2026, pp. 114 / 140 78 / 81 reconstructed neighboring chroma samples that correspond to the M reduced-sampling neighboring luma samples with the minimum value, and 3. N reduced-sampled neighboring luma samples with the maximum value and N reconstructed neighboring chroma samples that correspond to the N reduced-sampled neighboring luma samples with the maximum values, and M reduced-sampled neighboring luma samples with the minimum value and M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples with the minimum value, where M, N are positive integers greater than 1.
[0322] In step 2640, one or more linear model parameters are determined based on the two pairs of luma and chroma values.
[0323] In step 2650, a predictive block of chroma block 901 is determined based on one or more linear model parameters, for example, predicted chroma values of chroma block 901 are generated based on linear model parameters and reduced sampling luma blocks 1212, 1312, 1412 and 1512.
[0324] In step 2660, chroma block 901 is encoded based on the predictive block. The residual data between the chroma block and the predictive block is encoded, and a bitstream that includes the encoded residual data is generated. For example, subtracting the predictive block from chroma block 901 gives a residual block (residual data), and a bitstream that includes the encoded residual data is generated.
[0325] It should be noted that, in the case of intra-MDLM prediction using CCIP_A 1700 mode, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block, but does not include a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra-MDLM prediction using CCIP_L 1800 mode, the set of reconstructed neighboring luma samples does not include a plurality of reconstructed luma samples that are above the luma block and includes a plurality of reconstructed luma samples that are to the left of the luma block. In the case of intra-CCLM prediction, the set of reconstructed neighboring luma samples includes a plurality of reconstructed luma samples that are above the luma block and a plurality of reconstructed luma samples that Petition 870260107948, dated 10 / 21 / 2026, pp. 115 / 140 79 / 81 are to the left of the CCLM intra-prediction luma block.
[0326] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored in or transmitted as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which correspond to tangible media, such as data storage media, or communication media including any media that facilitates the transfer of a computer program from one location to another, for example, according to a communication protocol. Thus, computer-readable media may generally correspond to (1) tangible computer-readable storage media that are non-transient or (2) a communication medium, such as a signal or carrier wave.Data storage media can be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for deployment of the techniques described in this disclosure. A computer program product may include computer-readable media.
[0327] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage, magnetic disc storage, or other magnetic storage devices, flash memory, or any other media that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. In addition, any connection is appropriately termed a computer-readable media. For example, if instructions are transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media.It should be understood, however, that storage media readable by... Petition 870260107948, dated 10 / 21 / 2026, pp. 116 / 140 80 / 81 Computer and data storage media do not include connections, carrier waves, signals, or other transient media, but instead refer to non-transient, tangible storage media. Magnetic disk and optical disk, as used in this document, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc wherein magnetic disks typically reproduce data magnetically, while optical discs reproduce data optically with lasers. Combinations thereof should also be included within the scope of computer-readable media.
[0328] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable logic arrays (FPGAs), or other equivalent discrete or integrated logic circuits. Thus, the term “processor,” as used herein, may refer to any of the preceding structures or any other structure suitable for implementing the techniques described herein. Furthermore, in some respects, the functionality described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Additionally, the techniques may be fully implemented in one or more logic circuits or elements.
[0329] The techniques of this disclosure can be deployed in a wide variety of devices or appliances, including a cordless telephone, an integrated circuit (IC), or an array of ICs (e.g., a chip set). Several components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require implementation by different hardware units. Instead, as described above, several units can be combined into a codec hardware unit or provided by a collection of interoperable hardware units, including one or more processors, as described above, in conjunction with suitable software and / or firmware.
[0330] Although several modalities have been provided in Petition 870260107948, dated 10 / 21 / 2026, pp. 117 / 140 81 / 81 present disclosure, it should be understood that the systems and methods disclosed may be incorporated in many other specific forms without departing from the spirit or scope of the present disclosure. The present examples should be considered illustrative and not restrictive, and the intent should not be limited to the details provided in this document. For example, the various elements or components may be combined or integrated into another system, or certain features may be omitted or not implemented.
[0331] Furthermore, techniques, systems, subsystems, and methods described and illustrated in the various embodiments as discrete or separate may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present disclosure. Other items shown or discussed as coupled or directly coupled or communicating with each other may be indirectly coupled or communicate through some interface, device, or intermediate component, whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and alterations are verified by those skilled in the art and may be carried out without departing from the spirit and scope disclosed in the present document. Petition 870260107948, dated 10 / 21 / 2026, pp. 118 / 140
Claims
1 / 3 CLAIMS 1. Method for deriving linear model parameters from a linear model used in single-model cross-component linear model (CCLM) intra-prediction, CHARACTERIZED in that it comprises: calculating (2330) a first pair of an average luma value of N reduced-sampled neighboring luma samples and an average chroma value of N reconstructed neighboring chroma samples corresponding to the N reduced-sampled neighboring luma samples, wherein N is a positive integer greater than 1, wherein the N reduced-sampled neighboring luma samples are obtained by downsampling on reconstructed neighboring luma samples that are above a luma block and / or reconstructed neighboring luma samples that are to the left of the luma block;calculate (2330) a second pair of an average luma value of M reduced-sampled neighboring luma samples and an average chroma value of M reconstructed neighboring chroma samples that correspond to the M reduced-sampled neighboring luma samples, where M is a positive integer greater than 1, wherein the M reduced-sampled neighboring luma samples are obtained by downsampling on reconstructed neighboring luma samples that are above the luma block and / or reconstructed neighboring luma samples that are to the left of the luma block; wherein the luma value of any of the N reduced-sampled reconstructed luma samples is greater than the luma value of any of the M reduced-sampled reconstructed luma samples;and derive (2340) one or more linear model parameters from the linear model based on the first pair of average luma value and average chroma value and the second pair of an average luma value and an average chroma value, wherein the one or more linear model parameters from the linear model are used to predict a chroma block that corresponds to the luma block.; 2. Method according to claim 1, characterized in that M and N are equal.
3. Method according to claim 2, characterized in that M=N=2.
4. Method, according to any one of claims 1 to 3, CHARACTERIZED in that M and N are defined based on the size of the luma block.
5. Method, according to any one of claims 1 to 3, CHARACTERIZED in that the reconstructed neighboring luma samples comprise: an upper right neighboring luma sample outside the luma block and luma samples that are to the right of the upper right neighboring luma sample outside the luma block; and / or a lower left neighboring luma sample outside the luma block and luma samples that are below the lower left neighboring luma sample outside the luma block.
6. Method, according to any one of claims 1 to 3, CHARACTERIZED in that the reconstructed neighboring luma samples that are above the luma block are reconstructed neighboring luma samples adjacent to the respective upper boundary, and the reconstructed neighboring luma samples that are to the left of the luma block are reconstructed neighboring luma samples adjacent to the respective left boundary.
7. Method, according to any one of claims 1 to 3, CHARACTERIZED in that the reconstructed neighboring luma samples exclude luma samples that are above a left-up upper neighboring luma sample outside the luma block, and / or luma samples that are to the left of the left-up upper neighboring luma sample.
8. Method, according to any one of claims 1 to 3, CHARACTERIZED in that the single-model cross-component linear model (CCLM) intra prediction comprises cross-component intra prediction mode A (CCIP_A), cross-component intra prediction mode L (CCIP_L) or cross-component intra prediction mode (CCIP).
9. Method, according to any one of claims 1 to 3, CHARACTERIZED in that the chroma samples of the chroma block of a coding unit (CU) are predicted based on the reconstructed luma samples of the CU luma block, using the linear model as follows: predc(i,j) = a · rec'(i,j) + β (1) Petition 870260107948, 21 / 10 / 2026, p. 120 / 140 3 / 3 wherein predc(i,j) represents the predicted chroma samples of the chroma block in the CU, and recL(i,j) represents the reduced-sampling reconstructed luma samples of the CU luma block, and α and β represent one or more linear model parameters of the linear model.
10. Decoding apparatus, CHARACTERIZED in that it comprises: a memory storage containing instructions; and one or more processors communicating with the memory, wherein the one or more processors, when executing the instructions, perform the method as defined in any one of claims 1 to 9.
11. Encoding apparatus, CHARACTERIZED in that it comprises: a memory storage containing instructions; and one or more processors communicating with the memory, wherein the one or more processors, when executing the instructions, perform the method as defined in any one of claims 1 to 9.
12. Non-transient computer-readable storage media, CHARACTERIZED in that it stores instructions which, when executed by a processor in a device, cause the device to perform the method as defined in any of claims 1 to 9. Petition 870260107948, dated 10 / 21 / 2026, pp. 121 / 140
