Next Article in Journal
A Configurable Accelerator for Keyword Spotting Based on Small-Footprint Temporal Efficient Neural Network
Previous Article in Journal
User-Generated Multimedia Content Impact on the Destination Choice: Five Dimensions of Consumer Experience
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Intra Complexity Control Algorithm for VVC

1
Faculty of Information Science and Engineering, Ningbo University, Ningbo 315211, China
2
School of Electrical and Electronic Engineering, Chongqing University of Technology, Chongqing 400054, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(16), 2572; https://doi.org/10.3390/electronics11162572
Submission received: 19 July 2022 / Revised: 9 August 2022 / Accepted: 12 August 2022 / Published: 17 August 2022

Abstract

:
Versatile Video Coding (VVC) has advantages over High Efficiency Video Coding (HEVC); it can save nearly half of the bit rate and significantly improve the compression efficiency, but VVC’s coding complexity is extremely high. Therefore, VVC encoders are difficult to implement in video devices with different computing capabilities and power constraints. In this paper, we apply texture information and propose a VVC intra complexity control algorithm. The algorithm assigns a different encoding time to each CU based on the corresponding texture entropy. Besides, the complexity reduction strategy at the CU level is designed to balance the complexity control while taking rate-distortion performance into consideration. Experiments in our paper show that the coding complexity can be accurately controlled from 90% to 70% with a slight loss of RD performance.

1. Introduction

In the last decades, the amount of video transmitted through broadcast channels, media platforms, and virtual networks has grown significantly. Demand for HD and ultra HD video, 360 omnidirectional video, and high fps video has increased. The quantity of information to be transmitted and the bandwidth requirements are also greatly increased, which places a huge burden on the communication transmission network. To settle the transmission pressure, the Joint Video Experts Group introduced quantities of new technologies into the coding framework and formulated the Versatile Video Coding (VVC) standard. With the same quality of experience, the VVC encoder has higher compression efficiency in comparison to the current High Efficiency Video Coding (HEVC) standard. Meanwhile, each mobile terminal has different computing capabilities and different video compression speeds. Therefore, different complexity control algorithms need to be specified for different terminals.
The fast coding method is the foundation for the complexity control algorithm. Therefore, to lessen the coding complexity of VVC, Zhang et al. [1] estimate CU’s texture direction information with the gray level co-occurrence matrix, and terminated the horizontal or vertical direction partition. Liu et al. [2] utilized CU’s cross-block disparity to skip the not optimal partitions. In [3], a Support Vector Machine (SVM) primarily based method is proposed.The approach makes use of texture information to perform early termination. Saldanha et al. [4] skipped partition patterns that are unlikely to be selected as the best partition type by an optical gradient boosting machine classifier. Kulupan et al. [5] accelerated the CU partition decision by selecting appropriate features to better specialize the prediction of block features. Wang et al. [6] terminated the iterations early with a joint classification decision tree. A random forest scheme was also introduced to reduce partition redundancy in [7]. Fu et al. [8] considered that horizontal or vertical partitions will bring a lot of coding complexity and used a Bayesian-based classifier to skip redundant partitions. Yang et al. [9] introduced a fast decision framework for QTMT structure selection and intra-mode search. Meanwhile, heuristic algorithms are able to prune the Quad Tree with a nested Multi-type Tree (QTMT) structure. Lei et al. [10] proposed a sum of absolute transformed differences to determine possible block sizes. Chen et al. [11] addressed the rectangular partition issue with variance and gradient features. Cui et al. [12] pre-determined the likelihood of directional partitions. However, the above methods that use artificial features cannot describe the segmentation rules well, so the coding loss becomes large as the complexity decreases. He et al. [13] divided CUs into three categories, namely simple ones, normal ones, and complex ones. A random forest classifier will be introduced to simple and complex CUs to reduce unnecessary partition recursion. Normal CUs will be predicted whether they will continue to be partitioned.
For neural network based methods, the main problem is the flexibility of the size of the CU as input. Wu et al. [14] used a hierarchical grid fully convolutional network framework combined with parallel processing and a hierarchy grid map to achieve a partition structure. Pan et al. [15] introduced a multi-information fusion convolutional neural network (CNN) model into the coding fast algorithm, which is used to prematurely terminate merge mode decisions. A multi-stage dropout CNN model was proposed by Li et al. [16] to determine CU partitions to conform to the multi-stage flexible QTMT structure. Then, an adaptive loss function is designed to train a multi-stage dropout CNN model, combining the uncertain number of segmentation patterns and the objective of minimizing Rate-Distortion (RD) cost. Lastly, a balance between complexity and RD performance is obtained by a multi-threshold scheme. Park et al. [17] introduced a lightweight neural network to reduce the computational complexity caused by the ternary tree partition in VVC. Zhang et al. [18] proposed DenseNet-based probability prediction. The method obtained a probability for each QTMT partition and for skip partitions by comparing the probability with the threshold. Tech et al. [19] proposed a CNN algorithm for 32 × 32 CU blocks that minimizes the rate-distortion function as the objective function. Jin et al. [20] found that depth range and coding complexity are strongly correlated. The method reduced the depth range of each 32 × 32 CU to terminate the Rate-Distortion Optimization (RDO). Wang et al. [21] extended depth range prediction to 64 × 64 CU for inter coding.
There have been some complexity control algorithms for video coding. Most of the research is on HEVC and there is little on VVC. To control the complexity of HEVC, Huang et al. [22] designed a variable accuracy CU decision model, which can control the coding complexity by changing the model’s accuracy. Cai et al. [23] focused on achieving a constant objective reconstruction quality during video encoding, by modeling bitrate and distortion as functions of video constituents and control features to achieve a certain rate-distortion performance. Li et al. [24] found that most computations can be pruned. Then, an adaptive pruning scheme is devised to apply well-suited weight parameter retention rates to each level. Finally, complexity control is accomplished with several network models generated by different retention rates. Huang et al. [25] proposed a heuristic directed framework where the HEVC encoder can be adapted to the underlying acceleration algorithm. In this framework, CU and PU partitions are accelerated by boundary-consideration CNN and Naive Bayes, respectively. Deng et al. [26] combined the subjective experience with complexity control. This research not only discussed how the CU partition depth range relates to subjective distortion, but also additionally managed the coding complexity via restricting the range of CU partition depth. Jimenez-Moreno et al. [27] applied the parameter adjustment to the complexity management method. The research studied the relationship between the CU partition threshold and RDO iteration complexity and used a feedback mechanism to adjust the model threshold. Zhang et al. [28] estimated and controlled the complexity of CTU-level, taking advantage of the flexibility of HEVC. To control the complexity for VVC, Huang et al. [29] proposed a Time-PlanarCost model for CTU-level encoding time estimation and control.
The VVC fast coding method and HEVC complexity control algorithms need to be redesigned for VVC complexity control. The method in [29] controls the maximum depth of 64 × 64 without deciding each sub-CU’s partition. For more accurate control of CU-level partitions and coding, this paper proposes a complexity control algorithm that assigns different fast algorithms to each CU according to the texture information entropy. Our experimental results demonstrate that the coding performance is acceptable and the coding complexity can be effectively controlled by the proposed algorithm.

