Fast CU size decision and intra-prediction mode decision method for H.266/VVC

H.266/Versatile Video Coding (VVC) is the most recent video coding standard developed by the Joint Video Experts Team (JVET). The quad-tree with nested multi-type tree (QTMT) architecture that improves the compression performance of H.266/VVC is introduced. Moreover, H.266/VVC contains a greater number of intra-prediction modes than H.265/High Efficiency Video Coding (HEVC), totalling 67. However, these lead to extremely the coding computational complexity. To cope with the above issues, a fast intra-coding unit (CU) size decision method and a fast intra-prediction mode decision method are proposed in this paper. Specifically, the trained Support Vector Machine (SVM) classifier models are utilized for determining CU partition mode in a fast CU size decision scheme. Furthermore, the quantity of intra-prediction modes added to the RDO mode set decreases in a fast intra-prediction mode decision scheme based on the improved search step. Simulation results illustrate that the proposed overall algorithm can decrease 55.24% encoding runtime with negligible BDBR.


Introduction
As the video domain continues to advance, the ultra-high definition (UHD) video has become more and more popular because it can bring people a better experience, the video coding technology is facing higher demands [1].The previous generation video coding standard falls short of satisfying the compression demands of the future market [2], while the increasing density of data poses significant challenges in terms of bandwidth and storage capacity.Consequently, the development of H.266/VVC is urgent [3], which can suffice the requirements for clarity, fluency, and real-time video.In addition, the bit-depth of H.266/VVC is 10-bit and is formulated for 4 K/8 K video.The maximum CU size of the encoder becomes 128 resulting from this reason.For instance, even if the input is an 8-bit sequence in the encoding process, it is converted to 10-bit for processing.The H.266/VVC not only inherits some technologies of H.265/HEVC but also expands upon the original partition structure [4].The compression efficiency in H.266/ VVC has been efficiently enhanced due to the incorporation of numerous advanced coding techniques, but causes an extreme rise in the coding computational intricacy and reduces the encoding speed of H.266/VVC [5].The computational intricacy of VTM is 19 times without any exaggeration compared with HM under the "All Intra" configuration [6].Consequently, effectively mitigating the encoding computational burden and efficiently compressing vast quantities of data have emerged as significant challenges in the practical implementation of H.266/VVC.
The researchers have proposed many different methods for H.265/HEVC to optimize the intra-prediction structure and enhance the coding efficiency.In Ref. [7], a rate-distortion-based CU partition network is introduced for division decisions guided by statistical characteristics.In Ref. [8] a convolutional neural network that relies on multi-scale information fusion is introduced to provide a swift and precise prediction of CU partition for both intra-and inter-modes.In Ref. [9], an HEVC intra-coding chroma image enhancement convolutional neural network guided by luminance is introduced, demonstrating the capability to generate high-quality chroma images.Fast intra-mode selection is performed by mapping the intra-modes of HEVC to fireflies in the firefly algorithm in Ref. [10].Reference [11] developed algorithms based on LeNet-5 and AlexNet to optimize the intra-prediction CU partition module in HEVC to reduce a large amount of computing time.In Ref. [12], spatial correlation with neighboring CTUs is harnessed to constrain the rate-distortion optimization for individual CTUs, effectively decreasing the range of candidate CU sizes to be contemplated for individual CTUs.Reference [13] proposed an efficient algorithm that minimizes computational complexity by skipping unnecessary patterns and maintaining coding efficiency.An algorithm was proposed in Ref. [14] to reduce the complexity of intra-prediction in HEVC by training three CNN models to predict the best CU partition of the QT step.Reference [15] proposed a lightweight model for intra-mode early decision-making that can dynamically adjust the best option.Reference [16] proposes to combine deep learning and parallel computing technologies and apply them in HEVC intra-mode to substantially decrease the intricacy of the HEVC encoding engine while preserving RD performance.In Ref. [17], the reinforcement learning framework employs the Frank Wolfe strategy to address the CTU bit allocation challenge in HEVC for region-of-interest intra-coding, which can effectively transforms the CTU-level bit allocation problem into an action-constrained reinforcement learning problem.All these fast algorithms effectively reduce the H.265/ HEVC coding complexity to some extent.Since the partition architecture of H.266/VVC is very different from that of H.265/HEVC, the newly added coding technologies cause a surge complexity in intra-prediction.Therefore, if the previous algorithms for H.265/ HEVC are applied to H.266/VVC, which can inevitably cause a higher computational complexity.
Recently, some fast CU partitioning decision applied to H.266/VVC has appeared for decreasing the coding burden.Reference [18] proposed a low-complexity intra-coding decision, which includes a fast Bayesian-based CU segmentation decision and a fast L-BFGS-based intra-mode decision.A Random Forest-based algorithm is used in Ref. [19] to train Random Forest classifiers for different classes of CUs separately to directly predict the optimal division pattern.A simple early decision tool is proposed in Ref. [20] by identifying features in the encoding context of H.266/VVC, which can usefully alleviate the coding burden.A fast partition method in light of variance and gradient is exploited in Ref. [21] for tackling the asymmetric splitting problem brought by QTMT partition structure, thus ensuring both coding performance and compression quality.In Ref. [22], a fast intra-partitioning algorithm was proposed based on variance and Sobel operators, which can effectively solve the new asymmetric partitioning structure problem in VVC.Reference [23] applies the LGBM classifier to the intra-partitioning of VVC to bypass the exhaustive RDO process and skip the less likely CU partitioning types.Reference [24] proposed an algorithm that uses the difference obtained from the gradient and content of sub-blocks to eliminate redundant horizontal and vertical partitioning patterns.In Ref. [25], a multi-stage CNN equipped with an early exit mechanism is suggested to forecast the CU partitioning mode within VVC, significantly expediting the intra-mode encoding process.In Ref. [26], different decision models are established for different partition modes by obtaining the distortion of CU, and proposed an adjustable CU decision-making model to achieve complexity reduction.Reference [27] utilized human vision models with significant differences to identify visually discernible pixels within CUs, and employs a random forest model to forecast MTT partition while eliminating unnecessary partitions.To accurately forecast the QTMT structure, Ref. [28] presents a hierarchical grid fully CNN, which necessitates only a single inference to retrieve comprehensive partition details of the current CU and its sub-CUs, enabling the direct prediction of the specific hierarchical partitioning structure.In Ref. [29], the FSVM model and DAG-SVM model are harnessed to forecast both the necessity of CU partitioning and the specific partition type, which can effectively circumvents superfluous RDO processes within VVC intra-prediction.An adaptive CU partitioning decision method utilizes the pooling-variable CNN for various CU shape which is exploited in Ref. [30] to decrease the encoding complexity.Inspired by the above methods, this paper presents novel algorithms for fast intra-CU size decision and efficient intra-prediction in H.266/VVC, whose objective is to efficiently decrease the coding computational burden.
In previous some works, many researchers are committed to studying CU splitting and mode decision.Many fast methods are introduced for decreasing computational intricacy.To resolve the asymmetric splitting question, we design a fast intra-CU size and fast intra-prediction mode decision method to reduce the encoding computational burden.The fast CU sizing decision scheme first selects effective features to distinguish CU partition mode.There are three situations: when CU sizes are 128 × 128 and 64 × 64, the effective features include the texture variance of a whole CU, the expected value of partition, variance of partition, and quantization parameter (QP); when CU sizes are 32 × 16, 16 × 32, 16 × 16, 8 × 16, and 16 × 8, the effective features include the entropy variance difference, the difference between the texture contrast and Haar.Subsequently, the SVM classifier models corresponding to CU size are trained on-line using these characteristics.Eventually, the trained SVM classifier models are utilized for determining CU partition mode; when CU size is 32 × 32, the variances of the variance of the five splitting modes are calculated separately and each value corresponds to one splitting mode.The best splitting of the CU is determined by selecting the maximum value of the splitting mode.Furthermore, a fast intra-prediction mode decision scheme is devised, where the quantity of intra-prediction modes added to the RDO mode set decreases through improved search step.Overall, the proposed algorithm cannot only significantly decrease the coding complexity but also ensure video quality at the same time.
The rest of this paper is structured as follows.The motivation and analysis of the proposed scheme are shown in Sect. 2. The main idea of the fast CU size decision method and fast intra-prediction mode decision scheme is illustrated in Sect.3. Section 4 illustrates the experimental results of the proposed approach and provides a comparison with the other fast approaches.Section 5 offers the concluding remarks for this paper.

