The present invention relates to video coding system. In particular, the present invention relates to CCLM (Cross-Colour Linear Prediction) related modes in a video coding system.
Versatile video coding (VVC) is the latest international video coding standard developed by the Joint Video Experts Team (JVET) of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG). The standard has been published as an ISO standard: ISO/IEC 23090-3:2021, Information technology—Coded representation of immersive media—Part 3: Versatile video coding, published February 2021. VVC is developed based on its predecessor HEVC (High Efficiency Video Coding) by adding more coding tools to improve coding efficiency and also to handle various types of video sources including 3-dimensional (3D) video signals.
As shown in
The decoder, as shown in
According to VVC, an input picture is partitioned into non-overlapped square block regions referred as CTUs (Coding Tree Units), similar to HEVC. Each CTU can be partitioned into one or multiple smaller size coding units (CUs). The resulting CU partitions can be in square or rectangular shapes. Also, VVC divides a CTU into prediction units (PUs) as a unit to apply prediction process, such as Inter prediction, Intra prediction, etc.
The VVC standard incorporates various new coding tools to further improve the coding efficiency over the HEVC standard. For example, to reduce the cross-component redundancy, a cross-component linear model (CCLM) prediction mode is used in the VVC, for which the chroma samples are predicted based on the reconstructed luma samples of the same CU by using a linear model.
While the CCLM mode can improve coding efficiency, the mode also requires to signal additional information, such as the particular CCLM mode selected for a block and the model parameters. It is desirable to develop techniques to improve the efficiency for signalling CCLM related information.
A method and apparatus for video coding are disclosed. According to the method for the decoder side, encoded data associated with a current block comprising a first-colour block and a second-colour block are received. A first syntax is parsed from a bitstream comprising the encoded data for the current block, wherein the first syntax is related to whether the current block is coded in said one or more CCLM related modes. If the first syntax indicates the current block being coded in said one or more CCLM related modes, a second syntax is parsed from the bitstream, wherein the second syntax is related to whether a multiple model CCLM mode is used or whether one or more model parameters are explicitly signalled or implicitly derived. Said one or more model parameters for the second-colour block are determined if the first syntax indicates the current block being coded in said one or more CCLM related modes, wherein a cross-colour predictor for the second-colour block is generated by applying one or more cross-colour models to reconstructed or predicted first-colour block using said one or more model parameters. The encoded data associated with the second-colour block is then decoded using prediction data comprising the cross-colour predictor for the second-colour block.
In one embodiment, the decoding process further comprises parsing a third syntax from the bitstream if the second syntax is related to whether the multiple model CCLM mode is used, wherein the third syntax is related to whether said one or more model parameters are explicitly signalled or implicitly derived. If the third syntax indicates that said one or more model parameters are implicitly derived, an LM_LA mode using both top and left templates is selected for the current block or a further syntax is parsed to indicate a particular CCLM mode among said one or more CCLM related modes for the current block.
In one embodiment, the decoding process further comprises parsing a third syntax from the bitstream if the second syntax is related to whether the multiple model CCLM mode is used, wherein the third syntax indicates a particular CCLM mode among said one or more CCLM related modes.
In one embodiment, the decoding process further comprises parsing a third syntax from the bitstream if the second syntax indicates that said one or more model parameters are explicitly signalled, wherein the third syntax is related to whether the multiple model CCLM mode is used.
In one embodiment, if the second syntax indicates that said one or more model parameters are implicitly derived, an LM_LA mode using both top and left templates is selected for the current block or a further syntax is parsed to indicate a particular CCLM mode among said one or more CCLM related modes for the current block.
In one embodiment, the decoding process further comprises parsing, from the bitstream, a feasible range and/or a step number related to scaling parameters. For example, the feasible range and/or the step number related to the scaling parameters may be parsed in SPS (Sequence Parameter Set), PPS (Picture Parameter Set), APS (Adaptation Parameter Set), PH (Picture Header) or SH (Slice Header) of the bitstream. In one embodiment, the feasible range comprises an upper-bound and a lower-bound related to the scaling parameters, and the step number is related to a number of steps between the upper-bound and the lower-bound. Furthermore, a flag may be parsed from the PH or the SH of the bitstream to indicate whether the feasible range and the step number related to the scaling parameters in the SPS or the PPS is overwritten or not.
A corresponding method and apparatus for the encoder side are also disclosed. According to this method, pixel data associated with a current block comprising a first-colour block and a second-colour block are received. A first syntax is signalled in a bitstream comprising encoded data for the current block, wherein the first syntax is related to whether the current block is coded in said one or more CCLM related modes. One or more model parameters are determined for the second-colour block if the first syntax indicates the current block being coded in said one or more CCLM related modes, wherein a cross-colour predictor for the second-colour block is generated by applying one or more cross-colour models to reconstructed or predicted first-colour block using said one or more model parameters. A second syntax in the bitstream is signalled if the first syntax indicates the current block being coded in said one or more CCLM related modes, wherein the second syntax is related to whether a multiple model CCLM mode is used or whether said one or more model parameters are explicitly signalled or implicitly derived.
It will be readily understood that the components of the present invention, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of the embodiments of the systems and methods of the present invention, as represented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. References throughout this specification to “one embodiment,” “an embodiment,” or similar language mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, etc. In other instances, well-known structures, or operations are not shown or described in detail to avoid obscuring aspects of the invention. The illustrated embodiments of the invention will be best understood by reference to the drawings, wherein like parts are designated by like numerals throughout. The following description is intended only by way of example, and simply illustrates certain selected embodiments of apparatus and methods that are consistent with the invention as claimed herein.
In HEVC, a CTU is split into CUs by using a quaternary-tree (QT) structure denoted as coding tree to adapt to various local characteristics. The decision whether to code a picture area using inter-picture (temporal) or intra-picture (spatial) prediction is made at the leaf CU level. Each leaf CU can be further split into one, two or four Pus according to the PU splitting type. Inside one PU, the same prediction process is applied and the relevant information is transmitted to the decoder on a PU basis. After obtaining the residual block by applying the prediction process based on the PU splitting type, a leaf CU can be partitioned into transform units (TUs) according to another quaternary-tree structure similar to the coding tree for the CU. One of key feature of the HEVC structure is that it has the multiple partition conceptions including CU, PU, and TU.
In VVC, a quadtree with nested multi-type tree using binary and ternary splits segmentation structure replaces the concepts of multiple partition unit types, i.e. it removes the separation of the CU, PU and TU concepts except as needed for CUs that have a size too large for the maximum transform length, and supports more flexibility for CU partition shapes. In the coding tree structure, a CU can have either a square or rectangular shape. A coding tree unit (CTU) is first partitioned by a quaternary tree (a.k.a. quadtree) structure. Then the quaternary tree leaf nodes can be further partitioned by a multi-type tree structure. As shown in
In VVC, the maximum supported luma transform size is 64×64 and the maximum supported chroma transform size is 32×32. When the width or height of the CB is larger the maximum transform width or height, the CB is automatically split in the horizontal and/or vertical direction to meet the transform size restriction in that direction.
The following parameters are defined for the quadtree with nested multi-type tree coding tree scheme. These parameters are specified by SPS syntax elements and can be further refined by picture header syntax elements.
In VVC, the coding tree scheme supports the ability for the luma and chroma to have a separate block tree structure. For P and B slices, the luma and chroma CTBs in one CTU have to share the same coding tree structure. However, for I slices, the luma and chroma can have separate block tree structures. When the separate block tree mode is applied, luma CTB is partitioned into CUs by one coding tree structure, and the chroma CTBs are partitioned into chroma CUs by another coding tree structure. This means that a CU in an I slice may consist of a coding block of the luma component or coding blocks of two chroma components, and a CU in a P or B slice always consists of coding blocks of all three colour components unless the video is monochrome.
Virtual pipeline data units (VPDUs) are defined as non-overlapping units in a picture. In hardware decoders, successive VPDUs are processed by multiple pipeline stages at the same time. The VPDU size is roughly proportional to the buffer size in most pipeline stages, so it is important to keep the VPDU size small. In most hardware decoders, the VPDU size can be set to maximum transform block (TB) size. However, in VVC, ternary tree (TT) and binary tree (BT) partition may lead to the increasing of VPDUs size.
In order to keep the VPDU size as 64×64 luma samples, the following normative partition restrictions (with syntax signalling modification) are applied in VTM, as shown in
For an N×128 CU with N≤64 (i.e. height equal to 128 and width smaller than 128), vertical BT is not allowed. In
In typical hardware video encoders and decoders, processing throughput drops when a picture has smaller intra blocks because of sample processing data dependency between neighbouring intra blocks. The predictor generation of an intra block requires top and left boundary reconstructed samples from neighbouring blocks. Therefore, intra prediction has to be sequentially processed block by block.
In HEVC, the smallest intra CU is 8×8 luma samples. The luma component of the smallest intra CU can be further split into four 4×4 luma intra prediction units (PUs), but the chroma components of the smallest intra CU cannot be further split. Therefore, the worst case hardware processing throughput occurs when 4×4 chroma intra blocks or 4×4 luma intra blocks are processed. In VVC, in order to improve worst case throughput, chroma intra CBs smaller than 16 chroma samples (size 2×2, 4×2, and 2×4) and chroma intra CBs with width smaller than 4 chroma samples (size 2×N) are disallowed by constraining the partitioning of chroma intra CBs.
In single coding tree, a smallest chroma intra prediction unit (SCIPU) is defined as a coding tree node whose chroma block size is larger than or equal to 16 chroma samples and has at least one child luma block smaller than 64 luma samples, or a coding tree node whose chroma block size is not 2×N and has at least one child luma block 4×N luma samples. It is required that in each SCIPU, all CBs are inter, or all CBs are non-inter, i.e., either intra or intra block copy (IBC). In case of a non-inter SCIPU, it is further required that chroma of the non-inter SCIPU shall not be further split and luma of the SCIPU is allowed to be further split. In this way, the small chroma intra CBs with size less than 16 chroma samples or with size 2×N are removed. In addition, chroma scaling is not applied in case of a non-inter SCIPU. Here, no additional syntax is signalled, and whether a SCIPU is non-inter can be derived by the prediction mode of the first luma CB in the SCIPU. The type of a SCIPU is inferred to be non-inter if the current slice is an I-slice or the current SCIPU has a 4×4 luma partition in it after further split one time (because no inter 4×4 is allowed in VVC); otherwise, the type of the SCIPU (inter or non-inter) is indicated by one flag before parsing the CUs in the SCIPU.
For the dual tree in intra picture, the 2×N intra chroma blocks are removed by disabling vertical binary and vertical ternary splits for 4×N and 8×N chroma partitions, respectively. The small chroma blocks with sizes 2×2, 4×2, and 2×4 are also removed by partitioning restrictions.
In addition, a restriction on picture size is considered to avoid 2×2/2×4/4×2/2×N intra chroma blocks at the corner of pictures by considering the picture width and height to be multiple of max (8, MinCbSizeY).
Intra Mode Coding with 67 Intra Prediction Modes
To capture the arbitrary edge directions presented in natural video, the number of directional intra modes in VVC is extended from 33, as used in HEVC, to 65. The new directional modes not in HEVC are depicted as red dotted arrows in
In VVC, several conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for the non-square blocks.
In HEVC, every intra-coded block has a square shape and the length of each of its side is a power of 2. Thus, no division operations are required to generate an intra-predictor using DC mode. In VVC, blocks can have a rectangular shape that necessitates the use of a division operation per block in the general case. To avoid division operations for DC prediction, only the longer side is used to compute the average for non-square blocks.
To keep the complexity of the most probable mode (MPM) list generation low, an intra mode coding method with 6 MPMs is used by considering two available neighbouring intra modes. The following three aspects are considered to construct the MPM list:
A unified 6-MPM list is used for intra blocks irrespective of whether MRL and ISP coding tools are applied or not. The MPM list is constructed based on intra modes of the left and above neighbouring block. Suppose the mode of the left is denoted as Left and the mode of the above block is denoted as Above, the unified MPM list is constructed as follows:
Besides, the first bin of the MPM index codeword is CABAC context coded. In total three contexts are used, corresponding to whether the current intra block is MRL enabled, ISP enabled, or a normal intra block.
During 6 MPM list generation process, pruning is used to remove duplicated modes so that only unique modes can be included into the MPM list. For entropy coding of the 61 non-MPM modes, a Truncated Binary Code (TBC) is used.
Conventional angular intra prediction directions are defined from 45 degrees to −135 degrees in clockwise direction. In VVC, several conventional angular intra prediction modes are adaptively replaced with wide-angle intra prediction modes for non-square blocks. The replaced modes are signalled using the original mode indexes, which are remapped to the indexes of wide angular modes after parsing. The total number of intra prediction modes is unchanged, i.e., 67, and the intra mode coding method is unchanged.
To support these prediction directions, the top reference with length 2W+1, and the left reference with length 2H+1, are defined as shown in
The number of replaced modes in wide-angular direction mode depends on the aspect ratio of a block. The replaced intra prediction modes are illustrated in Table 2.
In VVC, 4:2:2 and 4:4:4 chroma formats are supported as well as 4:2:0. Chroma derived mode (DM) derivation table for 4:2:2 chroma format was initially ported from HEVC extending the number of entries from 35 to 67 to align with the extension of intra prediction modes. Since HEVC specification does not support prediction angle below −135° and above 45°, luma intra prediction modes ranging from 2 to 5 are mapped to 2. Therefore, chroma DM derivation table for 4:2:2: chroma format is updated by replacing some values of the entries of the mapping table to convert prediction angle more precisely for chroma blocks.
To reduce the cross-component redundancy, a cross-component linear model (CCLM) prediction mode is used in the VVC, for which the chroma samples are predicted based on the reconstructed luma samples of the same CU by using a linear model as follows:
where predc(i, j) represents the predicted chroma samples in a CU and recL′(i, j) represents the downsampled reconstructed luma samples of the same CU.
The CCLM parameters (α and β) are derived with at most four neighbouring chroma samples and their corresponding down-sampled luma samples. Suppose the current chroma block dimensions are W×H, then W′ and H′ are set as
The above neighbouring positions are denoted as S[0, −1] . . . S[W′−1, −1] and the left neighbouring positions are denoted as S[−1, 0] . . . S[−1, H′−1]. Then the four samples are selected as
The four neighbouring luma samples at the selected positions are down-sampled and compared four times to find two larger values: x0A and x1A, and two smaller values: x0B and x1B. Their corresponding chroma sample values are denoted as yhu 0A, y1A, y0B and y1B. Then xA, xB, yA and yB are derived as:
Finally, the linear model parameters α and β are obtained according to the following equations.
The division operation to calculate parameter a is implemented with a look-up table. To reduce the memory required for storing the table, the diff value (difference between maximum and minimum values) and the parameter a are expressed by an exponential notation. For example, diff is approximated with a 4-bit significant part and an exponent. Consequently, the table for 1/diff is reduced into 16 elements for 16 values of the significand as follows:
DivTable [ ]={0,7,6,5,5,4,4,3,3,2,2,1,1,1,1,01} (5)
This would have a benefit of both reducing the complexity of the calculation as well as the memory size required for storing the needed tables.
Besides the above template and left template can be used to calculate the linear model coefficients together, they also can be used alternatively in the other 2 LM modes, called LM_A, and LM_L modes.
In LM_A mode, only the above template is used to calculate the linear model coefficients. To get more samples, the above template is extended to (W+H) samples. In LM_L mode, only left template are used to calculate the linear model coefficients. To get more samples, the left template is extended to (H+W) samples.
In LM_LA mode, left and above templates are used to calculate the linear model coefficients.
To match the chroma sample locations for 4:2:0 video sequences, two types of down-sampling filter are applied to luma samples to achieve 2 to 1 down-sampling ratio in both horizontal and vertical directions. The selection of down-sampling filter is specified by a SPS level flag. The two down-sampling filters are as follows, which are corresponding to “type-0” and “type-2” content, respectively.
Note that only one luma line (general line buffer in intra prediction) is used to make the down-sampled luma samples when the upper reference line is at the CTU boundary.
This parameter computation is performed as part of the decoding process, and is not just as an encoder search operation. As a result, no syntax is used to convey the α and β values to the decoder.
For chroma intra mode coding, a total of 8 intra modes are allowed for chroma intra mode coding. Those modes include five traditional intra modes and three cross-component linear model modes (LM_LA, LM_A, and LM_L). Chroma mode signalling and derivation process are shown in Table 3. Chroma mode coding directly depends on the intra prediction mode of the corresponding luma block. Since separate block partitioning structure for luma and chroma components is enabled in I slices, one chroma block may correspond to multiple luma blocks. Therefore, for Chroma DM mode, the intra prediction mode of the corresponding luma block covering the center position of the current chroma block is directly inherited.
A single binarization table is used regardless of the value of sps_cclm_enabled_flag as shown in Table 4.
In Table 4, the first bin indicates whether it is regular (0) or CCLM modes (1). If it is LM mode, then the next bin indicates whether it is LM_LA (0) or not. If it is not LM_LA, next 1 bin indicates whether it is LM_L (0) or LM_A (1). For this case, when sps_cclm_enabled_flag is 0, the first bin of the binarization table for the corresponding intra_chroma_pred_mode can be discarded prior to the entropy coding. Or, in other words, the first bin is inferred to be 0 and hence not coded. This single binarization table is used for both sps_cclm_enabled_flag equal to 0 and 1 cases. The first two bins in Table 4 are context coded with its own context model, and the rest bins are bypass coded.
In addition, in order to reduce luma-chroma latency in dual tree, when the 64×64 luma coding tree node is partitioned with Not Split (and ISP is not used for the 64×64 CU) or QT, the chroma CUs in 32×32/32×16 chroma coding tree node are allowed to use CCLM in the following way:
In all the other luma and chroma coding tree split conditions, CCLM is not allowed for chroma CU.
In the JEM (J. Chen, E. Alshina, G. J. Sullivan, J.-R. Ohm, and J. Boyce, Algorithm Description of Joint Exploration Test Model 7, document JVET-G1001, ITU-T/ISO/IEC Joint Video Exploration Team (JVET), July 2017), multiple model CCLM mode (MMLM) is proposed for using two models for predicting the chroma samples from the luma samples for the whole CU. In MMLM, neighbouring luma samples and neighbouring 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, the samples of the current luma block are also classified based on the same rule for the classification of neighbouring luma samples.
The following methods are proposed to improve the cross-component prediction accuracy or coding performance.
A new coding mode by explicitly signalling parameters is proposed. The linear model parameters are derived at the encoder side and signalled to the decoder side so as to relieve the decoder complexity or coding dependency. For example, the chroma prediction according to the proposed method is predc (i, j)=a′·recL′(i, j)+β, where α′ and β are explicitly signalled in the bitstream and α′ corresponds to an updated a which is implicitly derived. In one embodiment, only α′ is signalled but β is implicitly derived from neighbouring (L-shape) reconstructed samples. In another embodiment, more than one set of linear model parameters are signalled to the decoder side. For example, two sets of linear model parameters in equation (8) (e.g., α1, α2, β1, and β2; or only α1 and α2) are signalled to decoder side. In yet another embodiment, more than one set of linear model parameters are signalled to the decoder side, but only partial model parameters are signalled, and the remaining model parameters are implicitly derived. For example, if two linear models are used for the current block, one set of linear model parameters are signalled, and another set of model parameters are implicitly derived from the neighbouring samples.
In one embodiment, if α′ is signalled, β can be implicitly derived from neighbouring (L-shape) reconstructed samples. For example, in VVC, four neighbouring luma and chroma reconstructed samples can be selected to derive model parameters. Suppose the average value of the selected neighbouring luma and chroma samples are lumaAvg and chromaAvg, then β is derived as β=chromaAvg−α′·lumaAvg. The average value of neighbouring luma samples (lumaAvg) can be calculated based on all selected luma samples, the luma DC mode value of the current luma CB, or the average of the maximum and minimum luma samples (e.g., lumaAvg=(Max(xA0, xA1)+Min(xB0, xB1)+1)>>1, or lumaAvg=(Min(xA0, xA1)+Max(xB0, xB1)+1)>>1. Similarly, the average value of neighbouring chroma samples (chromaAvg) can be calculated based on all selected chroma samples, the chroma DC mode value of the current chroma CB, or the average of the maximum and minimum chroma samples (e.g., chromaAvg=(Max(yA0, yA1)+Min(yB0, yB1)+1)>>1), or chromaAvg=(Min(yA0, yA1)+Max(yB0, yB1)+1)>>1). Note, for the non-4:4:4 colour subsampling format, the selected neighbouring luma reconstructed samples can be from the output of CCLM down-sampling process.
The proposed coding mode can be design as one of chroma coding modes. Possible embodiments for the mode syntax design are as follows.
In one embodiment, the first syntax is used to indicate whether the current chroma mode is a CCLM related mode or not. If the current chroma mode is a CCLM related mode, the second syntax is used to indicate whether multiple model CCLM mode is used or not. The CCLM related mode refers to any of the variations of the CCLM mode, such as LM_LA, LM_A, LM_L, multiple mode CCLM, etc. The third syntax is then signalled to indicate whether the CCLM parameters are implicitly or explicitly derived. If the CCLM parameters are explicitly signalled, the model parameters (e.g., the scale and offset parameters, or only the scale parameter) are further indicated. If the CCLM parameters are implicitly derived, then no further syntax is signalled and LM_LA is implicitly applied, or the CCLM prediction modes (e.g., LM_LA, LM_A, or LM_L) are further indicated. If the current chroma mode is not a CCLM related mode, then a non-CCLM mode is indicated.
In another embodiment, the first syntax is used to indicate whether the current chroma mode is a CCLM related mode or not. If the current chroma mode is a CCLM related mode, the second syntax is used to indicate whether the CCLM parameters are implicitly or explicitly derived. If the CCLM parameters are explicitly signalled, then the third syntax is signalled to indicate whether multiple model CCLM mode is used or not. Also, the model parameters (e.g., the scale and offset parameters, or only the scale parameter) are further indicated. If the CCLM parameters are implicitly signalled, then no further syntax is signalled and LM_LA is implicitly applied, or the CCLM prediction modes (e.g., LM_LA, LM_A, or LM_L) are further indicated. If the current chroma mode is not a CCLM related mode, then a non-CCLM mode is indicated.
In another embodiment, the first syntax is used to indicate whether the current chroma mode is a CCLM related mode or not. If the current chroma mode is a CCLM related mode, the second syntax is used to indicate whether multiple model CCLM mode is used or not. Also, the model parameters (e.g., the scale and offset parameters, or only the scale parameter) are further indicated. If the current chroma mode is not a CCLM related mode, then a non-CCLM mode is indicated.
In yet another embodiment, the feasible range and the step number of the CCLM parameters are indicated in SPS (Sequence Parameter Set), PPS (Picture Parameter Set), APS (Adaptation Parameter Set), PH (Picture Header) or SH (Slice Header). For example, the feasible range and steps of scaling parameters are signalled in SPS, PPS, APS, PH or SH, which indicates the upper-bound of scaling parameter, the lower-bound of scaling parameter, the number of steps between the upper-bound and lower-bound of scaling parameter. For example, the signalled upper-bound of scaling parameter is α′max, the signalled lower-bound of scaling parameter is α′min, the signalled number of steps is n. Then, the scaling parameter of the current block coded with the proposed coding mode could be one of {(α′min+(α′max−α′min)×0/n), (α′min+(α′max−α′min)×1/n), (α′min+(α′max−α′min)×2/n), . . . , (α′min+(α′max−α′min)×(k−1)/n), (α′min+(α′max−α′min)×k/n)}, where 0<k≤n. If the proposed coding mode is selected, then a syntax is used to indicate the index of the selected scaling parameter. In another embodiment, if the feasible range and steps of scaling parameters are signalled in SPS or PPS, a flag is signalled in PH or SH to indicate if the feasible range and steps of scaling parameters in SPS or PPS is overwritten or not. If the feasible range and steps of scaling parameters in SPS or PPS is overwritten, it can further indicate another feasible range and steps of scaling parameters in PH or SH for the corresponding picture or slice. Similarly, if the offset parameter is signalled, the offset parameter can also apply the same approach.
For still another embodiment, the feasible CCLM parameters can be indicated in table(s). When signalling the scale parameter or the offset parameter, the index of the corresponding table is signalled. The table could be predefined at encoder side and decoder side.
When the encoder side is deriving the scaling parameter or offset parameter, it can use the current luma reconstruction samples and the current source chroma samples to derive the model parameters and signalled in bitstream. In one embodiment, if the scaling parameter is indicated by signalling the index of candidate scaling values, the final best scaling parameter is chosen by the rate-distortion optimization (RDO) comparisons between these candidates. Similarly, if the offset parameter is indicated by signalling the index of candidate offset values, the final best offset parameter is chosen by the rate-distortion optimization (RDO) comparisons between these candidates. In another embodiment, it can try various luma sample phases to derive the model parameters. As shown in
The CCLM (Cross Colour Linear Model) as described above can be implemented in an encoder side or a decoder side. For example, any of the proposed CCLM methods can be implemented in an Intra coding module (e.g. Intra pred. 150 in
The flowcharts shown are intended to illustrate an example of video coding according to the present invention. A person skilled in the art may modify each step, re-arranges the steps, split a step, or combine steps to practice the present invention without departing from the spirit of the present invention. In the disclosure, specific syntax and semantics have been used to illustrate examples to implement embodiments of the present invention. A skilled person may practice the present invention by substituting the syntax and semantics with equivalent syntax and semantics without departing from the spirit of the present invention.
The above description is presented to enable a person of ordinary skill in the art to practice the present invention as provided in the context of a particular application and its requirement. Various modifications to the described embodiments will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed. In the above detailed description, various specific details are illustrated in order to provide a thorough understanding of the present invention. Nevertheless, it will be understood by those skilled in the art that the present invention may be practiced.
Embodiment of the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be one or more circuit circuits integrated into a video compression chip or program code integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program code to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA). These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware code may be developed in different programming languages and different formats or styles. The software code may also be compiled for different target platforms. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
The present invention is a non-Provisional application of and claims priority to U.S. Provisional Patent Application No. 63/301,515, filed on Jan. 21, 2022 and U.S. Provisional Patent Application No. 63/301,518, filed on Jan. 21, 2022. The U.S. Provisional Patent Applications are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2023/072970 | 1/18/2023 | WO |
Number | Date | Country | |
---|---|---|---|
63301518 | Jan 2022 | US | |
63301515 | Jan 2022 | US |