2. Methods

2.1. Algorithm Framework

Figure 1 illustrates the whole process of our algorithm. The algorithm mainly consists of two parts—the training algorithm and the prediction algorithm. If the current frame is used for model training and data collection, the proposed method performs normal encoding, collects SVM samples, and trains SVM models. The trained SVM CU partition models will be introduced to predict the partition direction of CUs in subsequent frames. If the current frame is a prediction frame, the method will predict the coding complexity of the current frame and use the texture information entropy at the CU-level to assign the coding complexity to each CU. Finally, the assigned coding complexity dictates different fast partitioning strategies for each CU.

2.2. Frame-Level Complexity Estimation Algorithm

This paper aims to realize the video coding complexity control on the VVC platform. In all configured encoding processes, the encoding time of a specific frame cannot be accurately obtained in advance. In order to explore the relationship between the computational complexity of each frame, this paper selects MarketPlace, BasketballDrill, and BasketballPass coded by the VVC test platform 3.0 (VVC Test Model, VTM) [30] in full intra configuration. The encoding time of each frame is counted when QP is 22, 27, 32, and 37. Table 1 shows the time taken for each sequence to encode frames 0 to 2, 9, 19, and 29. It indicates that non-adjacent frames have different computational complexities. For example, the coding time of the 9th frame and the 19th frame is quite different, so different complexity allocation strategies need to be adopted for different frames.. Since the 0th to 2nd frames have the characteristics of temporal correlation between adjacent frames, the difference in coding time is not obvious. Taking advantage of this feature, the proposed method sets 10 frames as a cycle and estimates the encoding time T o r i of the entire cycle through the encoding time of the first frame of each cycle. The expression is as follows:
T o r i = T n × 10 i f n % 10 = 0 ,
where T n represents the actual encoding time of the nth frame.
The target encoding time of other frames in the cycle will be obtained from the remaining target time and the number of remaining frames to be encoded, namely:
T j = β · T o r i T e n c o d e 10 g c o d e d ,
where T j represents the target encoding time of jth frame in a cycle, β represents the target complexity rate, β · T o r i represents the target encoding time of the entire sequence, T e n c o d e d represents the consumed encoding time, and g c o d e d represents the number of completed encoded frames.
The proposed method uses a frame-level complexity allocation strategy to retain good RD performance and more exact implementation complexity control. Normal encoding is carried out in time to prevent further deterioration of RD performance if the total of the actual time savings of the encoded frames exceeds the intended time savings of the entire sequence. Low complexity encoding will be used when the total of the actual time savings of the encoded frames is less than the desired time savings of the full sequence.
In VVC, there are six partition modes, those are QuadTree (QT) partition, Vertical Binary Tree (VB) partition, Horizontal Binary Tree (HB) partition, Vertical Ternary Tree (VT) partition, Horizontal Ternary Tree (HT) partition, and Non-Partitioning (NP). Multi-Type Tree (MT) Partitions refer to HB, VB, HT, and VT. One of the key components that contribute to VVC’s increased compression effectiveness is its flexible partitioning structure. Each frame is split into numerous CTUs with a measurement of 128 × 128 in VVC coding. The CTUs are firstly divided by QT and then divided by QTMT at each QT leaf node. The RDO search is a top-down brute force check to ascertain the ideal coding depth of CUs in each CTU. Therefore, redundant RDO searches need to be eliminated while maintaining optimal RD performance.