Motivation and analysis
Only QT partition architecture is allowed in H.265/HEVC, while the partition structure of H.266/VVC allows the asymmetric partitioning.In theory, the CU size in H.266/ VVC can be configured with any combination of 128, 64, 32, 16, 8, or 4. In addition, the smaller length (2 or 1) exists resulting from the introduction of intra-sub-partitions (ISP) technique [31].Consequently, the multi-type tree (MTT) partition structure can obtain more efficient coding performance but greatly rises the computational intricacy.The CTUs are first divided into four leaf nodes in H.266/VVC.Subsequently, the leaf nodes undergo further partition through the employment of the MTT partition architecture.If the CU sizes are 128 × 128 and 64 × 64, which is only split by QT partition architecture since the size exceeds the maximum allowable MTT size.Otherwise, it is further split through MTT partition architecture.The four partition types in the MTT structure are shown in Fig. 1, which include horizontal BT (BT_H), vertical BT (BT_V), horizontal TT (TT_H), and vertical TT (TT_V).
Since the different splitting modes could potentially result in the same CU size, some redundant splitting modes are disallowed in H.266/VVC.The redundancy partitioning pattern in the MTT structure is shown in Fig. 2. It can be seen that two consecutive levels BT splitting in one direction could have the same CU size as TT splitting followed by BT splitting in the central partition.Thus, the syntax prevents BT splitting (in the given direction) for the central partition of TT splitting.These restrictions apply to CUs in all pictures.
A series of experiments for H.266/VVC are implemented on the VTM 7.0 to dissect the complexity of MTT splitting architecture under the QP values (22,27,32,37).The average time-consuming of MTT architecture is about 95% in various sequences, that is, the MTT architecture in H.266/VVC is the most time-consuming part.Specifically, the proportions of different CU partition results are analyzed.For sequences belonging to the smooth area, the CUs might not be further split.For sequences belonging to a complex area, the CUs are likely to be further partitioned into small CU by MTT structure.Thus, it is noticed that the texture traits have an intense connection with the CU partition.The texture traits of sequences are utilized to early terminate the coding procedure of CUs and reduce the coding computational burden.According to the aforementioned analysis, it is an important task to seek out a method to lessen the computational burden of CU partitioning.Furthermore, the quantity of intra-prediction patterns in H.266/VVC is augmented from 35 to 67 for better adjusting to the various types of local features in natural videos.Although the 67 intra-modes offer outstanding compression gains than H.265/HEVC, selecting the optimal intra-mode leads to the high coding computational intricacy.Thus, it summarizes that the encoding runtime of the RDO procedure surpasses the half of the total encoding runtime on the basis of the statistical data.The mode decision procedure of VTM finds the best prediction pattern with the least RD cost through an exhaustive search, and the RD cost is calculated as where D Had is the Hadamard transform of the CU residual.R MODE represents the number of bits generated by the transformation.refers to the Lagrangian multiplier.This method results in an extremely computational burden.Consequently, to further decrease the encoding time, a fast intra-prediction mode decision algorithm is also proposed.

