A fast VVC SCC mode decision method based on content partitioning
Through the VVC SCC fast mode decision-making method based on content division, the convolutional layer and content prediction sub-network are used to perform content classification and mode prediction of video frames, which solves the problems of high computational complexity and low coding performance in VVC SCC and achieves significant results. The encoding time is reduced and the encoding efficiency is improved.
Patent Information
- Application Number
- CN202410142922.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-02-01
AI Technical Summary
When existing video coding technology processes screen content videos, the computational complexity is high and the coding performance fails to fully utilize the characteristics of the screen content. Especially in VVC SCC, due to the uncertain association between content type and coding mode, fast mode decision-making efficiency is reduced. Low.
Design a VVC SCC fast mode decision-making method based on content division, classify video frames through convolutional layers and content prediction sub-networks, design specific mode prediction sub-networks for different types of CUs, optimize the mode decision-making process, and reduce redundancy remaining calculation.
It achieves accurate classification and pattern prediction of CU content, significantly reduces encoding time by 36%, and only loses 0.85% of BDBR, improving the effectiveness and superiority of video encoding.
Smart Images

Figure CN117915102B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of video coding, and in particular relates to a VVC SCC fast mode decision method based on content division. Background Art
[0002] With the popularization of smart devices and networks, various screen content applications have sprung up, including screen sharing, remote conferencing, online education, etc. These new applications have put forward higher requirements on traditional video coding technology. Recently, new video coding standards have incorporated screen content coding features, fully demonstrating its important position in modern video applications. Screen content is mainly generated by computers and has specific characteristics, such as repetitive patterns, large flat areas, limited color values, and no sensor noise. However, traditional H.264 / Advanced Video Coding and H.265 / High Efficiency Video Coding do not fully utilize these characteristics. In order to more efficiently process screen content videos, the Video Coding Joint Collaboration Team developed the SCC extension based on High Efficiency Video Coding. This innovative technology achieves more than 50% of typical screen content videos. Delta bit rate reduction, surpassing the previous HEVC standard.
[0003] Versatile Video Coding (VVC), based on the SCC extension of HEVC, not only introduces the Intra mode, but also adds two important coding modes: intra block copy (IBC) and palette mode (PLT). These new coding tools significantly improve the coding performance, but also increase the computational complexity. VVC also uses cutting-edge coding technologies such as quadtree + multi-type tree (QTMT). The use of these technologies undoubtedly increases the computational burden of the encoder because it requires a comprehensive mode search for coding units (CU) of different sizes. During the search process, the encoder needs to calculate the Lagrangian cost (RD cost) for each mode m to select the best coding structure and mode.
[0004] Although diverse coding tree unit (CTU) partition structures and exhaustive mode search can indeed achieve the best coding performance, they impose a huge computational burden on the encoder. In recent years, fast algorithms in the field of SCC have made significant progress, and these methods can be divided into two categories: feature-based and content-based fast algorithms. Feature-based methods rely on extracting specific attributes of the data, while content-based methods try to directly utilize the intrinsic information of the data. However, since the association between content type and coding mode is not always consistent, relying solely on content to predict candidate modes may not always achieve the best performance. Similarly, the correlation between features and coding modes may also be uncertain, so using features alone to predict candidate modes may not achieve the best performance. At the same time, most of these methods are currently designed specifically for HEVC SCC, but considering the significant difference in CU size between HEVC SCC and VVC SCC, existing methods still face some challenges in achieving the best performance on VVC SCC. Summary of the invention
[0005] In order to solve the above technical problems, the present invention proposes a VVC SCC fast mode decision method based on content division, comprising:
[0006] S1: At the beginning of each frame encoding of the VTM encoder, the luminance component of the video frame is divided into 64x64 CUs;
[0007] S2: Designing a mode decision model and training it; the mode decision model includes a convolutional layer, a content prediction subnetwork, and a mode prediction subnetwork;
[0008] S3: Input the 64x64 CU into the convolutional layer to generate a feature map, and predict the category probability of the CU through the content prediction sub-network. According to the probability value, they are classified into screen content TGM, natural content CC, animation content A, and mixed content Mixed;
[0009] S4: If the category of the CU is Mixed, the feature map of the corresponding size is re-sent to the content prediction sub-network of the corresponding size to continue predicting the content until the prediction is terminated when it is not Mixed;
[0010] S5: For CUs classified as natural content CC, directly select the Intra mode and skip the IBC and PLT modes;
[0011] S6: For CUs classified as animation content A and screen content TGM, their feature maps are further sent to the mode prediction sub-network to predict the probability of each mode. Since the best mode distributions of animation content A and natural content CC are different, the screen content TGM predictor directly predicts the probabilities of the three modes. The animation content A is divided into two sub-networks in the fully connected layer, one for Intra mode or not. If it is not Intra mode, it enters the second sub-network to predict the probability of IBC or PLT.
[0012] S7: Make an optimal mode decision based on the coding probability values of the CUs of the animation content A and the screen content TGM.
[0013] Beneficial effects of the present invention:
[0014] The present invention optimizes the complex partitioning structure of VVC by using a CNN model and a classification subnetwork based on combination to achieve content classification and pattern prediction of CU. Targeted strategies are adopted for different types of CUs. In addition, a unique pattern prediction subnetwork is designed according to the distribution of optimal patterns of different contents. Experimental results show that compared with traditional VVC SCC, the present invention reduces the encoding time by 36% on average, while only losing 0.85% of BDBR, which significantly improves the effectiveness and superiority of video encoding. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the overall structure of the mode decision model of the present invention;
[0016] Figure 2 It is a schematic diagram of the C-Net sub-network structure of the present invention;
[0017] Figure 3 It is a schematic diagram of the M-Net subnetwork structure of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] A VVC SCC fast mode decision method based on content partitioning, comprising:
[0020] S1: At the beginning of each frame encoding of the VTM encoder, the luminance component of the video frame is divided into 64x64 CUs;
[0021] S2: Designing a mode decision model and training it; the mode decision model includes a convolutional layer, a content prediction subnetwork, and a mode prediction subnetwork;
[0022] S3: Input the 64x64 CU into the convolutional layer to generate a feature map, and predict the category probability of the CU through the content prediction sub-network. According to the probability value, they are classified into screen content TGM, natural content CC, animation content A, and mixed content Mixed;
[0023] S4: If the category of the CU is Mixed, the feature map of the corresponding size is re-sent to the content prediction sub-network of the corresponding size to continue predicting the content until the prediction is terminated when it is not Mixed;
[0024] S5: For CUs classified as natural content CC, directly select the Intra mode and skip the IBC and PLT modes;
[0025] S6: For CUs classified as animation content A and screen content TGM, their feature maps are further sent to the mode prediction sub-network to predict the probability of each mode. Since the best mode distributions of animation content A and natural content CC are different, the screen content TGM predictor directly predicts the probabilities of the three modes. The animation content A is divided into two sub-networks in the fully connected layer, one for Intra mode or not. If it is not Intra mode, it enters the second sub-network to predict the probability of IBC or PLT.
[0026] S7: Make an optimal mode decision based on the coding probability values of the CUs of the animation content A and the screen content TGM.
[0027] In order to further study the fast mode decision method in VVC SCC, the mode distribution analysis of sequences in YUV 4:4:4 format was performed using the VVC reference software VTM-17. The test sequences were carefully selected by experts from the Joint Working Group on Video Coding (JCT-VC) and encoded under the All Intra (AI) configuration defined in the Common Test Conditions (CTC), using quantization parameters (QP) of 22, 27, 32, and 37. These sequences are divided into four categories according to their content: text and graphics with motion (TGM), mixed content (M), animation (A), and camera-captured content (CC). Table 1 shows the mode distribution of each type of test sequence in detail, and calculates the percentage of IBC, Intra, and PLT coding areas in each sequence. The observation results show that the TGM sequence, which is mostly screen content, has a more complex mode distribution, and various modes occupy a certain proportion. In the CC sequence composed of natural content, the Intra mode accounts for about 99%. Based on this observation, the present invention decides to first classify the content of the coding unit CU. By conducting an in-depth analysis of the pattern distribution of various test sequences, the present invention further understands the encoding characteristics of different types of content.
[0028] Table 1. Pattern distribution of different types of sequences in VVC
[0029] content Intra(%) PLT(%) IBC(%) A 89.87 2.53 7.60 CC 98.97 0.15 0.88 Mixed 50.77 15.21 34.02 TGM 33.34 26.59 40.07
[0030] In order to determine the content type of coding units (CU) of different sizes, it mainly depends on their texture features. Therefore, the method of the present invention is limited to using these texture features to predict the content type. VVC SCC adopts a unique quadtree + multi-type tree (QTMT) coding structure, which leads to the emergence of CUs of various sizes. In order to adapt to these CUs of different sizes, the present invention adopts a multi-step method to predict their content type.
[0031] like Figure 1 As shown, the mode decision model includes: 6 non-overlapping convolutional layers Conv1 to Conv6, 5 content prediction sub-networks C-Net1 to C-Net5, and 5 mode prediction sub-networks M-Net1 to M-Net5;
[0032] The convolution kernel sizes of the six non-overlapping convolution layers Conv1 to Conv6 are all 2x2, the step sizes are all 2x2, the number of convolution kernels is 16, 32, 64, 128, 256, and 512, respectively, and the receptive fields of the feature vector Feature Map output by each convolution layer are 2x2, 4x4, 8x8, 16x16, 32x32, and 64x64, respectively;
[0033] like Figure 2As shown, the content prediction subnetworks C-Net1 to C-Net4 all include 1 Flatten layer and 4 Content FC layers; wherein, C-Net1 is further provided with 3 asymmetric convolution layers AsConv1 to 3 before the Flatten layer, and the convolution kernel size and step size are both 2x1, and the number of convolution kernels is 64, 128, and 256 respectively; C-Net2 is further provided with 2 asymmetric convolution layers AsConv1 to 3 before the Flatten layer, and the convolution kernel size and step size are both 2x1, and the number of convolution kernels is 128 and 256 respectively; C-Net3 is further provided with 1 asymmetric convolution layer AsConv1 to 3 before the Flatten layer, and the convolution kernel size and step size are both 2x1, and the number of convolution kernels is 256; the convolution kernel size and step size of the asymmetric convolution layer AsConv are both 2x1; the content prediction subnetwork C-Net5 includes a Flatten layer and 3 Content FC layers;
[0034] The Flatten layer is used to flatten the output of the convolutional layer;
[0035] The Content FC layer uses the flattened features as input to predict the probability of the content. The number of nodes in the Content FC layer of the content prediction subnetworks C-Net1 to C-Net4 is 128, 64, 32, and 4, respectively. The number of nodes in the Content FC layer of the content prediction subnetwork C-Net5 is 128, 32, and 4, respectively.
[0036] The five mode prediction subnetworks M-Net1 to M-Net5 include a mode prediction network for screen content TGM and a mode prediction network for animation content A; the mode prediction network for screen content TGM and the mode prediction network for animation content A are composed of multiple convolutional layers, one Flatten layer and three fully connected layers, and are used to predict the probabilities of coding modes Intra, PLT and IBC.
[0037] The mode prediction network of the animation content A is divided into the first and second sub-networks in the fully connected layer; the first sub-network adopts the Mode FCI fully connected layer to predict the probability of the Intra mode; the second sub-network adopts the Mode FCS fully connected layer to predict the probability of the IBC or PLT mode.
[0038] The multi-layer convolutional layers of the mode prediction network of the screen content TGM and the mode prediction network of the animation content A have different structures for different CUs of the same size.
[0039] When the 64x64 luminance pixels flow through the two convolutional layers, they generate feature maps and enter the step1 stage. In this stage, the size of these feature maps is reduced to 16x16. The receptive field of the values in each feature map is a 4x4 CU. In order to avoid redundant predictions, the content type of CU with a length or width of 4 is predicted in C-Net1. Similarly, in the remaining four stages (steps 2-5), C-Net2 to C-Net5 are used to predict the content type, which corresponds to CUs with a length or width of 8, 16, 32, and 64, respectively. Each step uses the feature map output by the previous convolution operation. After the content prediction is completed, in all five stages, these predicted content types and the feature maps from the first convolutional layer are input into the corresponding mode prediction network (M-Net1 to M-Net5) to predict the possible mode.
[0040] Each C-Net subnetwork corresponds to a specific stage in the processing. At each stage, the corresponding feature map is input into the corresponding subnetwork to predict the content type of the CU. According to the ratio of width to height, the CU can be divided into four groups, and these ratios are 1, 2, 4, and 8. For CUs with a square shape, the feature map selection process is relatively simple, and no additional convolution operation is required. The corresponding feature map is directly flattened and connected to the fully connected layer. However, for CUs with non-square shapes, the present invention needs to adopt a special method for downsampling to adapt to their size. Specifically, the present invention uses a 2×1 non-square convolution kernel with a stride of 2×1, and this convolution operation is called CAsConv. In this way, the present invention can ensure accurate content type prediction for CUs of different sizes. For CUs with ratios of 2, 4, and 8, 1, 2, and 3 CAConvs are required, respectively. The kernel strides of the two dimensions are aligned with the width and height of the kernel to ensure non-overlapping convolution layers. Through a series of convolutional layers, the corresponding feature maps are flattened and connected to the fully connected layer. It is worth noting that each layer is activated by the ReLU activation function and the last layer uses the softmax function to determine the probabilities of the four content types.
[0041] In this embodiment, for example, a 32x4 network has a length-to-width ratio of 8, and the minimum length-to-width ratio is 4. Therefore, the feature map output by Conv1 has 32 channels and is flattened after three layers of CAsConv. The first layer is AsConv1, with a convolution size of 2x1, 64 convolution kernels, and a step size of s=2x1. For details of the other two layers, see Figure 2 Then input the fully connected layer (FC1-FC4), the first layer Content FC3, 128 nodes, the other 3 layers are detailed in Figure 2 , and finally output the probabilities of 4 types of content (A, CC, Mixed, TGM).
[0042] In this embodiment, when considering the mode distribution of A and TGM, it is recommended to use other features to predict candidate modes. As shown in Table 1, the proportions of the three modes in TGM are significantly different. In order to improve the accuracy of the prediction, the present invention uses a 3×3 convolution kernel with padding = 1 and stride = 1 (denoted as: MConvP). In addition, the present invention also uses a 2×2 convolution kernel with stride = 2 (denoted as: MConv), and a 5×1 and 3×1 convolution kernel with stride = 1 (denoted as: MAsConv) for extracting texture features.
[0043] In this embodiment, the three modes in TGM account for a small proportion. For a square content unit (CU) with equal length and width, the present invention uses MConvP and MConv to extract feature maps. For a non-square CU, the present invention uses all three types of convolution kernels to extract feature maps. The proportion of intra-frame modes in A is as high as 89.87%. The present invention first determines whether the Intra mode is the best choice. If so, the other two modes are skipped directly; if not, the present invention will continue to predict the candidate modes in the remaining two modes. For a square CU, the present invention only uses MConvs to extract feature maps; for a non-square CU, the present invention uses a combination of MConvs and MAsConvs to obtain feature maps. By applying a series of convolutional layers in the CU of TGM or A, the present invention flattens the feature map and uses three fully connected layers to derive the probabilities of the three modes. Each layer in the network uses the ReLU activation function, while the last layer uses the softmax activation function.
[0044] The M-Net subnetwork with size 32x16 CU is as follows Figure 3 As shown, the structure diagrams of other M-Net sub-networks are similar. Figure 3 The left side shows the 32x16 TGM mode prediction network. The 32x16 TGM mode prediction network goes through 6 layers of convolution. The first layer is AsConv1, the convolution kernel size is 5x1, the number of convolution kernels is 32, and the step size is s=1x1. The details of the other 5 layers are shown in Figure 3 Then input the fully connected layer (FC1-FC3), the first layer Mode FC1, 256 nodes, the other two layers details see Figure 3 , and finally output the probabilities of three modes (Intra, PLT, IBC). Figure 3 The right side shows the 32x16 A-mode prediction network. The 32x16 A-mode prediction network goes through 5 layers of convolution. The first layer is AsConv1, the convolution kernel size is 5x1, the number of convolution kernels is 64, and the step size is s=1x1. For details of the other 4 layers, see Figure 3 Then input 2 groups of fully connected layers (FCS1-FCS3 and FCI1-FCI3), see details Figure 3,FCS outputs the probabilities of two screen content modes (PLT, IBC), and FCI outputs the probability of Intra mode.
[0045] Training the design pattern decision model includes:
[0046] During the training process, computing resources were optimized by using a batch size of 8192. After the data was loaded, the pixel values were normalized, the Adam optimizer was selected, and the momentum values were set to 0.9 and 0.999. The learning rate was set to 0.001, and the training was performed for 300 epochs. The loss function used cross entropy.
[0047] The optimal mode decision is made based on the coding probability values of the CUs of the animation content A and the screen content TGM, including:
[0048] The CU of the screen content TGM directly sorts the probabilities, selects the probabilities of the first n modes from large to small, and calculates the probability and s of the first n modes, until the probability of the selected mode is greater than the threshold 0.8, then stops the selection and obtains the current optimal coding mode; after the CU of the animation content A completes the Intra mode, if the probability of Intra is greater than the threshold 0.9, skips IBC and PLT, otherwise, sorts the probabilities of IBC and PLT, and selects the mode from large to small, until the probability of the selected mode is greater than the threshold 0.6, then obtains the current optimal coding mode.
[0049] For content selection, a content-based network can be used to calculate the probabilities of all four content types. Subsequently, the content type with the highest probability is directly selected. Experimental results show that this content type selection has high accuracy, resulting in excellent performance. Therefore, it is not necessary to establish a threshold for content type selection; instead, the focus should be on determining the threshold for mode selection. Using the above-mentioned mode-based network for mode prediction of CUs with TGM content, the probabilities of all three coding modes can be obtained and arranged in descending order according to their respective probability values. The probabilities and s of the first n modes are calculated, including:
[0050]
[0051] Among them, s represents the sum of the probabilities of the first n patterns, and pi represents the probability of the i-th pattern.
[0052] Threshold selection: A smaller threshold will exclude more coding modes, resulting in a larger increase in BDBR, but a faster encoding speed. A delicate balance needs to be found between BDBR and speed improvement. Therefore, after comprehensive consideration, the present invention selects 0.8 as the threshold T for CUs with TGM content. For CUs with content A, it is first necessary to determine whether the Intra mode is the best mode, and then predict the candidate modes in the IBC and PLT modes. Obviously, two thresholds need to be set. The threshold for intra-frame prediction is denoted as T1, and the threshold for predicting the other two modes is denoted as T2. Experimental results show that the best performance can be obtained when T1 is set to 0.9 and T2 is set to 0.6.
[0053] The proposed algorithm was evaluated using VTM-17.0 on a powerful server equipped with an AMD Ryzen9 7950x processor, 128GB DDR5 memory, and an RTX4090 GPU. In order to ensure the fairness of the evaluation, 13 test sequences of 4 types specified in CTC were selected. The present invention uses BDBR as a standard to evaluate the coding efficiency, and the time saving is represented by ΔT. The comparative data of coding performance and speed are recorded in detail in Table 2. At the same time, considering the practical application value of the algorithm, the test results also include the inference time of the model used in the algorithm of the present invention.
[0054] Table 2. Comparison between the fast mode decision method proposed in this invention and the traditional VVC SCC
[0055]
[0056] Experimental results show that compared with the traditional VVC SCC, the present invention reduces the encoding time by 36% on average, while only losing 0.85% of BDBR. The present invention can significantly reduce the computational complexity while maintaining high encoding performance. This innovative method provides new possibilities for the development of the video coding field and provides strong support for efficient video coding in practical applications.
[0057] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A VVC SCC fast mode decision method based on content partitioning, It is characterized in that include: S1: At the beginning of each frame encoding of the VTM encoder, the luminance component of the video frame is divided into 64x64 CUs; S2: Designing a mode decision model and training it; the mode decision model includes a convolutional layer, a content prediction subnetwork, and a mode prediction subnetwork; The mode decision model includes: 6 non-overlapping convolutional layers Conv1 to Conv6, 5 content prediction sub-networks C-Net1 to C-Net5, and 5 mode prediction sub-networks M-Net1 to M-Net5; The convolution kernel sizes of the six non-overlapping convolution layers Conv1 to Conv6 are all 2x2, the step sizes are all 2x2, the number of convolution kernels is 16, 32, 64, 128, 256, and 512, respectively, and the receptive fields of the feature vector Feature Map output by each convolution layer are 2x2, 4x4, 8x8, 16x16, 32x32, and 64x64, respectively; The content prediction subnetworks C-Net1 to C-Net4 each include 1 Flatten layer and 4 Content FC layers; wherein, C-Net1 is further provided with 3 asymmetric convolution layers AsConv1 to 3 before the Flatten layer, whose convolution kernel size and step length are both 2x1, and the number of convolution kernels is 64, 128, and 256 respectively; C-Net2 is further provided with 2 asymmetric convolution layers AsConv1 to 3 before the Flatten layer, whose convolution kernel size and step length are both 2x1, and the number of convolution kernels is 128 and 256 respectively; C-Net3 is further provided with 1 asymmetric convolution layer AsConv1 to 3 before the Flatten layer, whose convolution kernel size and step length are both 2x1, and the number of convolution kernels is 256; the convolution kernel size and step length of the asymmetric convolution layer AsConv are both 2x1; the content prediction subnetwork C-Net5 includes a Flatten layer and 3 Content FC layers; The Flatten layer is used to flatten the output of the convolutional layer; The Content FC layer uses the flattened features as input to predict the probability of the content. The number of nodes in the Content FC layer of the content prediction subnetworks C-Net1 to C-Net4 is 128, 64, 32, and 4, respectively. The number of nodes in the Content FC layer of the content prediction subnetwork C-Net5 is 128, 32, and 4, respectively. The five mode prediction subnetworks M-Net1 to M-Net5 include a mode prediction network for screen content TGM and a mode prediction network for animation content A; the mode prediction network for screen content TGM and the mode prediction network for animation content A are composed of multiple convolutional layers, one Flatten layer, and three fully connected layers, and are used to predict the probabilities of coding modes Intra, PLT, and IBC; The mode prediction network of the animation content A is divided into a first sub-network and a second sub-network at the fully connected layer; the first sub-network adopts the Mode FCI fully connected layer to predict the probability of the Intra mode; the second sub-network adopts the Mode FCS fully connected layer to predict the probability of the IBC or PLT mode; S3: Input the 64x64 CU into the convolutional layer to generate a feature map, and predict the category probability of the CU through the content prediction sub-network. According to the probability value, they are classified into screen content TGM, natural content CC, animation content A, and mixed content Mixed; S4: If the category of the CU is Mixed, the feature map of the corresponding size is re-sent to the content prediction sub-network of the corresponding size to continue predicting the content until the prediction is terminated when it is not Mixed; S5: For CUs classified as natural content CC, directly select the Intra mode and skip the IBC and PLT modes; S6: For CUs classified as animation content A and screen content TGM, their feature maps are further sent to the mode prediction sub-network to predict the probability of each mode. Since the best mode distributions of animation content A and natural content CC are different, the screen content TGM predictor directly predicts the probabilities of Intra, IBC and PLT modes. The animation content A is divided into two sub-networks in the fully connected layer to distinguish whether it is Intra mode. If it is not Intra mode, it enters the second sub-network to predict the probability of IBC or PLT. S7: Make an optimal mode decision based on the coding probability values of the CUs of the animation content A and the screen content TGM.
2. According to the content-based partitioning VVC SCC fast mode decision method of claim 1, It is characterized in that The multi-layer convolutional layers of the mode prediction network of the screen content TGM and the mode prediction network of the animation content A have different structures for different CUs of the same size.
3. The VVC SCC fast mode decision method based on content partitioning according to claim 1, It is characterized in that Training the design pattern decision model includes: During the training process, computing resources were optimized by using a batch size of 8192. After the data was loaded, the pixel values were normalized, the Adam optimizer was selected, and the momentum values were set to 0.9 and 0.
999. The learning rate was set to 0.001, and the training was performed for 300 epochs. The loss function used cross entropy.
4. The method for VVC SCC fast mode decision based on content partitioning according to claim 1, It is characterized in that The optimal mode decision is made based on the coding probability values of the CUs of the animation content A and the screen content TGM, including: The CU of the screen content TGM directly sorts the probabilities, selects the probabilities of the first n modes from large to small, and calculates the probability and s of the first n modes, until the probability of the selected mode is greater than the threshold 0.8, then stops the selection and obtains the current optimal coding mode; after the CU of the animation content A completes the Intra mode, if the probability of Intra is greater than the threshold 0.9, skips IBC and PLT, otherwise, sorts the probabilities of IBC and PLT, and selects the mode from large to small, until the probability of the selected mode is greater than the threshold 0.6, then obtains the current optimal coding mode.
5. The VVC SCC fast mode decision method based on content partitioning according to claim 4, It is characterized in that Calculate the probability and s of the first n patterns, include: Among them, s represents the sum of the probabilities of the first n patterns, and pi represents the probability of the i-th pattern.