2.3. Frame-Level Complexity Control Algorithm

However, if only the complexity of the assignment is known, it is still impossible to encode each sequence accurately at the expected complexity. This paper proposes a 64 × 64 CU complexity control algorithm. We efficiently allocate the frame-level complexity to each CU while avoiding the unnecessary depth of the RDO process in the CU. This paper selects five sequences of different texture complexity and different resolutions and counts the proportion of each partition mode of 32 × 32 CUs under different QPs. Analyzing the data in Table 2, we can see that the proportion of non-partition modes also increases as the image texture becomes flatter with increasing QP. When the QP is the same, the sequences with relatively flat textures such as Tango2 have a better-undivided tendency than those of sequences with complex textures such as BasketballPass. It indicates that homogeneous CUs are more likely to be undivided and regions with richer textures have greater division depths. Therefore, predicting the QTMT partition depth enables the complexity to be effectively controlled. In addition, the proportion of NP is much larger than that of other partitions, indicating that selecting some of the division modes in advance can also effectively control the complexity.
Information entropy can be used to measure the orderliness of the system. In image processing, it can measure the complexity of regions. The entropy corresponding to the image increases with the complexity of the image texture. Conversely, a simple image has less information and it has less entropy [31]. Therefore, this paper uses the texture entropy of the ith CU ( ω ( k , i ) ) in kth frame as the complexity weight, calculated by:
ω ( k , i ) = i = 1 w j = 1 h d ( i , j ) log ( d ( i , j ) ) ,
where the width and height of the corresponding CU are denoted as w and h , and the probability distribution of the pixel value at ( i , j ) is denoted by d ( i , j ) .
Then, the estimated coding time of the ith CU of the kth frame is T ( k , i ) , namely:
T ( k , i ) = T k × ω ( k , i ) ω ( k , m ) ,
where ω ( k , m ) is the sum of all uncoded 64 × 64 CU complexity assignment weights in the kth frame. Then, the proposed method obtains the control threshold of ith 64 × 64 in the kth frame ( φ ( k , i ) ), by:
φ ( k , i ) = 10 m · T ( k , i ) / T o r i ,
where m is the number of all 64 × 64 CUs in the kth frame.
In our algorithm, the partition direction of the CU is predicted by the SVM model. The Haar wavelet transform coefficients, texture entropy, and image energy are introduced [32]. There, the Haar wavelet transform coefficients can represent texture direction information. The image energy (ENG) can measure the uniformity of the pixel. The ENG is expressed as:
E N G = i = 1 w j = 1 h d ( i , j ) 2 .
Besides, the SVM prediction algorithm uses online training. The training cycle is 10 frames. The training frame is placed on the first frame, and prediction frames are placed on the rest frames in one cycle. To effectively control encoding performance and time, the minimum number of partitions should be kept while preserving the optimal mode as much as possible. In this paper, statistical experiments are carried out on the performance of each fast SVM model. The training size and prediction size of CU are set to 64 × 64, 32 × 32, 32 × 16, 16 × 32, 16 × 16, 16 × 8, 8 × 16 and 8 × 8 pixels. However, in the actual test process, if the prediction model for 64 × 64 CU is introduced, the coding performance will decrease and the bitrate will increase a lot. The time spent training the 8 × 8 CU model exceeds the time it can save, so the six SVM models are finally retained. In this paper, the classifiers of six sizes are defined as S 32 × 32 , S 16 × 16 , S 32 × 16 , S 16 × 32 , S 8 × 16 , and S 16 × 8 .
In this paper, SVM models of different CU sizes are combined while the encoding performance of different combinations is tested and compared. The time saving rate is used to measure the complexity reduction performance calculated by the ratio of the encoding time obtained using the pattern to the encoding time of the original platform. Finally, four classifier combinations are retained named Patterns 1, 2, 3, and 4. Specifically, Patterns 1 to 4 are S 32 × 16 , S 16 × 32 , S 32 × 32 , S 8 × 16 , S 16 × 8 , S 32 × 32 , S 16 × 16 , and S 32 × 32 , S 32 × 16 , S 16 × 32 , S 16 × 16 , S 8 × 16 , S 16 × 8 , respectively. In Figure 2, the time saving ratio of four patterns is shown in turn from left to right. Each pattern is tested with three sequences. The three bars are MarketPlace in blue, BasketballDrill in red, and BasketballPass in green. The classifiers with the best time saving ratio performance are the two classifiers for rectangular CUs, S 32 × 32 and S 16 × 16 , which are better than the classifiers for non-rectangular CUs. S 32 × 32 and S 16 × 16 can control encoding time between 65% and 75%. Therefore, this combination is used when φ ( k , i ) is ∈ [0.65, 0.75). Combinations of non-rectangular CU classifiers will become applicable when the desired control rate decreases. During testing, the performance of classifiers for large-size CUs is better than that for small-size CUs, such as the combination of S 32 × 16 and S 16 × 32 , which can save up more encoding time than the combination of S 8 × 16 and S 16 × 8 . The time saving ratio of S 32 × 16 and S 16 × 32 is nearly 20% while that of S 16 × 8 and S 8 × 16 is relatively small. Therefore, Pattern 2 is used when φ ( k , i ) is ∈ [0.85, ). For the pattern with φ ( k , i ) ∈ [0.75, 0.85), during the algorithm design phase, two classifier combinations are obtained by compromising the above two patterns, namely S 32 × 32 , S 8 × 16 , S 16 × 8 and S 16 × 16 , S 32 × 16 , S 16 × 32 . After testing, S 32 × 32 , S 8 × 16 , S 16 × 8 is set as Pattern 3 because it can achieve a 20% to 30% time saving ratio rather than 25% to 30% with the other combination, which is more in line with the expected control rate. When the six classifiers are fully on, this represents the time-saving boundary of our algorithm. Furthermore, the time saving ratio can reach 50%. Therefore, using all classifiers is set as Pattern 4 with φ ( k , i ) ∈ [0, 0.65]. Finally, the overall mapping relationship between φ ( k , i ) and Patterns is listed in Table 3.