Proposed algorithm
To cope with the asymmetric partition problem brought by the QTMT splitting architecture, a fast approach for intra-CU size decision and an efficient scheme for intraprediction mode decision scheme are designed to reduce the coding computational intricacy.Figure 3 shows the overall flowchart of the proposed algorithm.In the fast CU size decision method, the effective features are firstly chosen to determine the CU splitting mode.Subsequently, the SVM classifier models corresponding to CU sizes are trained on-line using these characteristics.Eventually, the SVM classifier models are utilized for determining CU partition mode.Taking into account the different situations of different video sequences, the SVM classifier models are trained on-line and updated regularly, with each period consisting of 80 frames.Specifically, the SVM classifier models are trained using the first frame, and the subsequent 79 frames are utilized for prediction.When CU size is equal to 32 × 32, we will compute the variance of the five partition modes separately.Use the partition mode corresponding to the maximum value as the optimal partition mode of the CU.Furthermore, the proposed fast intra-prediction mode decision method is designed to decrease the complexity by improving the search step and reducing the number of predictive modes added to the RDO pattern set. (1)

Feature extraction and analysis
The spatial feature used in H.265/HEVC is not directly applicable to H.266/VVC.If the CU sizes are 128 × 128 and 64 × 64, only the QT partition structure is allowed to split CU since the size exceeds the maximum allowable MTT size.Furthermore, CUs generally select the larger size when the sequences are smooth and CUs familiarly choose the smaller size when the sequences are complex.Accordingly, the texture features and CU size have a strong relationship, where the variance is employed as a metric to the texture complexity that is presented as where W and H are the width and height of the CU, x is the average values of pixel, and ξ denotes the texture variance of a whole CU.
The up and down or the left and right of the CU should be very similar when CU splitting is early terminated.Figure 4 shows the up, down, left, and right position in a CU.Therefore, the expected values and variance absolute difference in the up and down of a CU forecast whether the two parts exhibit differences or not.The same applies to both the left and (2) The variance of variance of CU is calculated to find the optimal CU splitting mode Fig. 3 The flowchart of the proposed overall method right parts of the CU.The absolute difference between the expected values and variance is expressed as where e v and e h refer to the vertical and horizontal absolute difference of the expected value, respectively.ξ v and ξ h refer to the vertical and horizontal absolute difference of variance, respectively.e u , e d , e l , and e r are the expected values of up, down, left and right, respectively.ξ u , ξ d , ξ l , and ξ r are the variance values of up, down, left and right, respec- tively.When CU splitting is early terminated, e v , e h , ξ v , and ξ h should be small.Thus, the sum of the absolute difference of the expected values and variance is defined as the expected value and variance of partition, respectively: where e s and ξ s denote the sum of the absolute difference of the expected values and vari- ance.Moreover, QP has also an effect on the CU size decision.CU generally chooses the large size when QP setting is large.In contrast, CU is likely to select the small size when QP is small.Building upon the aforementioned analysis, the texture variance of a whole CU, the expected value of partition, variance of partition, and QP are considered as the feature vector when the CU sizes are 128 × 128 and 64 × 64.When CU sizes are 32 × 16, 16 × 32, 16 × 16, 8 × 16, and 16 × 8, the improved features based on entropy and texture contrast are extracted, where entropy and texture contrast denote the information quantity.The partition modes of MTT architecture as shown in Fig. 1.The improved features are denoted as △ E BT , △ E TT , △ T BT and △ T TT , which are defined as (4)  where △ E BT is the entropy variance difference in BT_H and BT_V, E BTH _0 − E BTH _1 and E BTV _0 − E BTV _1 denote the entropy variance of BT_H and BT_V, respec- tively.Similarly, △ E TT is the entropy variance difference in TT_H and TT_V.E TTH _0 − E TTH _1 + E TTV _1 − E BTV _2 is the entropy variance of TT_H and represents the entropy variance of TT_V.More- over, E K represents the entropy of sub-CUs, which is presented as where p(i) denotes the probability of the i-th gray scale value.△ T BT and △ T TT are defined as where △ T BT is the difference between the texture contrast of BT_H and BT_V.E BTH _0 − E BTH _1 and E BTV _0 − E BTV _1 denote the texture contrast of BT_H and BT_V, respectively.Similarly, △ T TT is the difference between the tex- ture contrast of TT_H and TT_V.T TTH _0 − E TTH _1 + T TTV _1 − T BTV _2 and T TTV _0 − T TTV _1 − T TTV _1 − T TTV _2 represent the texture contrast of TT_H and TT_V, respectively.Furthermore, T K is the texture of sub-CUs, which is calculated as where W and H denote the width and height of sub-CU, respectively.f (i, j) represents the pixel value at position (i, j).
Furthermore, Haar reflects the gray level changes of the image and CU partitioning patterns can be accurately predicted, which is expressed by represent the horizontal and vertical coefficient in Haar wavelet transform, respectively.According to the aforementioned analysis, the effective characteristics including the entropy variance difference, the difference between the texture contrast and Haar are considered as the feature vector when the CU sizes are 32 × 16, 16 × 32, 16 × 16, 8 × 16, and 16 × 8.
The F-score method is utilized to determine the most effective features for classification from a multitude of options.Moreover, the F-score calculation is uncomplicated, which is calculated as (10) where n pos and n neg represent the amount of positive and negative samples, respectively.x i refers to the average value of the i -t feature vector.x (pos) i and x (neg) i refer to the average value of the i-th feature vector in the positive and negative sample sets, respectively.x (pos) l,i and x (neg) l,i represent the eigenvalues of the i-th feature vector of the l-th positive and negative sample points, respectively.In the proposed fast CU size decision method, when the CU sizes are 128 × 128 and 64 × 64, the split and non-split are set as the positive and negative; when CU sizes are 32 × 16, 16 × 32, 16 × 16, 8 × 16, and 16 × 8, the horizontal and vertical splitting are set as the positive and negative.Table 1 displays the F-score values of the various features.It is observed that five sequences with different resolutions are selected for calculating the F-score value that is its value of SVM classifier models.Moreover, it is noticed that the discriminativeness of a feature increases with the increase of F-score value.
(15) Fig. 5 The statistical results of under different QPs In addition, the different textures are partitioned into different size sub-CUs for realizing a better forecasting property.Part of CUs has been resolved for partition, while QT or MTT structure is used to split when CU size is 32 × 32.According to the statistical analysis based on the 100 images in the DIV2K data set, the variance of the variance of each sub-CUs is obtained.Figure 5 illustrates the statistical results under different QPs.It is noticed from Fig. 5 that the maximum variance of variance corresponding to splitting mode seems to be the probable mode.
We can reasonably conjecture the comparatively large variance of variance in five splitting modes as the best mode.Therefore, the variance of the variance of each sub-CU in five splitting modes is devised for further reducing the coding computational burden, where the maximum value corresponding to partition mode is considered as the best partition mode.The variance of the variance of sub-CU is expressed as where V QT , V BT _V , V BT _H , V TT _V and V TT _H denote the variance of the variance of each sub-CU in QT, BT_V, BT_H, TT_V, and TT_H.W n , H n , and ξ n designate the width, height, and the mean value of pixels of the k-th sub-CU, respectively.ξ QT , ξ BV , ξ BH , ξ TV and ξ TH represent the average variance value of all sub-CUs in QT, BT_V, BT_H, TT_V, and TT_H.V M is the maximum value in five partition modes.

