Reducing Encoder Complexity of Intra-mode Decision using CU Early Termination Algorithm