3. Results

The method is practiced on the VVC test platform V TM3.0, using the all intra configuration. The test platform is 64G memory, Intel Core i9-10900XCPU 3.70 GHz with a 64-bit operating system. Bjntegaard Delta Bitrate (BDBR) [33] is used to evaluate the RD performance. T S is used to measure the actual time saving, calculated by:
T S = T O r i g i n a l T P r o p o s e d T O r i g i n a l × 100 % ,
where T O r i g i n a l denotes the encoding time of the original VVC method, and T P r o p o s e d represents the actual encoding time of the proposed algorithm after setting the control precision. The control accuracy of the proposed algorithm is measured by the mean control error (MCE):
M C E = 1 4 i = 1 4 T S Q P i 1 β ,
where β represents the setting coding time ratio, and T S Q P i is the T S of the test sequence under ith Q P . The Q P set is {22, 27, 32, 37}.
Test and analysis are carried out for the cases where β is 90%, 80%, 70%, and 60% respectively. Besides, the performance comparison with the state-of-the-art VVC intra complexity control method is performed.
Table 4 lists the complexity control performance of our method and the comparison method under different target complexities, in which the experiment result of [29] is marked with “*”. Experiments show that the MCE of this method is small, which indicates that the time savings achieved at different QPs are not significantly different from each other. The average T S is close to β , and even slightly exceeds it. This shows that our complexity control method has a more accurate and stable performance, is reasonable in different situations, and can adapt to reserving a small part of the complexity to cope with the sudden computing power demand in some mobile terminals. Therefore, the complexity control method of ours can meet the different computational capabilities.
It can be observed that, at 90% of the expected complexity, the T S of different sequences is between 3.78% and 14.68%, with an average of 10.01%, and an MCE of 2.30. When the expected complexity is set to 80%, the T S of different sequences ranges from 9.58% to 22.14%, the average is 23.13%, and the MCE is 4.69. When the expected complexity is set to 70%, the T S of different sequences ranges from 13.95% to 38.09%, the average is 33.57%, and the MCE is 5.86. It is worth noting that a large gap with the β comes from the FoodMarket4 sequence of class A1, resulting in less than ideal coding complexity control. This is because the sequence is more inclined to be divided into large blocks.
Table 4 also provides the RD performance of the method. These results show evidence that our method is robust to different settings when the sequence is encoded with different resolutions and different QPs. When the expected complexity was 90%, the BDBR of different sequences ranged from 0.18% to 0.61%, with an average of 0.32%. When the expected complexity is 80%, the BDBR of different sequences ranges from 0.13% to 0.72%, with an average of 0.36%. When the expected complexity was 70%, the BDBR of different sequences ranged from 0.49% to 1.64%, with an average of 0.87%. The BDBR increases with the control complexity, which is acceptable since the coding complexity and the BDBR are mutually constrained.
The proposed algorithm can save more time than the algorithm in [29] with the same target complexity. The average time saving of the algorithm in this paper exceeds the target complexity, while that in [29] is smaller than the target complexity. In contrast, this indicates that our algorithm is less prone to delays in encoding. It is worth mentioning that interactivity is very important for video conferencing, and the delay caused by encoding will seriously affect real-time interactivity. In these cases, saving more time rather than saving more bitrate compared to the encoding time rate is a better solution for processing the video.