Fast CU size decision method
The SVM classifier model can settle the two-class classification problem, which can seek out the best hyperplane in two classes.The optimal hyperplane leads to improved classification performance in feature space, where the training sample set is defined as ( 16) where y i refers to the class label corresponding to the input feature vector x i .R N refers to the dimension of the characteristic vectors.The optimal hyperplane W • x + b = 0 can divide the training samples.Maximizing 1 W and minimizing 1 2 W 2 are equivalent, which is presented as where 1  W denotes the classification interval.In addition, the perfect classification is nonexistent.For example, the samples of one class are misclassified as other classes.Thus, the optimal hyperplane can solve the misclassified classification by the error penalty for controlling the classification precision, and it is presented as where W denotes the normal vector obtained using original dual-relation.C is the pen- alty factor.µ i is slack variable.a denotes the bias variable.Further, the above optimiza- tion problem is settled by introducing the Lagrange multipliers: where γ i and η i denote Lagrange multiplier.�(x i ) is a mapping.The solution of the hyperplane optimization question is given by the saddle point of the Lagrange function: Finally, the decision function is presented as where sign{•} is the signum function.�•, •� refers to the scalar product.Specifically, when the CU sizes are 128 × 128 and 64 × 64, the effective features including the texture variance of a whole CU, the expected value of partition, variance of partition, and QP are used for two SVM classifier models, in which + 1 and − 1 represent split and non-split, respectively.Similarly, when the CU sizes are 32 × 16, 16 × 32, 16 × 16, 8 × 16, and 16 × 8, the corresponding effective features including the entropy variance difference, (23) the difference between the texture contrast and Haar are utilized for five SVM classifier models, where + 1 represents horizontal partition and − 1 denotes vertical partition.The SVM models are trained on-line and regularly updated since the different video sequences have different situations.Each period has 80 frames, the SVM classifier models are trained based on the data from the first frame, and the subsequent 79 frames are used for prediction.Figure 6 demonstrates the predicting precision of these SVM classifier models.It is noticed from Fig. 6 that the average precision of most SVM classifier models exceeds 80% and the average precision of classifiers for the small size of CUs surpasses 90%.Accordingly, it verifies that SVM classifier models are efficient for these CUs.
Moreover, the maximum variance of variance corresponding to splitting mode seems to be the probable mode when CU size is 32 × 32 in light of the statistical analysis presented in Sect.3.1.Consequently, the variance of the variance of each sub-CU in five splitting modes is calculated for further reducing the complexity of CU splitting, and the partitioning mode with the maximum value is regarded as the best.Figure 7 illustrates the flowchart of the proposed fast CU size decision scheme.

