**4.3 Coded fast method (CFM)**

The coded fast method (CFM) detects the best mode of a prediction unit [7]. As shown in **Figure 10**, for each PU mode belonging to a CU, the RD cost is calculated. **Class Sequences QP ΔT(%) ΔPSNR (dB) ΔBR(%)** Class A 2560 1600 PeopleOnStreet 22 25.04 0.040 0.470

*Fast Motion Estimation's Configuration Using Diamond Pattern and ECU, CFM,…*

*DOI: http://dx.doi.org/10.5772/intechopen.86792*

**Average class A 50.385 0.123 0.478** Class B 1920 1080 BQTerrace 22 29.91 0.060 1.180

**Average class B 55.926 0.059 0.504** Class C 832 480 RaceHorses 22 11.45 0.029 1.430

**Average class C 34.400 0.126 0.454** Class D 416 240 BQSquare 22 34.64 0.075 0.870

**Average class D 46.326 0.116 0.218 Average 46.759 0.106 0.416**

*Performance evaluation of the proposed algorithm compared to the original one.*

**Table 2.**

**21**

27 28.37 0.100 0.006 32 39.44 0.187 1.086 37 49.69 0.030 2.182

27 62.04 0.128 0.017 32 71.83 0.180 0.027 37 79.40 0.194 0.024

27 60.27 0.086 0.022 32 76.67 0.081 0.021 37 84.51 0.067 2.000

27 45.23 0.026 0.157 32 54.85 0.059 0.640 37 63.82 0.084 0.009

27 22.79 0.073 0.005 32 35.24 0.166 0.010 37 44.10 0.230 2.138

27 35.13 0.115 0.009 32 47.93 0.168 0.016 37 58.59 0.194 0.027

27 54.78 0.137 0.016 32 66.90 0.156 0.012 37 75.35 0.137 0.810

27 28.62 0.110 0.005 32 40.05 0.134 0.015 37 52.46 0.115 0.012

Traffic 22 47.27 0.103 0.018

BasketballDrive 22 32.15 0.015 0.004

PartyScene 22 19.90 0.040 0.002

BlowingBubbles 22 17.81 0.070 0.005

An evaluation of the different coefficients, CBF for the luminance and the two chrominances, is performed. When all transform coefficients (CBF\_Y, CBF\_U, and CBF\_V) are equal to zero [9], all remaining modes will not be tested.
