# Frame-Based and Subpicture-Based Parallelization Approaches of the HEVC Video Encoder
## 4 Results and Discussion
### Frame-Based Parallel Algorithms Analysis
The worst situation occurs  
\begin{table}
\begin{tabular}{l c c c c c c c c} \hline \hline  & \multicolumn{4}{c}{**Basketball**} & \multicolumn{4}{c}{**Traffic**} \\ \hline
**QP** & \multicolumn{4}{c}{**10 Processes**} \\ \hline  & N \(\times\) R & \(1\times 10\) & \(2\times 5\) & \(5\times 2\) & \(10\times 1\) & \(1\times 10\) & \(2\times 5\) & \(5\times 2\) & \(10\times 1\) \\ \hline
37 & 94\% & 95\% & 96\% & 95\% & 89\% & 88\% & 91\% & 92\% \\
32 & 94\% & 97\% & 98\% & 97\% & 86\% & 88\% & 90\% & 89\% \\
27 & 95\% & 98\% & 98\% & 98\% & 86\% & 88\% & 90\% & 90\% \\
22 & 94\% & 98\% & 98\% & 97\% & 88\% & 91\% & 93\% & 93\% \\ \hline \hline \multicolumn{10}{c}{**16 Processes**} \\ \hline  & N \(\times\) R & \(2\times 8\) & \(4\times 4\) & \(8\times 2\) & \(16\times 1\) & \(2\times 8\) & \(4\times 4\) & \(8\times 2\) & \(16\times 1\) \\ \hline
37 & 92\% & 93\% & 94\% & 94\% & 94\% & 84\% & 84\% & 83\% & 84\% \\
32 & 94\% & 95\% & 95\% & 94\% & 83\% & 83\% & 83\% & 83\% \\
27 & 95\% & 95\% & 95\% & 95\% & 83\% & 82\% & 83\% & 82\% \\
22 & 95\% & 95\% & 95\% & 94\% & 85\% & 85\% & 85\% & 85\% \\ \hline \hline \multicolumn{10}{c}{**20 Processes**} \\ \hline  & N \(\times\) R & \(2\times 10\) & \(4\times 5\) & \(5\times 4\) & \(10\times 2\) & \(2\times 10\) & \(4\times 5\) & \(5\times 4\) & \(10\times 2\) \\ \hline
37 & 90\% & 93\% & 89\% & 93\% & 80\% & 80\% & 80\% & 82\% \\
32 & 91\% & 94\% & 94\% & 95\% & 78\% & 80\% & 80\% & 81\% \\
27 & 92\% & 95\% & 95\% & 95\% & 79\% & 80\% & 80\% & 81\% \\
22 & 92\% & 95\% & 95\% & 95\% & 81\% & 83\% & 83\% & 83\% \\ \hline \multicolumn{10}{c}{**24 Processes**} \\ \hline  & N \(\times\) R & \(3\times 8\) & \(4\times 6\) & \(6\times 4\) & \(8\times 3\) & \(3\times 8\) & \(4\times 6\) & \(6\times 4\) & \(8\times 3\) \\ \hline
37 & 90\% & 89\% & 89\% & 92\% & 77\% & 76\% & 79\% & 77\% \\
32 & 91\% & 92\% & 92\% & 94\% & 76\% & 75\% & 78\% & 76\% \\
27 & 93\% & 95\% & 94\% & 94\% & 75\% & 75\% & 77\% & 76\% \\
22 & 93\% & 94\% & 93\% & 93\% & 78\% & 78\% & 80\% & 78\% \\ \hline \multicolumn{10}{c}{**[PERSON]&[PERSON]**} \\ \hline
**QP** & \multicolumn{4}{c}{**10 Processes**} \\ \hline  & N \(\times\) R & \(1\times 10\) & \(2\times 5\) & \(5\times 2\) & \(10\times 1\) & \(1\times 10\) & \(2\times 5\) & \(5\times 2\) & \(10\times 1\) \\ \hline
37 & 94\% & 98\% & 95\% & 95\% & 88\% & 93\% & 91\% & 90\% \\
32 & 95\% & 97\% & 97\% & 97\% & 89\% & 92\% & 92\% & 92\% \\
27 & 95\% & 97\% & 97\% & 97\% & 92\% & 95\% & 94\% & 94\% \\
22 & 96\% & 98\% & 98\% & 98\% & 93\% & 96\% & 96\% & 95\% \\ \hline \hline \multicolumn{10}{c}{**16 Processes**} \\ \hline  & N \(\times\) R & \(2\times 8\) & \(4\times 4\) & \(8\times 2\) & \(16\times 1\) & \(2\times 8\) & \(4\times 4\) & \(8\times 2\) & \(16\times 1\) \\ \hline
37 & 94\% & 95\% & 96\% & 93\% & 87\% & 88\% & 90\% & 88\% \\
32 & 95\% & 96\% & 95\% & 95\% & 89\% & 88\% & 89\% & 88\% \\
27 & 95\% & 95 when a high number of processes is used and the amount of video data to read is large (high-resolution video sequences). Table 9 shows the efficiencies obtained by the DSM-AI parallel algorithm, the results being quite similar to those obtained for the DMG-AI algorithm. In general, the DSM-AI algorithm slightly improves the results obtained by the DMG-AI algorithm, except in the case where there is a high number of OpenMP threads with respect to the number of MPI processes. In this case, the synchronization processes performed in the OpenMP parallel sections cause a slight parallel degradation.