Fast intra-prediction mode decision algorithm
The intra-prediction modes in H.266/VVC have been increased from the original 35 of H.265 to 67, namely 65 directional prediction modes and DC, Planar.Significantly improving the accuracy of intra-prediction also brings a high computational burden to the RDO procedure.Therefore, a proposed fast intra-prediction mode decision scheme aims to minimize unnecessary RD calculations and reduce coding complexity.Figure 8 illustrates the flowchart of the proposed fast intra-prediction mode decision method.
Texture direction is an important feature in the intra-prediction mode in H.266/VVC.The utilization of texture direction allows for the removal of several unnecessary intra-prediction modes, which can simplify the intra-prediction procedure.The Planar or DC mode is often used for regions with flat texture and the directional modes are used for regions exhibiting intricate edges and fine details.The texture features are employed to ascertain whether the intra-prediction mode is the horizontal or vertical mode, where 2-34 modes Fig. 6 The predicting precision of these SVM classifier models belong to the horizontal mode and 34-67 modes belong to the vertical mode.Specifically, the mean absolute deviation between pixels can more accurately represent the energy direction trend of a CU.Consequently, the pixel value deviation (PVD) technique is used for fast intra-prediction decision approach to obtain the texture direction of CU.PVD D is denoted as where y(x) represents the average luma value of the x-th pixel bar.W and H denote the width and height of CU, respectively.P(x, i) represents the i-th luma pixel value in the x-th pixel bar.PVD w is originated from the average value of PVD D of pixel bar that is defined as

