JVET-M0247 1. Add early termination and encoder search method. 2. Only enable it for RA configuration.