4. Conclusions

In this paper, we proposed a VVC intra complexity control algorithm with an application of texture entropy, which is able to accurately control the coding complexity under the condition of slight loss of RD performance, so that the VVC encoder can be used in different computing power and power-limited video equipment. The method firstly proposes a frame-level complexity allocation and control algorithm based on the phenomenon that the coding time ratio of adjacent frames is basically the same. Then, the proposed method uses the texture entropy and the CU decision model of SVM to adaptively control the coding complexity of the CU level. The experimental results show that the algorithm can effectively control the complexity when BDBR performs well and save more coding complexity than a state-of-the-art method, resulting in less delay. In the feature, we plan to control the inter-coding complexity on VVC with a learning method and features reflecting temporal correlation.

Author Contributions

Z.S. designed and completed the completed the algorithm and drafted the manuscript. J.L. co-designed the algorithm and polished the manuscript. Z.P. proofread the manuscript. F.C. analyzed the experimental results. M.Y. polished the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Natural Science Foundation of Chongqing under Grant No. cstc2021jcyj-msxmX0411, the Natural Science Foundation of Zhejiang Province under Grant No. LY20F010005, Science and Technology Research Program of Chongqing Municipal Education Commission under Grant No. KJZD-K202001105, and Scientific Research Foundation of Chongqing University of Technology under Grant Nos. 2020zdz029 and 2020zdz030.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, H.; Yu, L.; Li, T.; Wang, H. Fast GLCM-based Intra Block Partition for VVC. In Proceedings of the 2021 Data Compression Conference (DCC), Snowbird, UT, USA, 23–26 March 2021; p. 382. [Google Scholar]
  2. Liu, H.; Zhu, S.; Xiong, R.; Liu, G.; Zeng, B. Cross-Block Difference Guided Fast CU Partition for VVC Intra Coding. In Proceedings of the International Conference on Visual Communications and Image Processing (VCIP), Munich, Germany, 5–8 December 2021; pp. 1–5. [Google Scholar]
  3. Wu, G.; Huang, Y.; Zhu, C.; Song, L.; Zhang, W. SVM Based Fast CU Partitioning Algorithm for VVC Intra Coding. In Proceedings of the 2021 IEEE International Symposium on Circuits and Systems (ISCAS), Daegu, Korea, 22–28 May 2021; pp. 1–5. [Google Scholar]
  4. Saldanha, M.; Sanchez, G.; Marcon, C.; Agostini, L. Configurable Fast Block Partitioning for VVC Intra Coding Using Light Gradient Boosting Machine. IEEE Trans. Circuits Syst. Video Technol. 2021, 32, 3947–3960. [Google Scholar] [CrossRef]
  5. Kulupana, G.; Blasi, S. Fast Versatile Video Coding using Specialised Decision Trees. In Proceedings of the 2021 Picture Coding Symposium (PCS), Bristol, UK, 29 June–2 July 2021; pp. 1–5. [Google Scholar]
  6. Wang, Z.; Wang, S.; Zhang, J.; Wang, S.; Ma, S. Effective quadtree plus binary tree block partition decision for future video coding. In Proceedings of the 2017 Data Compression Conference (DCC), Snowbird, UT, USA, 4–7 April 2017; pp. 23–32. [Google Scholar]
  7. Amestoy, T.; Mercat, A.; Hamidouche, W.; Bergeron, C.; Menard, D. Random forest oriented fast QTBT frame partitioning. In Proceedings of the ICASSP 2019–2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brighton, UK, 12–17 May 2019; pp. 1837–1841. [Google Scholar]
  8. Fu, T.; Zhang, H.; Mu, F.; Chen, H. Fast CU partitioning algorithm for H.266/VVC intra-frame coding. In Proceedings of the 2019 IEEE International Conference on Multimedia and Expo (ICME), Shanghai, China, 8–12 July 2019; pp. 55–60. [Google Scholar]
  9. Yang, H.; Shen, L.; Dong, X.; Ding, Q.; An, P.; Jiang, G. Low complexity CTU partition structure decision and fast intra mode decision for versatile video coding. IEEE Trans. Circuits Syst. Video Technol. 2019, 30, 1668–1682. [Google Scholar] [CrossRef]
  10. Lei, M.; Luo, F.; Zhang, X.; Wang, S.; Ma, S. Look-ahead prediction based coding unit size pruning for VVC intra coding. In Proceedings of the 2019 IEEE International Conference on Image Processing (ICIP), Taipei, Taiwan, 22–25 September 2019; pp. 4120–4124. [Google Scholar]
  11. Chen, J.; Sun, H.; Katto, J.; Zeng, X.; Fan, Y. Fast QTMT partition decision algorithm in VVC intra coding based on variance and gradient. In Proceedings of the 2019 IEEE Visual Communications and Image Processing (VCIP), Sydney, Australia, 1–4 December 2019; pp. 1–4. [Google Scholar]
  12. Cui, J.; Zhang, T.; Gu, C.; Zhang, X.; Ma, S. Gradient-based early termination of CU partition in VVC intra coding. In Proceedings of the 2020 Data Compression Conference (DCC), Snowbird, UT, USA, 24–27 March 2020; pp. 103–112. [Google Scholar]
  13. He, Q.; Wu, W.; Luo, L.; Zhu, C.; Guo, H. Random Forest Based Fast CU Partition for VVC Intra Coding. In Proceedings of the 2021 IEEE International Symposium on Broadband Multimedia Systems and Broadcasting (BMSB), Chengdu, China, 4–6 August 2021; pp. 1–4. [Google Scholar]
  14. Wu, S.; Shi, J.; Chen, Z. HG-FCN: Hierarchical Grid Fully Convolutional Network for Fast VVC Intra Coding. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 5638–5649. [Google Scholar] [CrossRef]
  15. Pan, Z.; Zhang, P.; Peng, B.; Ling, N.; Lei, J. A CNN-Based Fast Inter Coding Method for VVC. IEEE Signal Process. Lett. 2021, 28, 1260–1264. [Google Scholar] [CrossRef]
  16. Li, T.; Xu, M.; Tang, R.; Chen, Y.; Xing, Q. DeepQTMT: A deep learning approach for fast QTMT-based CU partition of intra-mode VVC. IEEE Trans. Image Process. 2021, 30, 5377–5390. [Google Scholar] [CrossRef] [PubMed]
  17. Park, S.; Kang, J.W. Fast multi-type tree partitioning for versatile video coding using a lightweight neural network. IEEE Trans. Multimed. 2020, 23, 4388–4399. [Google Scholar] [CrossRef]
  18. Zhang, Q.; Guo, R.; Jiang, B.; Su, R. Fast CU Decision-Making Algorithm Based on DenseNet Network for VVC. IEEE Access 2021, 9, 119289–119297. [Google Scholar] [CrossRef]
  19. Tech, G.; Pfaff, J.; Schwarz, H.; Helle, P.; Wieckowski, A.; Marpe, D.; Wiegand, T. Fast partitioning for VVC intra-picture encoding with a CNN minimizing the rate-distortion-time cost. In Proceedings of the 2021 Data Compression Conference (DCC), Snowbird, UT, USA, 23–26 March 2021; pp. 3–12. [Google Scholar]
  20. Jin, Z.; An, P.; Shen, L.; Yanhg, C. CNN oriented fast QTBT partition algorithm for JVET intra coding. In Proceedings of the 2017 IEEE Visual Communications and Image Processing (VCIP), St. Petersburg, FL, USA, 10–13 December 2017; pp. 1–4. [Google Scholar]
  21. Wang, Z.; Wang, S.; Zhang, X.; Wang, S.; Ma, S. Fast QTBT partitioning decision for interframe coding with convolution neural network. In Proceedings of the 2018 25th IEEE International Conference on Image Processing (ICIP), Athens, Greece, 7–10 October 2018; pp. 2550–2554. [Google Scholar]
  22. Huang, C.; Peng, Z.; Xu, Y.; Chen, F.; Jiang, Q.; Zhang, Y.; Jiang, G.; Ho, Y.S. Online learning-based multi-stage complexity control for live video coding. IEEE Trans. Image Process. 2020, 30, 641–656. [Google Scholar] [CrossRef] [PubMed]
  23. Cai, Q.; Chen, Z.; Wu, D.O.; Huang, B. Real-time constant objective quality video coding strategy in high efficiency video coding. IEEE Trans. Circuits Syst. Video Technol. 2019, 30, 2215–2228. [Google Scholar] [CrossRef]
  24. Li, T.; Xu, M.; Deng, X.; Shen, L. Accelerate CTU partition to real time for HEVC encoding with complexity control. IEEE Trans. Image Process. 2020, 29, 7482–7496. [Google Scholar] [CrossRef]
  25. Huang, Y.; Song, L.; Xie, R.; Izquierdo, E.; Zhang, W. Modeling acceleration properties for flexible INTRA HEVC complexity control. IEEE Trans. Circuits Syst. Video Technol. 2021, 31, 4454–4469. [Google Scholar] [CrossRef]
  26. Deng, X.; Xu, M.; Jiang, L.; Sun, X.; Wang, Z. Subjective-driven complexity control approach for HEVC. IEEE Trans. Circuits Syst. Video Technol. 2016, 26, 91–106. [Google Scholar] [CrossRef]
  27. Jiménez-Moreno, A.; Martínez-Enríquez, E.; Díaz-de-María, F. Complexity control based on a fast coding unit decision method in the HEVC video coding standard. IEEE TMM 2016, 18, 563–575. [Google Scholar] [CrossRef]
  28. Zhang, J.; Kwong, S.; Zhao, T.; Pan, Z. CTU-level complexity control for high efficiency video coding. IEEE TMM 2018, 20, 29–44. [Google Scholar] [CrossRef]
  29. Huang, Y.; Xu, J.; Zhang, L.; Zhao, Y.; Song, L. Intra Encoding Complexity Control with a Time-Cost Model for Versatile Video Coding. arXiv 2022, arXiv:2206.05889. [Google Scholar]
  30. Joint Video Experts Team (JVET). VTM Software. 2020. Available online: https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftwareVTM/ (accessed on 23 February 2020).
  31. Zhang, M.; Lai, D.; Liu, Z.; An, C. A novel adaptive fast partition algorithm based on CU complexity analysis in HEVC. Multimed. Tools Appl. 2019, 78, 1035–1051. [Google Scholar] [CrossRef]
  32. Chen, F.; Ren, Y.; Peng, Z.; Jiang, G.; Cui, X. A fast CU size decision algorithm for VVC intra prediction based on support vector machine. Multimed. Tools Appl. 2020, 79, 27923–27939. [Google Scholar] [CrossRef]
  33. Bjontegaard, G. VCEG-M33: Calculation of average PSNR differences between RD-curves. In Proceedings of the Thirteenth Meeting of Telecommunications Standardization Sector (ITU), Austin, TX, USA, 2–4 April 2001. [Google Scholar]