Start
The CU size is 128×128, 64×64 32×16, 16×32, 16×16, 16×8 and 8×16 The CU size is 32×32 On-line learning frame?where N refers to the number of the pixel bar.Specifically, the PVD value of CU com- pared with PVD w , if it is less than PVD w , the intra-prediction mode of CU is considered as the horizontal mode; otherwise, it belongs to the vertical mode.
If it belongs to horizontal mode, the SATD values of 2, 18, and 34 mode are first calculated, the smallest SATD value is recorded as M h0 .Then, the SATD values of M h0 ± 8 mode are calculated (if it does not exist, the calculation is not performed).In addition, the smallest SATD value in M h0 ± 8 mode is recorded as M h1 compared with M h0 mode.If M h0 is 2 mode, the 2, 3, 4, 5, and 6 mode are added in the RDO mode set.Further, the SATD values of M h1 ± 4 mode compare with M h1 , where the smallest SATD value is recorded as M h2 .Finally, the M h2 ± 2, M h2 , M h2 ± 1 mode are added in the RDO mode set.Similarly, if it belongs to vertical mode, the SATD values of 34, 50, and 66 mode are calculated, the smallest SATD value is recorded as M v0 .Compared with M v0 mode, the smallest SATD value in M v0 ± 8 mode is recorded as M v1 .The smallest SATD value in M v1 ± 4 mode is recorded as M v2 com- pared with M v1 .If M v0 is 66 mode, 62, 63, 64, 65, and 66 modes are added in the RDO mode set.Finally, M v2 ± 2, M v2 , M v2 ± 1 mode are added in the RDO mode set.The RDO value of each directional mode in the RDO mode set is computed, where the mode in correspondence with the minimum value is considered as the optimal mode.( 31)

Start
The SATD of 34, 50 and 66 mode are calculated, the minimum SATD value is recorded as Mv0. PVDcu<PVDw?
The SATD of 2, 18 and 34 mode are calculated, the minimum SATD value is recorded as Mh0.
The The mode corresponding to minimum value is considered as the optimal intra prediction mode.
End Y N Fig. 8 The flowchart of the fast intra-prediction mode decision method

Experimental results and analysis
To access the coding property of the proposed overall algorithm, the test video sequences (A1, A2, B, C, D, E) are tested in "All intra" configuration.Bjontegaard Delta Bitrate (BDBR) [32] is utilized to gauge the overall encoding quality, while average time saving (ATS) measures the coding time saving achieved in H.266/VVC.In addition, if the BDBR increase is greater, the encoding quality is worse.In addition, the ATS is defined as where T Proposed denotes the encoding runtime of the proposed algorithm, T VTM7.0 denotes the encoding time of the anchor method in VTM7.0.The proposed overall algorithm consists of the fast CU size decision (FCSD) algorithm and the fast intra-prediction mode decision (FPMD) algorithm together, and Table 2 illustrates the ablation experimental results of the two individual methods.It can be found from Table 2 that the ATS is decreased by 39.86% and the increment of BDBR is ignorable in the FCSD algorithm.Experiment results show that the FCSD approach can early terminate CU splitting, thereby reducing unnecessary RDO calculations.It is found that the average coding runtime saving is 33.51% and the increment of BDBR is negligible in the FPMD algorithm.Thence, the FPMD algorithm can skip some needless intra-prediction modes, which can significantly reduce the encoding complexity.
The results of the proposed overall algorithm are shown in Table 3.It is evident that the results demonstrate a 54.38% reduction in the encoding runtime of the proposed (32 overall algorithm, and BDBR is increased by 1.02% compared with VTM 7.0.It is observed that the simulation results may fluctuate that is acceptable for videos with varying resolutions, as the impact of resolution on the results is minimal.Simulation results illustrate that the proposed overall method achieves a substantial reduction in encoding complexity while guaranteeing excellent encoding performance.
The RD performance comparison of two test video sequences "FourPeople" and "Kimono" is shown in Fig. 9.A comparison with VTM 7.0 reveals that the proposed overall algorithm exhibits nearly consistent RD performance.To assess the encoding performance of the proposed algorithm, we selected some classic fast and effective methods for comparison.The results of the comparison experiments with the five algorithms, CTDM [20], FIVG [21], FBDA [33], FQPD [22] and ACSD [30], are shown in Tables 4 and 5.The results of the advanced fast methods  including CTDM, FIVG, and FBDA method are compared with VTM4.0.In addition, ACSD and FQPD algorithms are compared with VTM 5.0 and VTM7.0 respectively.Tables 4 and 5 demonstrate that the proposed overall method achieves a coding time saving of 55.24% with a bit loss negligible.According to Tables 4 and 5, CTDM, FIVG, FBDA, FQPD, and ACSD methods all exhibit good coding characteristics, but in comparison, none of these methods save as much coding runtime as the proposed overall algorithm.The saved coding time increases by 20.92%, 3.08%, 25.75%, 7.21% and 22.03% compared to CTMD, FIVG, FBDA, FQPD and ACSD algorithms, respectively.That is, the proposed overall algorithm saves the most coding time.Furthermore, it can be observed from Tables 4 and 5 that the BDBR of the proposed algorithm increases by only 1.04%, while the BDBR of the CTDM, FIVG, FBDA, FQPD, and ACSD algorithms increases by 1.06%, 1.38%, 1.38%, 1.43%, and 0.99%, respectively.Thus, the BDBR of the proposed algorithm is much smaller than that of the CTDM, FIVG, FBDA, and FQPD algorithms, decreasing by 0.02%, 0.34%, 0.34%, and 0.39% compared to them, respectively.Although the average BDBR of the ACSD algorithm is smaller than that of the proposed algorithm in this paper, the difference is only 0.05, which is negligible.
The FCSD and FPMD algorithms together constitute the overall algorithm proposed, where the FCSD algorithm can early terminate some needless CU partition modes and the FPMD algorithm can skip many needless prediction modes.Thus, the proposed overall scheme can decrease more encoding burden and ensure nearly consistent coding quality compared with the other algorithms in H.266/VVC.The comparison of the algorithm proposed in this paper with other algorithms in terms of time saving and BDBR is shown more visually in Figs. 10 and 11. Figure 10 illustrates that the average runtime savings of the proposed overall algorithm are about 3.08-25.75% in comparison to the CTDM, FIVG, FBDA, FQPD, and ACSD algorithm.Furthermore, as depicted in Fig. 11, the proposed overall algorithm can reduce the BDBR by 0.02-0.39%compared to CTDM, FIVG, FBDA and FQPD algorithms.Simulation results show that the proposed overall algorithm saves more coding time and has superior coding performance compared to other fast and efficient algorithms, and is also applicable to video sequences with multiple resolutions.

Conclusions
To cope with the asymmetric partition problem brought by the QTMT splitting architecture, we propose a fast intra-CU size decision scheme and a fast intra-prediction mode decision algorithm.In the fast CU size decision scheme, the effective features are first chosen to decide CU splitting mode.Subsequently, the SVM models corresponding to CU size are trained on-line by using these features.Eventually, the SVM models are utilized for determining CU partition mode.In addition, the fast intra-prediction mode decision method is also devised, where the quantity of intra-prediction modes added to the RDO mode set decreases an improved method.Simulation results show that the proposed overall algorithm reduces the coding runtime by 55.24% while maintaining stable coding quality (only 1.04% BDBR loss, which is negligible).

Fig. 1 Fig. 2
Fig. 1 The partition types of MTT architecture

Fig. 4
Fig.4 The up, down, left, and right positions in a CU

Fig. 7
Fig. 7 The flowchart of the fast CU size decision algorithm

Fig. 9
Fig. 9 RD performance comparison chart of the proposed overall algorithm

Table 1
The F-score values of features

Table 2
Results of the proposed individual scheme

Table 3
Results of the proposed overall scheme

Table 4
Comparison of the proposed overall algorithm with the FQPD and ACSD algorithms