Figure 1. Flow chart of complexity control algorithm based on texture information entropy.
Figure 1. Flow chart of complexity control algorithm based on texture information entropy.
Electronics 11 02572 g001
Figure 2. Classifier performance.
Figure 2. Classifier performance.
Electronics 11 02572 g002
Table 1. Statistics of the encoding time of some frames (sec).
Table 1. Statistics of the encoding time of some frames (sec).
SequenceQPPOC
01291929
MarketPlace22410.27407.26402.19417.11371.31400.38
27214.69220.28216.61237.00185.49202.13
32121.40124.78124.17148.20102.41111.67
3757.7159.4257.1666.2839.9452.50
BasketballDrill2278.1178.9878.2777.9980.6578.88
2759.5961.2760.2359.0362.0564.17
3241.8542.0943.5343.9843.3045.78
3723.9222.7924.3023.1424.2224.10
BasketballPass2224.2523.5423.9218.9420.8923.32
2717.9918.1818.1413.4015.9617.23
3212.6212.4612.459.4311.5513.88
377.827.387.805.656.779.51
Table 2. CU division result distribution (%).
Table 2. CU division result distribution (%).
SequenceQPNPQTHBVBHTVT
Tango22257.182.2122.5912.712.622.69
2771.390.9414.899.731.401.64
3276.640.6612.297.941.161.31
3781.260.499.886.500.861.01
CatRobot2253.737.9019.1812.412.654.13
2758.495.6017.3212.432.363.80
3261.433.4716.7112.572.283.54
3765.021.6215.6812.431.983.27
MarketPlace2254.014.6924.5810.723.722.29
2758.493.3023.498.764.141.81
3262.782.3021.668.133.601.53
3768.431.5218.827.102.931.20
BasketballDrill2256.6729.555.933.222.522.12
2748.9520.0814.158.324.454.05
3249.9010.7220.2011.304.003.87
3756.276.3119.6911.363.442.93
BasketballPass2244.4114.4521.048.277.484.34
2744.6912.5722.478.896.824.56
3247.1910.6923.028.576.434.10
3750.027.3322.4010.115.864.29
Table 3. Fast CU partition method.
Table 3. Fast CU partition method.
φ ( k , i ) Pattern
[0.85, ∞) S 32 × 16 , S 16 × 32
[0.75, 0.85) S 32 × 32 , S 8 × 16 , S 16 × 8
[0.65, 0.75) S 32 × 32 , S 16 × 16
[0, 0.65) S 32 × 32 , S 32 × 16 , S 16 × 32 , S 16 × 16 , S 8 × 16 , S 16 × 8
Table 4. Comparison of coding performance under different target complexity (%). (*) method of [29].
Table 4. Comparison of coding performance under different target complexity (%). (*) method of [29].
Sequence (Class) β = 90 % β = 80 % β = 70 %
Δ BR / TS Δ BR / TS Δ BR / TS
Tango2 (A1)0.37/13.830.79/20.970.84/29.09
FoodMarket4 (A1)0.23/3.780.60/9.580.64/13.95
Campfire (A1)0.31/10.860.55/23.220.63/31.59
CatRobot (A1)0.31/10.850.83/21.501.04/30.24
DaylightRoad2 (A2)0.53/10.840.97/26.551.16/35.95
ParkRunning3 (A2)0.61/14.010.38/17.940.49/25.20
MarketPlace (B)0.20/11.150.56/19.470.66/31.39
RitualDance (B)0.73/11.111.23 /24.621.46/36.62
Cactus (B)0.34/10.630.69 /26.050.88/35.64
BasketballDrive (B)0.40/14.680.80 /26.960.96/34.98
BQTerrace (B)0.18/7.790.72 /27.780.85/37.57
BasketballDrill (C)0.37/8.141.22 /23.181.64/38.26
BQMall (C)0.32/9.630.90 /26.001.01/38.09
PartyScene (C)−0.01/4.770.46 /28.360.48/39.22
RaceHorsesC (C)0.27/9.040.66 /27.430.77/37.09
BasketballPass (D)0.50/10.601.09 /19.271.07/33.88
BQSquare (D)0.00/13.420.45/ 18.860.52/35.81
Blowing Bubbles (D)0.23/7.550.74 /26.320.75/37.47
RaceHorsesD (D)0.15/7.640.66 /25.350.64/35.82
Average0.32/10.010.75/23.130.87/33.57
MCE2.304.695.86
Average *0.23/9.960.44/17.720.66/25.55
MCE *2.672.272.13
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Shu, Z.; Li, J.; Peng, Z.; Chen, F.; Yu, M. Intra Complexity Control Algorithm for VVC. Electronics 2022, 11, 2572. https://doi.org/10.3390/electronics11162572

AMA Style

Shu Z, Li J, Peng Z, Chen F, Yu M. Intra Complexity Control Algorithm for VVC. Electronics. 2022; 11(16):2572. https://doi.org/10.3390/electronics11162572

Chicago/Turabian Style

Shu, Zhengjie, Junyi Li, Zongju Peng, Fen Chen, and Mei Yu. 2022. "Intra Complexity Control Algorithm for VVC" Electronics 11, no. 16: 2572. https://doi.org/10.3390/electronics11162572

APA Style

Shu, Z., Li, J., Peng, Z., Chen, F., & Yu, M. (2022). Intra Complexity Control Algorithm for VVC. Electronics, 11(16), 2572. https://doi.org/10.3390/electronics11162572

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop